
dataPathDetails
parameter is specified for the
GET /owners/{region_uid}/state
command.
In this example, there is only one region therefore, the command output is the same as the
“Getting the status of a specific region using curl” (page 195)
Example command
curl --noproxy
teamIp
--header "X -Auth-Token:
token
"
-ksS
--request
GET
--url
https://
teamIp
:8443/sdn/v2.0/owners/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.70",
"dataPaths":[
{
"dpid":"00:01:44:31:92:5c:af:86",
"owningControllerIp":"172.17.6.70"
}
]
},
{
"deviceIp":"192.168.1.102",
"owningControllerIp":"172.17.6.70",
"dataPaths":[
{
"dpid":"00:1e:c8:cb:b8:dd:f0:c0",
"owningControllerIp":"172.17.6.70"
}
]
},
{
"deviceIp":"192.168.1.103",
"owningControllerIp":"172.17.6.70",
"dataPaths":[
{
"dpid":"00:1e:f0:92:1c:21:af:00",
"owningControllerIp":"172.17.6.70"
}
]
},
{
"deviceIp":"192.168.1.104",
"owningControllerIp":"172.17.6.70",
"dataPaths":[
{
"dpid":"00:01:cc:3e:5f:6b:19:00",
"owningControllerIp":"172.17.6.70"
}
]
},
{
"deviceIp":"192.168.1.105",
Team configuration using curl commands
197