blob: db9effba14eb481ea6f54691a75b6c530c1843d1 [file] [log] [blame]
Saurav Dasfb93c252014-08-18 20:40:13 -07001{
2 "comment": " Multilayer topology description and configuration",
3 "restrictSwitches": false,
4 "restrictLinks": false,
5
6 "switchConfig":
7 [
8 { "nodeDpid": "00:00:ff:ff:ff:ff:ff:00", "name": "Dallas-R1", "type": "Router_SR", "allowed": true,
9 "latitude": 80.80, "longitude": 90.10,
10 "params": { "routerIp": "192.168.10.10/32",
11 "routerMac": "00:ba:ba:00:10:10",
12 "nodeSid": 110,
13 "adjacencySids": [
14 { "portNo": 3, "adjSid": 10234 },
15 { "portNo": 5, "adjSid": 29019 }
16 ],
17 "subnets": [
18 { "portNo": 1, "subnetIp": "10.0.1.1/24" },
19 { "portNo": 4, "subnetIp": "10.0.2.1/24" },
20 { "portNo": 5, "subnetIp": "10.0.3.1/24" }
21 ]
22 }
23 },
24
25 { "nodeDpid": "00:00:ff:ff:ff:ff:ff:01", "name": "Dallas-R2", "type": "Router_SR", "allowed": true,
26 "latitude": 80.80, "longitude": 90.10,
27 "params": { "routerIp": "192.168.10.11/32",
28 "routerMac": "00:ba:ba:00:10:11",
29 "nodeSid": 111,
30 "adjacencySids": [
31 { "portNo": 3, "adjSid": 10234 },
32 { "portNo": 5, "adjSid": 29019 }
33 ],
34 "subnets": [
35 { "portNo": 1, "subnetIp": "10.0.4.1/24" },
36 { "portNo": 4, "subnetIp": "10.0.5.1/24" },
37 { "portNo": 5, "subnetIp": "10.0.6.1/24" }
38 ]
39 }
40 },
41
42 { "nodeDpid": "00:00:ff:ff:ff:ff:ff:02", "name": "Dallas-W1", "type": "Roadm", "allowed": true,
43 "latitude": 80.80, "longitude": 90.10,
44 "params": { "numRegen": 2 }
45 },
46
47 { "nodeDpid": "00:00:ff:ff:ff:ff:ff:03", "name": "NYC-W10", "type": "Roadm", "allowed": true,
48 "latitude": 80.80, "longitude": 90.10,
49 "params": { "numRegen": 3 }
50 },
51
52 { "nodeDpid": "00:00:ff:ff:ff:ff:ff:04", "name": "Dallas-S1", "type": "Switch_OF10", "allowed": true,
53 "latitude": 80.80, "longitude": 90.10
54 }
55
56
57 ],
58
59 "linkConfig":[
60 { "type": "pktLink", "allowed": true,
61 "nodeDpid1": "00:00:ff:ff:ff:ff:ff:00", "nodeDpid2": "00:00:ff:ff:ff:ff:ff:04",
62 "params": { "nodeName1": "Dallas-R1", "port1": 3,
63 "nodeName2": "Dallas-S1", "port2": 20
64 }
65 },
66
67 { "type": "pktLink", "allowed": true,
68 "nodeDpid1": "00:00:ff:ff:ff:ff:ff:00", "nodeDpid2": "00:00:ff:ff:ff:ff:ff:04",
69 "params": { "port1": 4, "port2": 3 }
70 },
71
72 { "type": "wdmLink", "allowed": true,
73 "nodeDpid1": "00:00:ff:ff:ff:ff:ff:02", "nodeDpid2": "00:00:ff:ff:ff:ff:ff:03",
74 "params": { "nodeName1": "Dallas-W1",
75 "nodeName2": "NYC-W10",
76 "distKms": 5000, "numWaves": 80
77 }
78 },
79
80 { "type": "pktOptLink", "allowed": true,
81 "nodeDpid1": "00:00:ff:ff:ff:ff:ff:00", "nodeDpid2": "00:00:ff:ff:ff:ff:ff:02",
82 "params": { "nodeName1": "Dallas-R1", "port1": 33,
83 "nodeName2": "Dallas-W1", "port2": 10
84 }
85 },
86
87 { "type": "pktLink", "allowed": true,
88 "nodeDpid1": "00:00:ff:ff:ff:ff:ff:00", "nodeDpid2": "00:00:ff:ff:ff:ff:ff:01",
89 "params": { "port1": 6, "port2": 1 }
90 }
91
92 ],
93
94 "opticalReachabilty":
95 [
96 [ "Dallas-W1", "NYC-W10" ],
97 [ "NYC-W10", "Dallas-W1" ],
98 [ "Dallas-W2", "SFO-W3" ],
99 [ "SFO-W3", "Dallas-W2" ]
100 ]
101}