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, |
weibit | aca1460 | 2014-10-24 10:26:26 -0700 | [diff] [blame] | 50 | "port1": 20, |
weibit | 38c42ed | 2014-10-09 19:03:54 -0700 | [diff] [blame] | 51 | "port2": 30 |
| 52 | }, |
| 53 | "type": "wdmLink" |
Thomas Vachuska | 0e752bd | 2014-10-22 22:33:41 -0700 | [diff] [blame] | 54 | }, |
Thomas Vachuska | 0e752bd | 2014-10-22 22:33:41 -0700 | [diff] [blame] | 55 | |
| 56 | { |
| 57 | "allowed": true, |
weibit | 38c42ed | 2014-10-09 19:03:54 -0700 | [diff] [blame] | 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, |
weibit | aca1460 | 2014-10-24 10:26:26 -0700 | [diff] [blame] | 66 | "port2": 21 |
weibit | 38c42ed | 2014-10-09 19:03:54 -0700 | [diff] [blame] | 67 | }, |
| 68 | "type": "wdmLink" |
Thomas Vachuska | 0e752bd | 2014-10-22 22:33:41 -0700 | [diff] [blame] | 69 | }, |
weibit | 38c42ed | 2014-10-09 19:03:54 -0700 | [diff] [blame] | 70 | |
Thomas Vachuska | 0e752bd | 2014-10-22 22:33:41 -0700 | [diff] [blame] | 71 | { |
weibit | 38c42ed | 2014-10-09 19:03:54 -0700 | [diff] [blame] | 72 | "allowed": true, |
| 73 | "nodeDpid1": "00:00:ff:ff:ff:ff:00:01", |
| 74 | "nodeDpid2": "00:00:ff:ff:ff:ff:ff:01", |
| 75 | "params": { |
| 76 | "nodeName1": "ROUTER1", |
| 77 | "nodeName2": "ROADM1", |
| 78 | "bandWidth": 100000, |
Praseed Balakrishnan | 546cdfc | 2014-10-29 17:19:37 -0700 | [diff] [blame] | 79 | "port1": 2, |
Thomas Vachuska | 0e752bd | 2014-10-22 22:33:41 -0700 | [diff] [blame] | 80 | "port2": 10 |
| 81 | }, |
| 82 | "type": "pktOptLink" |
| 83 | }, |
weibit | 38c42ed | 2014-10-09 19:03:54 -0700 | [diff] [blame] | 84 | |
Thomas Vachuska | 0e752bd | 2014-10-22 22:33:41 -0700 | [diff] [blame] | 85 | { |
weibit | 38c42ed | 2014-10-09 19:03:54 -0700 | [diff] [blame] | 86 | "allowed": true, |
| 87 | "nodeDpid1": "00:00:ff:ff:ff:ff:00:02", |
| 88 | "nodeDpid2": "00:00:ff:ff:ff:ff:ff:02", |
| 89 | "params": { |
| 90 | "nodeName1": "ROUTER2", |
| 91 | "nodeName2": "ROADM2", |
| 92 | "bandWidth": 100000, |
Praseed Balakrishnan | 546cdfc | 2014-10-29 17:19:37 -0700 | [diff] [blame] | 93 | "port1": 2, |
weibit | aca1460 | 2014-10-24 10:26:26 -0700 | [diff] [blame] | 94 | "port2": 11 |
weibit | 38c42ed | 2014-10-09 19:03:54 -0700 | [diff] [blame] | 95 | }, |
| 96 | "type": "pktOptLink" |
Thomas Vachuska | 18867bf | 2014-10-27 19:56:15 -0700 | [diff] [blame] | 97 | } |
weibit | 38c42ed | 2014-10-09 19:03:54 -0700 | [diff] [blame] | 98 | |
| 99 | ] |
| 100 | } |