weibit | 38c42ed | 2014-10-09 19:03:54 -0700 | [diff] [blame] | 1 | { |
Thomas Vachuska | 0e752bd | 2014-10-22 22:33:41 -0700 | [diff] [blame] | 2 | "opticalSwitches": [ |
weibit | 38c42ed | 2014-10-09 19:03:54 -0700 | [diff] [blame] | 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 | |
Thomas Vachuska | 0e752bd | 2014-10-22 22:33:41 -0700 | [diff] [blame] | 15 | { |
weibit | 38c42ed | 2014-10-09 19:03:54 -0700 | [diff] [blame] | 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" |
Thomas Vachuska | 0e752bd | 2014-10-22 22:33:41 -0700 | [diff] [blame] | 25 | }, |
weibit | 38c42ed | 2014-10-09 19:03:54 -0700 | [diff] [blame] | 26 | |
Thomas Vachuska | 0e752bd | 2014-10-22 22:33:41 -0700 | [diff] [blame] | 27 | { |
weibit | 38c42ed | 2014-10-09 19:03:54 -0700 | [diff] [blame] | 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" |
Thomas Vachuska | 0e752bd | 2014-10-22 22:33:41 -0700 | [diff] [blame] | 37 | } |
weibit | 38c42ed | 2014-10-09 19:03:54 -0700 | [diff] [blame] | 38 | ], |
| 39 | |
Thomas Vachuska | 0e752bd | 2014-10-22 22:33:41 -0700 | [diff] [blame] | 40 | "opticalLinks": [ |
weibit | 38c42ed | 2014-10-09 19:03:54 -0700 | [diff] [blame] | 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" |
Thomas Vachuska | 0e752bd | 2014-10-22 22:33:41 -0700 | [diff] [blame] | 54 | }, |
| 55 | { |
| 56 | "allowed": true, |
| 57 | "nodeDpid1": "00:00:ff:ff:ff:ff:ff:03", |
| 58 | "nodeDpid2": "00:00:ff:ff:ff:ff:ff:01", |
| 59 | "params": { |
| 60 | "distKms": 1000, |
| 61 | "nodeName1": "ROADM3", |
| 62 | "nodeName2": "ROADM1", |
| 63 | "numWaves": 80, |
| 64 | "port1": 30, |
| 65 | "port2": 10 |
| 66 | }, |
| 67 | "type": "wdmLink" |
| 68 | }, |
| 69 | |
| 70 | { |
| 71 | "allowed": true, |
| 72 | "nodeDpid1": "00:00:ff:ff:ff:ff:ff:02", |
| 73 | "nodeDpid2": "00:00:ff:ff:ff:ff:ff:03", |
| 74 | "params": { |
| 75 | "distKms": 2000, |
| 76 | "nodeName1": "ROADM2", |
| 77 | "nodeName2": "ROADM3", |
| 78 | "numWaves": 80, |
| 79 | "port1": 20, |
| 80 | "port2": 31 |
| 81 | }, |
| 82 | "type": "wdmLink" |
| 83 | }, |
| 84 | { |
| 85 | "allowed": true, |
weibit | 38c42ed | 2014-10-09 19:03:54 -0700 | [diff] [blame] | 86 | "nodeDpid1": "00:00:ff:ff:ff:ff:ff:03", |
| 87 | "nodeDpid2": "00:00:ff:ff:ff:ff:ff:02", |
| 88 | "params": { |
| 89 | "distKms": 2000, |
| 90 | "nodeName1": "ROADM3", |
| 91 | "nodeName2": "ROADM2", |
| 92 | "numWaves": 80, |
| 93 | "port1": 31, |
| 94 | "port2": 20 |
| 95 | }, |
| 96 | "type": "wdmLink" |
Thomas Vachuska | 0e752bd | 2014-10-22 22:33:41 -0700 | [diff] [blame] | 97 | }, |
weibit | 38c42ed | 2014-10-09 19:03:54 -0700 | [diff] [blame] | 98 | |
Thomas Vachuska | 0e752bd | 2014-10-22 22:33:41 -0700 | [diff] [blame] | 99 | { |
weibit | 38c42ed | 2014-10-09 19:03:54 -0700 | [diff] [blame] | 100 | "allowed": true, |
| 101 | "nodeDpid1": "00:00:ff:ff:ff:ff:00:01", |
| 102 | "nodeDpid2": "00:00:ff:ff:ff:ff:ff:01", |
| 103 | "params": { |
| 104 | "nodeName1": "ROUTER1", |
| 105 | "nodeName2": "ROADM1", |
| 106 | "bandWidth": 100000, |
| 107 | "port1": 10, |
| 108 | "port2": 11 |
| 109 | }, |
| 110 | "type": "pktOptLink" |
| 111 | }, |
Thomas Vachuska | 0e752bd | 2014-10-22 22:33:41 -0700 | [diff] [blame] | 112 | { |
| 113 | "allowed": true, |
| 114 | "nodeDpid1": "00:00:ff:ff:ff:ff:ff:01", |
| 115 | "nodeDpid2": "00:00:ff:ff:ff:ff:00:01", |
| 116 | "params": { |
| 117 | "nodeName1": "ROADM1", |
| 118 | "nodeName2": "ROUTER1", |
| 119 | "bandWidth": 100000, |
| 120 | "port1": 11, |
| 121 | "port2": 10 |
| 122 | }, |
| 123 | "type": "pktOptLink" |
| 124 | }, |
weibit | 38c42ed | 2014-10-09 19:03:54 -0700 | [diff] [blame] | 125 | |
Thomas Vachuska | 0e752bd | 2014-10-22 22:33:41 -0700 | [diff] [blame] | 126 | { |
weibit | 38c42ed | 2014-10-09 19:03:54 -0700 | [diff] [blame] | 127 | "allowed": true, |
| 128 | "nodeDpid1": "00:00:ff:ff:ff:ff:00:02", |
| 129 | "nodeDpid2": "00:00:ff:ff:ff:ff:ff:02", |
| 130 | "params": { |
| 131 | "nodeName1": "ROUTER2", |
| 132 | "nodeName2": "ROADM2", |
| 133 | "bandWidth": 100000, |
| 134 | "port1": 10, |
| 135 | "port2": 21 |
| 136 | }, |
| 137 | "type": "pktOptLink" |
Thomas Vachuska | 0e752bd | 2014-10-22 22:33:41 -0700 | [diff] [blame] | 138 | }, |
| 139 | { |
| 140 | "allowed": true, |
| 141 | "nodeDpid1": "00:00:ff:ff:ff:ff:ff:02", |
| 142 | "nodeDpid2": "00:00:ff:ff:ff:ff:00:02", |
| 143 | "params": { |
| 144 | "nodeName1": "ROADM2", |
| 145 | "nodeName2": "ROUTER2", |
| 146 | "bandWidth": 100000, |
| 147 | "port1": 21, |
| 148 | "port2": 10 |
| 149 | }, |
| 150 | "type": "pktOptLink" |
| 151 | } |
weibit | 38c42ed | 2014-10-09 19:03:54 -0700 | [diff] [blame] | 152 | |
| 153 | ] |
| 154 | } |