
In this example, the master controller
172.17.6.70
fails. Although it is still in the region, it is
unavailable to the devices for which it is the configured master and is no longer the master
controller. The primary slave controller
172.17.6.71
becomes the master controller. All 5
devices
192.168.1.101–105
now belong to the failover master controller
172.17.6.71
.
Example command
curl --noproxy
teamIp
--header "X-Auth-Token:
token
"
-ksS
--request
GET
--url
https://
teamIp
:8443/sdn/v2.0/owners/
region-uid
/state?dataPathDetails=yes
Example output
{
"regions":[
{
"uid":"713def9a-4f96-485f-990c-8924bc06c8d8",
"name":"Region-Red",
"prioritizedControllerIps":[
"172.17.6.70",
"172.17.6.71",
"172.17.6.72"
],
"devices":[
{
"deviceIp":"192.168.1.101",
"owningControllerIp":"172.17.6.71",
"dataPaths":[
{
"dpid":"00:01:44:31:92:5c:af:86",
"owningControllerIp":"172.17.6.71"
}
]
},
{
"deviceIp":"192.168.1.102",
"owningControllerIp":"172.17.6.71",
"dataPaths":[
{
"dpid":"00:1e:c8:cb:b8:dd:f0:c0",
"owningControllerIp":"172.17.6.71"
}
]
},
{
"deviceIp":"192.168.1.103",
"owningControllerIp":"172.17.6.71",
"dataPaths":[
{
"dpid":"00:1e:f0:92:1c:21:af:00",
"owningControllerIp":"172.17.6.71"
}
]
},
{
"deviceIp":"192.168.1.104",
"owningControllerIp":"172.17.6.71",
"dataPaths":[
{
"dpid":"00:01:cc:3e:5f:6b:19:00",
"owningControllerIp":"172.17.6.71"
}
]
},
{
"deviceIp":"192.168.1.105",
"owningControllerIp":"172.17.6.71",
190
curl commands