User Guide
42
"subnet": [
{
"id": "77284c12-a569-4585-b244-af9b078acfe4",
"ip-prefix": "10.0.35.1/24",
"parent": "34cc1dd1-2c8c-4e61-a177-588b2d4133b4",
"virtual-router-ip": "10.0.35.1"
},
{
"id": "472ab051-554e-45be-a133-281f0a53412a",
"ip-prefix": "10.0.36.1/24",
"parent": "6e669acf-2fd9-48ea-a9b0-cd98d933a6b8",
"virtual-router-ip": "10.0.36.1"
}
]
}
]
}
}
POST http://10.160.31.238:8080/restconf/operations/endpoint:register-endpoint
{
"input": {
"endpoint-group": "1eaf9a67-a171-42a8-9282-71cf702f61dd",
"l2-context": "70aeb9ea-4ca1-4fb9-9780-22b04b84a0d6",
"l3-address": [
{
"ip-address": "10.0.35.4",
"l3-context": "f2311f52-890f-4095-8b85-485ec8b92b3c"
}
],
"mac-address": "00:00:00:00:35:04",
"ofoverlay:node-connector-id": "openflow:2:1",
"ofoverlay:node-id": "openflow:2",
"tenant": "f5c7d344-d1c7-4208-8531-2c2693657e12"
}
}
POST http://10.160.31.238:8080/restconf/operations/endpoint:register-endpoint
{
"input": {
"endpoint-group": "1eaf9a67-a171-42a8-9282-71cf702f61dd",
"l2-context": "70aeb9ea-4ca1-4fb9-9780-22b04b84a0d6",
"l3-address": [
{
"ip-address": "10.0.35.5",
"l3-context": "f2311f52-890f-4095-8b85-485ec8b92b3c"
}
],
"mac-address": "00:00:00:00:35:05",
"ofoverlay:node-connector-id": "openflow:2:2",
"ofoverlay:node-id": "openflow:2",
"tenant": "f5c7d344-d1c7-4208-8531-2c2693657e12"
}
}
POST http://10.160.31.238:8080/restconf/operations/endpoint:register-endpoint
{
"input": {
"endpoint-group": "e593f05d-96be-47ad-acd5-ba81465680d5",
"l2-context": "70aeb9ea-4ca1-4fb9-9780-22b04b84a0d6",