blob: c28cb78bbe6054bddc8d9afdee536838d2495b1b [file] [log] [blame]
Saurav Dasfa35fa62014-12-16 22:07:04 -08001{
2 "comment": " Multilayer topology description and configuration",
3 "restrictSwitches": true,
4 "restrictLinks": true,
5
6 "switchConfig":
7 [
8 { "nodeDpid": "00:01:00:01:e8:8b:93:68", "name": "SFO-ER101", "type": "Router_SR", "allowed": true,
9 "latitude": 80.80, "longitude": 90.10,
10 "params": { "routerIp": "192.168.0.1/32",
11 "routerMac": "00:01:e8:8b:93:6b",
12 "nodeSid": 101,
13 "isEdgeRouter": true,
14 "subnets": [
15 { "portNo": 25, "subnetIp": "10.200.1.1/24" },
16 { "portNo": 29, "subnetIp": "10.200.3.1/24" }
17 ]
18 }
19
20 },
21 { "nodeDpid": "00:01:00:01:e8:8b:93:9b", "name": "SFO-CR102", "type": "Router_SR", "allowed": true,
22 "latitude": 80.80, "longitude": 90.10,
23 "params": { "routerIp": "192.168.0.2/32",
24 "routerMac": "00:01:e8:8b:93:9e",
25 "nodeSid": 102,
26 "isEdgeRouter": false
27 }
28 }
29 ,
30 { "nodeDpid": "00:01:00:01:e8:8b:93:8c", "name": "SFO-CR103", "type": "Router_SR", "allowed": true,
31 "latitude": 80.80, "longitude": 90.10,
32 "params": { "routerIp": "192.168.0.3/32",
33 "routerMac": "00:01:e8:8b:93:8f",
34 "nodeSid": 103,
35 "isEdgeRouter": false
36 }
37 }
38 ,
39 { "nodeDpid": "00:01:00:01:e8:8b:93:ad", "name": "DAL-CR104", "type": "Router_SR", "allowed": true,
40 "latitude": 80.80, "longitude": 90.10,
41 "params": { "routerIp": "192.168.0.4/32",
42 "routerMac": "00:01:e8:8b:93:b0",
43 "nodeSid": 104,
44 "isEdgeRouter": false
45 }
46 }
47 ,
48 { "nodeDpid": "00:01:00:01:e8:8b:93:bc", "name": "DAL-CR105", "type": "Router_SR", "allowed": true,
49 "latitude": 80.80, "longitude": 90.10,
50 "params": { "routerIp": "192.168.0.5/32",
51 "routerMac": "00:01:e8:8b:93:bf",
52 "nodeSid": 105,
53 "isEdgeRouter": false
54 }
55 }
56 ,
57 { "nodeDpid": "00:01:00:01:e8:8b:93:c2", "name": "DAL-ER106", "type": "Router_SR", "allowed": true,
58 "latitude": 80.80, "longitude": 90.10,
59 "params": { "routerIp": "192.168.0.6/32",
60 "routerMac": "00:01:e8:8b:93:c5",
61 "nodeSid": 106,
62 "isEdgeRouter": true,
63 "subnets": [
64 { "portNo": 31, "subnetIp": "10.200.2.1/24" }
65 ]
66 }
67 },
68
69 { "nodeDpid": "00:01:00:01:e8:8b:93:98", "name": "NYC-ER107", "type": "Router_SR", "allowed": true,
70 "latitude": 80.80, "longitude": 90.10,
71 "params": { "routerIp": "192.168.0.7/32",
72 "routerMac": "00:01:e8:8b:93:9b",
73 "nodeSid": 107,
74 "isEdgeRouter": true,
75 "adjacencySids": [
76 { "adjSid": 77777, "ports": [ 14 ,8 ] }
77 ],
78 "subnets": [
79 { "portNo": 3, "subnetIp": "10.200.4.1/24" }
80 ]
81 }
82 },
83
84 { "nodeDpid": "00:01:00:01:e8:8b:27:e3", "name": "NYC-CR108", "type": "Router_SR", "allowed": true,
85 "latitude": 80.80, "longitude": 90.10,
86 "params": { "routerIp": "192.168.0.8/32",
87 "routerMac": "00:01:e8:8b:27:e6",
88 "nodeSid": 108,
89 "isEdgeRouter": false
90 }
91 }
92
93 ],
94
95 "linkConfig":[
96 { "type": "pktLink", "allowed": true,
97 "nodeDpid1": "00:01:00:01:e8:8b:93:68", "nodeDpid2": "00:01:00:01:e8:8b:93:9b",
98 "params": { "port1": 4, "port2": 4 }
99 },
100
101 { "type": "pktLink", "allowed": true,
102 "nodeDpid1": "00:01:00:01:e8:8b:93:9b", "nodeDpid2": "00:01:00:01:e8:8b:93:bc",
103 "params": { "port1": 11, "port2": 4 }
104 },
105
106 { "type": "pktLink", "allowed": true,
107 "nodeDpid1": "00:01:00:01:e8:8b:93:9b", "nodeDpid2": "00:01:00:01:e8:8b:93:bc",
108 "params": { "port1": 8, "port2": 48 }
109 },
110
111 { "type": "pktLink", "allowed": true,
112 "nodeDpid1": "00:01:00:01:e8:8b:93:c2", "nodeDpid2": "00:01:00:01:e8:8b:93:bc",
113 "params": { "port1": 7, "port2": 5 }
114 },
115
116 { "type": "pktLink", "allowed": true,
117 "nodeDpid1": "00:01:00:01:e8:8b:93:8c", "nodeDpid2": "00:01:00:01:e8:8b:93:68",
118 "params": { "port1": 12, "port2": 3 }
119 },
120
121
122 { "type": "pktLink", "allowed": true,
123 "nodeDpid1": "00:01:00:01:e8:8b:93:8c", "nodeDpid2": "00:01:00:01:e8:8b:93:ad",
124 "params": { "port1": 48, "port2": 8 }
125 },
126
127 { "type": "pktLink", "allowed": true,
128 "nodeDpid1": "00:01:00:01:e8:8b:93:8c", "nodeDpid2": "00:01:00:01:e8:8b:93:ad",
129 "params": { "port1": 7, "port2": 4 }
130 },
131
132 { "type": "pktLink", "allowed": true,
133 "nodeDpid1": "00:01:00:01:e8:8b:93:ad", "nodeDpid2": "00:01:00:01:e8:8b:93:bc",
134 "params": { "port1": 10, "port2": 10 }
135 },
136
137 { "type": "pktLink", "allowed": true,
138 "nodeDpid1": "00:01:00:01:e8:8b:93:9b", "nodeDpid2": "00:01:00:01:e8:8b:93:8c",
139 "params": { "port1": 10, "port2": 4 }
140 },
141
142 { "type": "pktLink", "allowed": true,
143 "nodeDpid1": "00:01:00:01:e8:8b:93:ad", "nodeDpid2": "00:01:00:01:e8:8b:93:c2",
144 "params": { "port1": 5, "port2": 4 }
145 },
146
147
148 { "type": "pktLink", "allowed": true,
149 "nodeDpid1": "00:01:00:01:e8:8b:93:9b", "nodeDpid2": "00:01:00:01:e8:8b:27:e3",
150 "params": { "port1": 7, "port2": 5 }
151 },
152
153 { "type": "pktLink", "allowed": true,
154 "nodeDpid1": "00:01:00:01:e8:8b:93:bc", "nodeDpid2": "00:01:00:01:e8:8b:27:e3",
155 "params": { "port1": 11, "port2": 10 }
156 },
157
158 { "type": "pktLink", "allowed": true,
159 "nodeDpid1": "00:01:00:01:e8:8b:27:e3", "nodeDpid2": "00:01:00:01:e8:8b:93:98",
160 "params": { "port1": 2, "port2": 2 }
161 },
162
163 { "type": "pktLink", "allowed": true,
164 "nodeDpid1": "00:01:00:01:e8:8b:27:e3", "nodeDpid2": "00:01:00:01:e8:8b:93:98",
165 "params": { "port1": 14, "port2": 8 }
166 },
167
168 { "type": "pktLink", "allowed": true,
169 "nodeDpid1": "00:01:00:01:e8:8b:27:e3", "nodeDpid2": "00:01:00:01:e8:8b:93:98",
170 "params": { "port1": 18, "port2": 14 }
171 },
172
173 { "type": "pktLink", "allowed": true,
174 "nodeDpid1": "00:01:00:01:e8:8b:93:68", "nodeDpid2": "00:01:00:01:e8:8b:93:8c",
175 "params": { "port1": 10, "port2": 22 }
176 }
177
178
179
180
181 ]
182}