aboutsummaryrefslogtreecommitdiffstats
path: root/framework/src/onos/tools/package/config/samples
diff options
context:
space:
mode:
Diffstat (limited to 'framework/src/onos/tools/package/config/samples')
-rw-r--r--framework/src/onos/tools/package/config/samples/segmentrouting.conf78
-rw-r--r--framework/src/onos/tools/package/config/samples/segmentrouting_dell.conf93
2 files changed, 171 insertions, 0 deletions
diff --git a/framework/src/onos/tools/package/config/samples/segmentrouting.conf b/framework/src/onos/tools/package/config/samples/segmentrouting.conf
new file mode 100644
index 00000000..8df6c3d2
--- /dev/null
+++ b/framework/src/onos/tools/package/config/samples/segmentrouting.conf
@@ -0,0 +1,78 @@
+{
+ "comment": " Multilayer topology description and configuration",
+ "restrictSwitches": true,
+ "restrictLinks": true,
+
+ "switchConfig":
+ [
+ { "nodeDpid" : "of:0000000000000001", "name": "Dallas-R1", "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,
+ "adjacencySids": [
+ { "ports": [ 4, 5 ], "adjSid": 10234 },
+ { "ports": [ 6, 7 ], "adjSid": 29019 }
+ ],
+ "subnets": [
+ { "portNo": 1, "subnetIp": "10.0.1.128/24" }
+ ]
+ }
+ },
+
+ { "nodeDpid": "of:0000000000000002", "name": "Dallas-R2", "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,
+ "adjacencySids": [
+ { "ports": [ 1, 2 ], "adjSid": 12453 },
+ { "ports": [ 2, 3 ], "adjSid": 23333 },
+ { "ports": [ 3, 1 ], "adjSid": 22233 }
+ ]
+ }
+ },
+
+ { "nodeDpid": "of:0000000000000003", "name": "Dallas-R3", "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": "of:0000000000000004", "name": "Dallas-R4", "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": "of:0000000000000005", "name": "Dallas-R5", "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": "of:0000000000000006", "name": "Dallas-R6", "type": "Router_SR", "allowed": true,
+ "latitude": 80.80, "longitude": 90.10,
+ "params": { "routerIp": "192.168.0.6/32",
+ "routerMac": "00:00:07:07:07:80",
+ "nodeSid": 106,
+ "isEdgeRouter" : true,
+ "subnets": [
+ { "portNo": 1, "subnetIp": "7.7.7.128/24" }
+ ]
+ }
+ }
+
+ ]
+}
diff --git a/framework/src/onos/tools/package/config/samples/segmentrouting_dell.conf b/framework/src/onos/tools/package/config/samples/segmentrouting_dell.conf
new file mode 100644
index 00000000..be489a65
--- /dev/null
+++ b/framework/src/onos/tools/package/config/samples/segmentrouting_dell.conf
@@ -0,0 +1,93 @@
+{
+ "comment": " Multilayer topology description and configuration",
+ "restrictSwitches": true,
+ "restrictLinks": true,
+
+ "switchConfig":
+ [
+ { "nodeDpid" : "of:00010001e88b9368", "name": "Dell-R1", "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": 46, "subnetIp": "10.200.1.1/24" }
+ ]
+ }
+ },
+
+ { "nodeDpid": "of:00010001e88b939b", "name": "Dell-R2", "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" : true,
+ "subnets": [
+ { "portNo": 46, "subnetIp": "10.200.2.1/24" }
+ ]
+ }
+ },
+
+ { "nodeDpid": "of:00010001e88b938c", "name": "Dell-R3", "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" : true,
+ "subnets": [
+ { "portNo": 46, "subnetIp": "10.200.3.1/24" }
+ ]
+ }
+ },
+
+ { "nodeDpid": "of:00010001e88b93ad", "name": "Dell-R4", "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" : true,
+ "subnets": [
+ { "portNo": 46, "subnetIp": "10.200.4.1/24" }
+ ]
+ }
+ },
+
+ { "nodeDpid": "of:00010001e88b93bc", "name": "Dell-R5", "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": "of:00010001e88b93c2", "name": "Dell-R6", "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" : false
+ }
+ },
+
+ { "nodeDpid": "of:00010001e88b9398", "name": "Dell-R7", "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": false
+ }
+ },
+
+ { "nodeDpid": "of:00010001e88b27e3", "name": "Dell-R8", "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
+ }
+ }
+
+ ]
+}