blob: 6f2c2f5463e3a622204d0a2d3343ca76b94aaf25 [file] [log] [blame]
weibit38c42ed2014-10-09 19:03:54 -07001{
2 "opticalSwitches": [
3 {
4 "allowed": true,
5 "latitude": 37.6,
6 "longitude": 122.3,
7 "name": "ROADM1",
8 "nodeDpid": "00:00:ff:ff:ff:ff:ff:01",
9 "params": {
10 "numRegen": 0
11 },
12 "type": "Roadm"
13 },
14
15 {
16 "allowed": true,
17 "latitude": 37.3,
18 "longitude": 121.9,
19 "name": "ROADM2",
20 "nodeDpid": "00:00:ff:ff:ff:ff:ff:02",
21 "params": {
22 "numRegen": 0
23 },
24 "type": "Roadm"
25 },
26
27 {
28 "allowed": true,
29 "latitude": 33.9,
30 "longitude": 118.4,
31 "name": "ROADM3",
32 "nodeDpid": "00:00:ff:ff:ff:ff:ff:03",
33 "params": {
34 "numRegen": 2
35 },
36 "type": "Roadm"
37 }
38 ],
39
40 "opticalLinks": [
41 {
42 "allowed": true,
43 "nodeDpid1": "00:00:ff:ff:ff:ff:ff:01",
44 "nodeDpid2": "00:00:ff:ff:ff:ff:ff:03",
45 "params": {
46 "distKms": 1000,
47 "nodeName1": "ROADM1",
48 "nodeName2": "ROADM3",
49 "numWaves": 80,
50 "port1": 10,
51 "port2": 30
52 },
53 "type": "wdmLink"
54 },
55
56 {
57 "allowed": true,
58 "nodeDpid1": "00:00:ff:ff:ff:ff:ff:03",
59 "nodeDpid2": "00:00:ff:ff:ff:ff:ff:02",
60 "params": {
61 "distKms": 2000,
62 "nodeName1": "ROADM3",
63 "nodeName2": "ROADM2",
64 "numWaves": 80,
65 "port1": 31,
66 "port2": 20
67 },
68 "type": "wdmLink"
69 },
70
71
72 {
73 "allowed": true,
74 "nodeDpid1": "00:00:ff:ff:ff:ff:00:01",
75 "nodeDpid2": "00:00:ff:ff:ff:ff:ff:01",
76 "params": {
77 "nodeName1": "ROUTER1",
78 "nodeName2": "ROADM1",
79 "bandWidth": 100000,
80 "port1": 10,
81 "port2": 11
82 },
83 "type": "pktOptLink"
84 },
85
86 {
87 "allowed": true,
88 "nodeDpid1": "00:00:ff:ff:ff:ff:00:02",
89 "nodeDpid2": "00:00:ff:ff:ff:ff:ff:02",
90 "params": {
91 "nodeName1": "ROUTER2",
92 "nodeName2": "ROADM2",
93 "bandWidth": 100000,
94 "port1": 10,
95 "port2": 21
96 },
97 "type": "pktOptLink"
98 }
99
100 ]
101}