Modify the mininet script to add vlan interfaces also for BGP speaker
Modify the json files to support the vlan
diff --git a/TestON/tests/PeeringRouterTest/addresses.json b/TestON/tests/PeeringRouterTest/addresses.json
index ee83480..f800c1f 100644
--- a/TestON/tests/PeeringRouterTest/addresses.json
+++ b/TestON/tests/PeeringRouterTest/addresses.json
@@ -4,26 +4,29 @@
"dpid" : "00:00:00:00:00:00:00:01",
"port" : "1",
"ips" : ["192.168.10.101/24"],
- "mac" : "00:00:00:00:00:01"
-
+ "mac" : "00:00:00:00:00:01",
+ "vlan" : "10"
},
{
"dpid" : "00:00:00:00:00:00:00:01",
"port" : "2",
"ips" : ["192.168.20.101/24"],
- "mac" : "00:00:00:00:00:01"
+ "mac" : "00:00:00:00:00:01",
+ "vlan" : "20"
},
{
"dpid" : "00:00:00:00:00:00:00:01",
"port" : "3",
"ips" : ["192.168.30.101/24"],
- "mac" : "00:00:00:00:00:01"
+ "mac" : "00:00:00:00:00:01",
+ "vlan" : "30"
},
{
"dpid" : "00:00:00:00:00:00:00:01",
"port" : "4",
"ips" : ["192.168.60.101/24"],
- "mac" : "00:00:00:00:00:01"
+ "mac" : "00:00:00:00:00:01",
+ "vlan" : "60"
}
]