User Guide
38
{
"input": {
"endpoint-group": "1eaf9a67-a171-42a8-9282-71cf702f61dd",
"l2-context": "70aeb9ea-4ca1-4fb9-9780-22b04b84a0d6",
"l3-address": [
{
"ip-address": "10.0.35.3",
"l3-context": "f2311f52-890f-4095-8b85-485ec8b92b3c"
}
],
"mac-address": "00:00:00:00:35:03",
"ofoverlay:node-connector-id": "openflow:1:2",
"ofoverlay:node-id": "openflow:1",
"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",
"l3-address": [
{
"ip-address": "10.0.36.2",
"l3-context": "f2311f52-890f-4095-8b85-485ec8b92b3c"
}
],
"mac-address": "00:00:00:00:36:02",
"ofoverlay:node-connector-id": "openflow:1:3",
"ofoverlay:node-id": "openflow:1",
"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",
"l3-address": [
{
"ip-address": "10.0.36.3",
"l3-context": "f2311f52-890f-4095-8b85-485ec8b92b3c"
}
],
"mac-address": "00:00:00:00:36:03",
"ofoverlay:node-connector-id": "openflow:1:4",
"ofoverlay:node-id": "openflow:1",
"tenant": "f5c7d344-d1c7-4208-8531-2c2693657e12"
}
}
*** Starting CLI:
mininet>
On test host 2, you’ll do the same but run instead:
CONTROLLER=10.160.31.238
sudo ./testOfOverlay.py --local s2 --controller ${CONTROLLER} --policy