Add a couple of config files used in the demo prototype
diff --git a/conf/sr-cpqd-full.conf b/conf/sr-cpqd-full.conf
new file mode 100644
index 0000000..3d4a8a6
--- /dev/null
+++ b/conf/sr-cpqd-full.conf
@@ -0,0 +1,185 @@
+{
+ "comment": " 10 router 3 city topology description and configuration",
+ "restrictSwitches": true,
+ "restrictLinks": true,
+
+ "switchConfig":
+ [
+ { "nodeDpid": "00:01", "name": "SFO-ER101", "type": "Router_SR", "allowed": true,
+ "latitude": 80.80, "longitude": 90.10,
+ "params": { "routerIp": "192.168.0.1/32",
+ "routerMac": "00:00:01:01:01:80",
+ "nodeSid": 101,
+ "isEdgeRouter" : true,
+ "subnets": [
+ { "portNo": 1, "subnetIp": "10.200.1.1/24" },
+ { "portNo": 2, "subnetIp": "10.200.3.1/24" }
+ ]
+ }
+ },
+
+ { "nodeDpid": "00:02", "name": "SFO-CR102", "type": "Router_SR", "allowed": true,
+ "latitude": 80.80, "longitude": 90.10,
+ "params": { "routerIp": "192.168.0.2/32",
+ "routerMac": "00:00:02:02:02:80",
+ "nodeSid": 102,
+ "isEdgeRouter" : false
+
+ }
+ },
+
+ { "nodeDpid": "00:03", "name": "SFO-CR103", "type": "Router_SR", "allowed": true,
+ "latitude": 80.80, "longitude": 90.10,
+ "params": { "routerIp": "192.168.0.3/32",
+ "routerMac": "00:00:03:03:03:80",
+ "nodeSid": 103,
+ "isEdgeRouter" : false
+ }
+ },
+
+ { "nodeDpid": "00:04", "name": "DAL-CR104", "type": "Router_SR", "allowed": true,
+ "latitude": 80.80, "longitude": 90.10,
+ "params": { "routerIp": "192.168.0.4/32",
+ "routerMac": "00:00:04:04:04:80",
+ "nodeSid": 104,
+ "isEdgeRouter" : false
+ }
+ },
+
+ { "nodeDpid": "00:05", "name": "DAL-CR105", "type": "Router_SR", "allowed": true,
+ "latitude": 80.80, "longitude": 90.10,
+ "params": { "routerIp": "192.168.0.5/32",
+ "routerMac": "00:00:05:05:05:80",
+ "nodeSid": 105,
+ "isEdgeRouter" : false
+ }
+ },
+
+ { "nodeDpid": "00:06", "name": "DAL-ER106", "type": "Router_SR", "allowed": true,
+ "latitude": 80.80, "longitude": 90.10,
+ "params": { "routerIp": "192.168.0.6/32",
+ "routerMac": "00:00:06:06:06:80",
+ "nodeSid": 106,
+ "isEdgeRouter" : true,
+ "subnets": [
+ { "portNo": 1, "subnetIp": "10.200.2.1/24" }
+ ]
+ }
+ },
+
+ { "nodeDpid": "00:07", "name": "NYC-ER107", "type": "Router_SR", "allowed": true,
+ "latitude": 80.80, "longitude": 90.10,
+ "params": { "routerIp": "192.168.0.7/32",
+ "routerMac": "00:00:07:07:07:80",
+ "nodeSid": 107,
+ "isEdgeRouter" : true,
+ "adjacencySids": [
+ { "adjSid": 77777, "ports": [ 2 ,3 ] }
+ ],
+ "subnets": [
+ { "portNo": 1, "subnetIp": "10.200.4.1/24" }
+ ]
+ }
+ },
+
+ { "nodeDpid": "00:08", "name": "NYC-CR108", "type": "Router_SR", "allowed": true,
+ "latitude": 80.80, "longitude": 90.10,
+ "params": { "routerIp": "192.168.0.8/32",
+ "routerMac": "00:00:08:08:08:80",
+ "nodeSid": 108,
+ "isEdgeRouter" : false,
+ "adjacencySids": [
+ { "adjSid": 88888, "ports": [ 2 ,3 ] }
+ ]
+ }
+ }
+
+
+ ],
+
+ "linkConfig":[
+
+ { "type": "pktLink", "allowed": true,
+ "nodeDpid1": "01", "nodeDpid2": "02",
+ "params": { "port1": 3, "port2": 1 }
+ },
+
+ { "type": "pktLink", "allowed": true,
+ "nodeDpid1": "01", "nodeDpid2": "03",
+ "params": { "port1": 4, "port2": 1 }
+ },
+
+ { "type": "pktLink", "allowed": true,
+ "nodeDpid1": "01", "nodeDpid2": "03",
+ "params": { "port1": 5, "port2": 4}
+ },
+
+ { "type": "pktLink", "allowed": true,
+ "nodeDpid1": "02", "nodeDpid2": "03",
+ "params": { "port1": 2, "port2": 2 }
+ },
+
+ { "type": "pktLink", "allowed": true,
+ "nodeDpid1": "02", "nodeDpid2": "05",
+ "params": { "port1": 3, "port2": 1 }
+ },
+
+ { "type": "pktLink", "allowed": true,
+ "nodeDpid1": "03", "nodeDpid2": "04",
+ "params": { "port1": 3, "port2": 1 }
+ },
+
+ { "type": "pktLink", "allowed": true,
+ "nodeDpid1": "04", "nodeDpid2": "05",
+ "params": { "port1": 2, "port2": 2 }
+ },
+
+ { "type": "pktLink", "allowed": true,
+ "nodeDpid1": "04", "nodeDpid2": "06",
+ "params": { "port1": 3, "port2": 2 }
+ },
+
+ { "type": "pktLink", "allowed": true,
+ "nodeDpid1": "05", "nodeDpid2": "06",
+ "params": { "port1": 3, "port2": 3 }
+ },
+
+ { "type": "pktLink", "allowed": true,
+ "nodeDpid1": "02", "nodeDpid2": "08",
+ "params": { "port1": 4, "port2": 2 }
+ },
+
+ { "type": "pktLink", "allowed": true,
+ "nodeDpid1": "05", "nodeDpid2": "08",
+ "params": { "port1": 4, "port2": 3 }
+ },
+
+ { "type": "pktLink", "allowed": true,
+ "nodeDpid1": "07", "nodeDpid2": "08",
+ "params": { "port1": 2, "port2": 1 }
+ },
+
+ { "type": "pktLink", "allowed": true,
+ "nodeDpid1": "07", "nodeDpid2": "08",
+ "params": { "port1": 3, "port2": 4 }
+ },
+
+ { "type": "pktLink", "allowed": true,
+ "nodeDpid1": "07", "nodeDpid2": "08",
+ "params": { "port1": 4, "port2": 5 }
+ },
+
+ { "type": "pktLink", "allowed": true,
+ "nodeDpid1": "02", "nodeDpid2": "05",
+ "params": { "port1": 5, "port2": 5 }
+ },
+
+ { "type": "pktLink", "allowed": true,
+ "nodeDpid1": "03", "nodeDpid2": "04",
+ "params": { "port1": 5, "port2": 4 }
+ }
+
+
+ ]
+
+}
diff --git a/conf/sr-dell-full.conf b/conf/sr-dell-full.conf
new file mode 100644
index 0000000..c28cb78
--- /dev/null
+++ b/conf/sr-dell-full.conf
@@ -0,0 +1,182 @@
+{
+ "comment": " Multilayer topology description and configuration",
+ "restrictSwitches": true,
+ "restrictLinks": true,
+
+ "switchConfig":
+ [
+ { "nodeDpid": "00:01:00:01:e8:8b:93:68", "name": "SFO-ER101", "type": "Router_SR", "allowed": true,
+ "latitude": 80.80, "longitude": 90.10,
+ "params": { "routerIp": "192.168.0.1/32",
+ "routerMac": "00:01:e8:8b:93:6b",
+ "nodeSid": 101,
+ "isEdgeRouter": true,
+ "subnets": [
+ { "portNo": 25, "subnetIp": "10.200.1.1/24" },
+ { "portNo": 29, "subnetIp": "10.200.3.1/24" }
+ ]
+ }
+
+ },
+ { "nodeDpid": "00:01:00:01:e8:8b:93:9b", "name": "SFO-CR102", "type": "Router_SR", "allowed": true,
+ "latitude": 80.80, "longitude": 90.10,
+ "params": { "routerIp": "192.168.0.2/32",
+ "routerMac": "00:01:e8:8b:93:9e",
+ "nodeSid": 102,
+ "isEdgeRouter": false
+ }
+ }
+ ,
+ { "nodeDpid": "00:01:00:01:e8:8b:93:8c", "name": "SFO-CR103", "type": "Router_SR", "allowed": true,
+ "latitude": 80.80, "longitude": 90.10,
+ "params": { "routerIp": "192.168.0.3/32",
+ "routerMac": "00:01:e8:8b:93:8f",
+ "nodeSid": 103,
+ "isEdgeRouter": false
+ }
+ }
+ ,
+ { "nodeDpid": "00:01:00:01:e8:8b:93:ad", "name": "DAL-CR104", "type": "Router_SR", "allowed": true,
+ "latitude": 80.80, "longitude": 90.10,
+ "params": { "routerIp": "192.168.0.4/32",
+ "routerMac": "00:01:e8:8b:93:b0",
+ "nodeSid": 104,
+ "isEdgeRouter": false
+ }
+ }
+ ,
+ { "nodeDpid": "00:01:00:01:e8:8b:93:bc", "name": "DAL-CR105", "type": "Router_SR", "allowed": true,
+ "latitude": 80.80, "longitude": 90.10,
+ "params": { "routerIp": "192.168.0.5/32",
+ "routerMac": "00:01:e8:8b:93:bf",
+ "nodeSid": 105,
+ "isEdgeRouter": false
+ }
+ }
+ ,
+ { "nodeDpid": "00:01:00:01:e8:8b:93:c2", "name": "DAL-ER106", "type": "Router_SR", "allowed": true,
+ "latitude": 80.80, "longitude": 90.10,
+ "params": { "routerIp": "192.168.0.6/32",
+ "routerMac": "00:01:e8:8b:93:c5",
+ "nodeSid": 106,
+ "isEdgeRouter": true,
+ "subnets": [
+ { "portNo": 31, "subnetIp": "10.200.2.1/24" }
+ ]
+ }
+ },
+
+ { "nodeDpid": "00:01:00:01:e8:8b:93:98", "name": "NYC-ER107", "type": "Router_SR", "allowed": true,
+ "latitude": 80.80, "longitude": 90.10,
+ "params": { "routerIp": "192.168.0.7/32",
+ "routerMac": "00:01:e8:8b:93:9b",
+ "nodeSid": 107,
+ "isEdgeRouter": true,
+ "adjacencySids": [
+ { "adjSid": 77777, "ports": [ 14 ,8 ] }
+ ],
+ "subnets": [
+ { "portNo": 3, "subnetIp": "10.200.4.1/24" }
+ ]
+ }
+ },
+
+ { "nodeDpid": "00:01:00:01:e8:8b:27:e3", "name": "NYC-CR108", "type": "Router_SR", "allowed": true,
+ "latitude": 80.80, "longitude": 90.10,
+ "params": { "routerIp": "192.168.0.8/32",
+ "routerMac": "00:01:e8:8b:27:e6",
+ "nodeSid": 108,
+ "isEdgeRouter": false
+ }
+ }
+
+ ],
+
+ "linkConfig":[
+ { "type": "pktLink", "allowed": true,
+ "nodeDpid1": "00:01:00:01:e8:8b:93:68", "nodeDpid2": "00:01:00:01:e8:8b:93:9b",
+ "params": { "port1": 4, "port2": 4 }
+ },
+
+ { "type": "pktLink", "allowed": true,
+ "nodeDpid1": "00:01:00:01:e8:8b:93:9b", "nodeDpid2": "00:01:00:01:e8:8b:93:bc",
+ "params": { "port1": 11, "port2": 4 }
+ },
+
+ { "type": "pktLink", "allowed": true,
+ "nodeDpid1": "00:01:00:01:e8:8b:93:9b", "nodeDpid2": "00:01:00:01:e8:8b:93:bc",
+ "params": { "port1": 8, "port2": 48 }
+ },
+
+ { "type": "pktLink", "allowed": true,
+ "nodeDpid1": "00:01:00:01:e8:8b:93:c2", "nodeDpid2": "00:01:00:01:e8:8b:93:bc",
+ "params": { "port1": 7, "port2": 5 }
+ },
+
+ { "type": "pktLink", "allowed": true,
+ "nodeDpid1": "00:01:00:01:e8:8b:93:8c", "nodeDpid2": "00:01:00:01:e8:8b:93:68",
+ "params": { "port1": 12, "port2": 3 }
+ },
+
+
+ { "type": "pktLink", "allowed": true,
+ "nodeDpid1": "00:01:00:01:e8:8b:93:8c", "nodeDpid2": "00:01:00:01:e8:8b:93:ad",
+ "params": { "port1": 48, "port2": 8 }
+ },
+
+ { "type": "pktLink", "allowed": true,
+ "nodeDpid1": "00:01:00:01:e8:8b:93:8c", "nodeDpid2": "00:01:00:01:e8:8b:93:ad",
+ "params": { "port1": 7, "port2": 4 }
+ },
+
+ { "type": "pktLink", "allowed": true,
+ "nodeDpid1": "00:01:00:01:e8:8b:93:ad", "nodeDpid2": "00:01:00:01:e8:8b:93:bc",
+ "params": { "port1": 10, "port2": 10 }
+ },
+
+ { "type": "pktLink", "allowed": true,
+ "nodeDpid1": "00:01:00:01:e8:8b:93:9b", "nodeDpid2": "00:01:00:01:e8:8b:93:8c",
+ "params": { "port1": 10, "port2": 4 }
+ },
+
+ { "type": "pktLink", "allowed": true,
+ "nodeDpid1": "00:01:00:01:e8:8b:93:ad", "nodeDpid2": "00:01:00:01:e8:8b:93:c2",
+ "params": { "port1": 5, "port2": 4 }
+ },
+
+
+ { "type": "pktLink", "allowed": true,
+ "nodeDpid1": "00:01:00:01:e8:8b:93:9b", "nodeDpid2": "00:01:00:01:e8:8b:27:e3",
+ "params": { "port1": 7, "port2": 5 }
+ },
+
+ { "type": "pktLink", "allowed": true,
+ "nodeDpid1": "00:01:00:01:e8:8b:93:bc", "nodeDpid2": "00:01:00:01:e8:8b:27:e3",
+ "params": { "port1": 11, "port2": 10 }
+ },
+
+ { "type": "pktLink", "allowed": true,
+ "nodeDpid1": "00:01:00:01:e8:8b:27:e3", "nodeDpid2": "00:01:00:01:e8:8b:93:98",
+ "params": { "port1": 2, "port2": 2 }
+ },
+
+ { "type": "pktLink", "allowed": true,
+ "nodeDpid1": "00:01:00:01:e8:8b:27:e3", "nodeDpid2": "00:01:00:01:e8:8b:93:98",
+ "params": { "port1": 14, "port2": 8 }
+ },
+
+ { "type": "pktLink", "allowed": true,
+ "nodeDpid1": "00:01:00:01:e8:8b:27:e3", "nodeDpid2": "00:01:00:01:e8:8b:93:98",
+ "params": { "port1": 18, "port2": 14 }
+ },
+
+ { "type": "pktLink", "allowed": true,
+ "nodeDpid1": "00:01:00:01:e8:8b:93:68", "nodeDpid2": "00:01:00:01:e8:8b:93:8c",
+ "params": { "port1": 10, "port2": 22 }
+ }
+
+
+
+
+ ]
+}