HP VAN SDN Controller Administrator Guide v3

],
\"devices\": [
{
\"ip\": \"10.250.100.20\"
},
{
\"ip\": \"10.250.100.21\"
},
{
\"ip\": \"10.250.100.22\"
}
]
}}'
7.5 Refresh a Region
In case of an inconsistency, and as a troubleshooting feature, you can initiate a re-assertion of the
configured roles in a region by using the "refresh" cURL command. This command refreshes all
devices in the region.
curl --noproxy <controller-ip> --header
"X-Auth-Token:<auth_token>" --header
"Content-Type:application/json" --fail -ksS --request POST
--url
https://<controller_ip>:8443/sdn/v2.0/regions/<region_id>/
NOTE: A refresh should be done only when the master controller in the region is up.
The following is the JSON structure for refreshing a selected OpenFlow device in a region. Using
this additional command structure limits the refresh to the specified device. This is not needed if
all devices in the region are to be refreshed:
{
"region_refresh": {
"devices": [
{
"ip": "10.250.100.20"
}
]
}
}
7.6 Delete a Region
To delete a configured region, use the following cURL command.
curl --noproxy <controller-ip> --header
"X-Auth-Token:<auth_token>" --header
"Content-Type:application/json" --fail -ksS --request DELETE
--url
https://<controller_ip>:8443/sdn/v2.0/regions/<region_id>/
92 Region Configuration