Fixing spaces
ONOS IP as HTTP POST param and updated README
Change-Id: I1fc81858cc70fff83c9501dda048ed0754e9b872
diff --git a/config-generator/network-cfg.json b/config-generator/network-cfg.json
index 0fd3906..c29a6cb 100644
--- a/config-generator/network-cfg.json
+++ b/config-generator/network-cfg.json
@@ -11,21 +11,21 @@
"adjacencySids" : []
}
},
- "of:0000000000000011" : {
+ "of:0000000000000022" : {
"segmentrouting" : {
- "name" : "device-11",
+ "name" : "device-22",
"nodeSid" : 101,
- "routerIp" : "10.6.0.6",
+ "routerIp" : "10.6.0.10",
"routerMac" : "cc:37:ab:00:00:01",
"isEdgeRouter" : true,
"adjacencySids" : []
}
},
- "of:0000000000000022" : {
+ "of:0000000000000011" : {
"segmentrouting" : {
- "name" : "device-22",
+ "name" : "device-11",
"nodeSid" : 102,
- "routerIp" : "10.6.0.10",
+ "routerIp" : "10.6.0.6",
"routerMac" : "cc:37:ab:00:00:02",
"isEdgeRouter" : true,
"adjacencySids" : []
@@ -51,10 +51,10 @@
"of:0000000000000022/31-of:0000000000000011/2": {
"basic": {}
},
- "of:0000000000000022/32-of:0000000000000012/2": {
+ "of:0000000000000021/31-of:0000000000000011/1": {
"basic": {}
},
- "of:0000000000000021/31-of:0000000000000011/1": {
+ "of:0000000000000022/32-of:0000000000000012/2": {
"basic": {}
},
"of:0000000000000012/1-of:0000000000000021/32": {
@@ -73,17 +73,17 @@
"ports": {
- "of:0000000000000022/3" : {
+ "of:0000000000000021/4" : {
"interfaces": [
{
- "ips" : [ "10.6.2.254/24" ]
+ "ips" : [ "10.6.1.254/24" ]
}
]
},
- "of:0000000000000022/4" : {
+ "of:0000000000000021/3" : {
"interfaces": [
{
- "ips" : [ "10.6.2.254/24" ]
+ "ips" : [ "10.6.1.254/24" ]
}
]
},
@@ -105,16 +105,16 @@
"hosts" : {
- "3C:FD:FE:9E:95:99/-1" : {
+ "3C:FD:FE:9E:94:28/-1" : {
"basic" : {
- "ips" : ["10.6.2.3"],
- "location" : "of:0000000000000022/3"
+ "ips" : ["10.6.1.4"],
+ "location" : "of:0000000000000021/4"
}
},
- "3C:FD:FE:9E:94:29/-1" : {
+ "3C:FD:FE:9E:95:98/-1" : {
"basic" : {
- "ips" : ["10.6.2.4"],
- "location" : "of:0000000000000022/4"
+ "ips" : ["10.6.1.2"],
+ "location" : "of:0000000000000021/3"
}
},
"3C:FD:FE:9E:98:68/-1" : {