Andreas Pantelopoulos | 90f0b10 | 2018-02-01 13:21:45 -0800 | [diff] [blame] | 1 | { |
| 2 | "ports" : { |
| 3 | "of:0000000000000001/3" : { |
| 4 | "interfaces" : [ |
| 5 | { |
| 6 | "ips" : [ "10.1.0.254/24" ], |
| 7 | "vlan-untagged": 10 |
| 8 | } |
| 9 | ] |
| 10 | }, |
| 11 | "of:0000000000000001/4" : { |
| 12 | "interfaces" : [ |
| 13 | { |
| 14 | "ips" : [ "10.1.10.254/24" ], |
| 15 | "vlan-untagged": 10 |
| 16 | } |
| 17 | ] |
| 18 | }, |
| 19 | "of:0000000000000002/6" : { |
| 20 | "interfaces" : [ |
| 21 | { |
| 22 | "ips" : [ "10.2.0.254/24" ], |
| 23 | "vlan-untagged": 10 |
| 24 | } |
| 25 | ] |
| 26 | }, |
| 27 | "of:0000000000000002/7" : { |
| 28 | "interfaces" : [ |
| 29 | { |
| 30 | "ips" : [ "10.2.30.254/24" ], |
| 31 | "vlan-untagged": 15 |
| 32 | } |
| 33 | ] |
| 34 | }, |
| 35 | "of:0000000000000002/8" : { |
| 36 | "interfaces" : [ |
| 37 | { |
| 38 | "ips" : [ "10.2.20.254/24" ], |
| 39 | "vlan-tagged": [30] |
| 40 | } |
| 41 | ] |
| 42 | }, |
| 43 | "of:0000000000000003/8" : { |
| 44 | "interfaces" : [ |
| 45 | { |
| 46 | "ips" : [ "10.2.10.254/24" ], |
| 47 | "vlan-tagged": [20] |
| 48 | } |
| 49 | ] |
| 50 | }, |
| 51 | "of:0000000000000003/9" : { |
| 52 | "interfaces" : [ |
| 53 | { |
| 54 | "ips" : [ "10.2.40.254/24" ], |
| 55 | "vlan-tagged": [40] |
| 56 | } |
| 57 | ] |
| 58 | }, |
| 59 | "of:0000000000000003/6" : { |
| 60 | "interfaces" : [ |
| 61 | { |
| 62 | "ips" : [ "10.2.30.254/24" ], |
| 63 | "vlan-untagged": 15 |
| 64 | } |
| 65 | ] |
| 66 | }, |
| 67 | "of:0000000000000003/7" : { |
| 68 | "interfaces" : [ |
| 69 | { |
| 70 | "ips" : [ "10.2.20.254/24" ], |
| 71 | "vlan-tagged": [30] |
| 72 | } |
| 73 | ] |
| 74 | }, |
| 75 | "of:0000000000000004/6" : { |
| 76 | "interfaces" : [ |
| 77 | { |
| 78 | "ips" : [ "10.3.0.254/24" ], |
| 79 | "vlan-tagged": [30] |
| 80 | } |
| 81 | ] |
| 82 | }, |
| 83 | "of:0000000000000004/7" : { |
| 84 | "interfaces" : [ |
| 85 | { |
| 86 | "ips" : [ "10.3.10.254/24" ], |
| 87 | "vlan-tagged": [40] |
| 88 | } |
| 89 | ] |
| 90 | }, |
| 91 | "of:0000000000000004/8" : { |
| 92 | "interfaces" : [ |
| 93 | { |
| 94 | "ips" : [ "10.3.30.254/24" ], |
| 95 | "vlan-tagged": [40] |
| 96 | } |
| 97 | ] |
| 98 | }, |
| 99 | "of:0000000000000005/8" : { |
| 100 | "interfaces" : [ |
| 101 | { |
| 102 | "ips" : [ "10.3.20.254/24" ], |
| 103 | "vlan-tagged": [40] |
| 104 | } |
| 105 | ] |
| 106 | }, |
| 107 | "of:0000000000000005/6" : { |
| 108 | "interfaces" : [ |
| 109 | { |
| 110 | "ips" : [ "10.3.10.254/24" ], |
| 111 | "vlan-tagged": [40] |
| 112 | } |
| 113 | ] |
| 114 | }, |
| 115 | "of:0000000000000005/7" : { |
| 116 | "interfaces" : [ |
| 117 | { |
| 118 | "ips" : [ "10.3.30.254/24" ], |
| 119 | "vlan-tagged": [40] |
| 120 | } |
| 121 | ] |
| 122 | } |
| 123 | }, |
| 124 | "hosts" : { |
| 125 | "00:aa:00:00:00:01/None" : { |
| 126 | "basic": { |
| 127 | "locations": ["of:0000000000000001/3"], |
| 128 | "ips": ["10.1.0.1"] |
| 129 | } |
| 130 | }, |
| 131 | "00:aa:00:00:01:01/None" : { |
| 132 | "basic": { |
| 133 | "locations": ["of:0000000000000001/4"], |
| 134 | "ips": ["10.1.10.1"] |
| 135 | } |
| 136 | }, |
| 137 | "00:aa:00:00:00:02/None" : { |
| 138 | "basic": { |
| 139 | "locations": ["of:0000000000000002/6"], |
| 140 | "ips": ["10.2.0.1"] |
| 141 | } |
| 142 | }, |
| 143 | "00:aa:00:00:00:03/None" : { |
| 144 | "basic": { |
| 145 | "locations": ["of:0000000000000002/7", "of:0000000000000003/6"], |
| 146 | "ips": ["10.2.30.1"] |
| 147 | } |
| 148 | }, |
| 149 | "00:aa:00:00:00:04/30" : { |
| 150 | "basic": { |
| 151 | "locations": ["of:0000000000000003/7","of:0000000000000002/8"], |
| 152 | "ips": ["10.2.20.1"] |
| 153 | } |
| 154 | }, |
| 155 | "00:aa:00:00:00:05/20" : { |
| 156 | "basic": { |
| 157 | "locations": ["of:0000000000000003/8"], |
| 158 | "ips": ["10.2.10.1"] |
| 159 | } |
| 160 | }, |
| 161 | "00:aa:00:00:01:05/40" : { |
| 162 | "basic": { |
| 163 | "locations": ["of:0000000000000003/9"], |
| 164 | "ips": ["10.2.40.1"] |
| 165 | } |
| 166 | }, |
| 167 | "00:aa:00:00:00:06/30" : { |
| 168 | "basic": { |
| 169 | "locations": ["of:0000000000000004/6"], |
| 170 | "ips": ["10.3.0.1"] |
| 171 | } |
| 172 | }, |
| 173 | "00:aa:00:00:00:07/40" : { |
| 174 | "basic": { |
| 175 | "locations": ["of:0000000000000005/6", "of:0000000000000004/7"], |
| 176 | "ips": ["10.3.10.1"] |
| 177 | } |
| 178 | }, |
| 179 | "00:aa:00:00:00:08/40" : { |
| 180 | "basic": { |
| 181 | "locations": ["of:0000000000000004/8","of:0000000000000005/7"], |
| 182 | "ips": ["10.3.30.1"] |
| 183 | } |
| 184 | }, |
| 185 | "00:aa:00:00:00:0A/40" : { |
| 186 | "basic": { |
| 187 | "locations": ["of:0000000000000005/8"], |
| 188 | "ips": ["10.3.20.1"] |
| 189 | } |
| 190 | } |
| 191 | }, |
| 192 | "devices" : { |
| 193 | "of:0000000000000001" : { |
| 194 | "segmentrouting" : { |
| 195 | "name" : "s001", |
| 196 | "ipv4NodeSid" : 1, |
| 197 | "ipv4Loopback" : "192.168.0.1", |
| 198 | "routerMac" : "00:00:00:00:00:01", |
| 199 | "isEdgeRouter" : true, |
| 200 | "adjacencySids" : [] |
| 201 | }, |
| 202 | "basic" : { |
| 203 | "driver" : "ofdpa-ovs", |
| 204 | "latitude":34, |
| 205 | "longitude":-105 |
| 206 | } |
| 207 | }, |
| 208 | "of:0000000000000002" : { |
| 209 | "segmentrouting" : { |
| 210 | "name" : "s002", |
| 211 | "ipv4NodeSid" : 2, |
| 212 | "ipv4Loopback" : "192.168.0.2", |
| 213 | "routerMac" : "00:00:00:00:00:02", |
| 214 | "isEdgeRouter" : true, |
| 215 | "pairLocalPort" : 5, |
| 216 | "pairDeviceId": "of:0000000000000003", |
| 217 | "adjacencySids" : [] |
| 218 | }, |
| 219 | "basic" : { |
| 220 | "driver" : "ofdpa-ovs", |
| 221 | "latitude":34, |
| 222 | "longitude":-95 |
| 223 | } |
| 224 | }, |
| 225 | "of:0000000000000003" : { |
| 226 | "segmentrouting" : { |
| 227 | "name" : "s003", |
| 228 | "ipv4NodeSid" : 3, |
| 229 | "ipv4Loopback" : "192.168.0.3", |
Andreas Pantelopoulos | f6ed501 | 2018-02-08 21:26:01 -0800 | [diff] [blame] | 230 | "routerMac" : "00:00:00:00:00:02", |
Andreas Pantelopoulos | 90f0b10 | 2018-02-01 13:21:45 -0800 | [diff] [blame] | 231 | "isEdgeRouter" : true, |
| 232 | "pairLocalPort" : 5, |
| 233 | "pairDeviceId": "of:0000000000000002", |
| 234 | "adjacencySids" : [] |
| 235 | }, |
| 236 | "basic" : { |
| 237 | "driver" : "ofdpa-ovs", |
| 238 | "latitude":34, |
| 239 | "longitude":-90 |
| 240 | } |
| 241 | }, |
| 242 | "of:0000000000000004" : { |
| 243 | "segmentrouting" : { |
| 244 | "name" : "s004", |
| 245 | "ipv4NodeSid" : 4, |
| 246 | "ipv4Loopback" : "192.168.0.4", |
| 247 | "routerMac" : "00:00:00:00:00:04", |
| 248 | "isEdgeRouter" : true, |
| 249 | "pairLocalPort" : 5, |
| 250 | "pairDeviceId": "of:0000000000000005", |
| 251 | "adjacencySids" : [] |
| 252 | }, |
| 253 | "basic" : { |
| 254 | "driver" : "ofdpa-ovs", |
| 255 | "latitude":34, |
| 256 | "longitude":-85 |
| 257 | } |
| 258 | }, |
| 259 | "of:0000000000000005" : { |
| 260 | "segmentrouting" : { |
| 261 | "name" : "s005", |
| 262 | "ipv4NodeSid" : 5, |
| 263 | "ipv4Loopback" : "192.168.0.5", |
Andreas Pantelopoulos | f6ed501 | 2018-02-08 21:26:01 -0800 | [diff] [blame] | 264 | "routerMac" : "00:00:00:00:00:04", |
Andreas Pantelopoulos | 90f0b10 | 2018-02-01 13:21:45 -0800 | [diff] [blame] | 265 | "isEdgeRouter" : true, |
| 266 | "pairLocalPort" : 5, |
| 267 | "pairDeviceId": "of:0000000000000004", |
| 268 | "adjacencySids" : [] |
| 269 | }, |
| 270 | "basic" : { |
| 271 | "driver" : "ofdpa-ovs", |
| 272 | "latitude":34, |
| 273 | "longitude":-80 |
| 274 | } |
| 275 | }, |
| 276 | "of:0000000000000101" : { |
| 277 | "segmentrouting" : { |
| 278 | "name" : "s101", |
| 279 | "ipv4NodeSid" : 101, |
| 280 | "ipv4Loopback" : "192.168.0.101", |
| 281 | "routerMac" : "00:00:00:00:01:01", |
| 282 | "isEdgeRouter" : false, |
| 283 | "adjacencySids" : [] |
| 284 | }, |
| 285 | "basic" : { |
| 286 | "driver" : "ofdpa-ovs", |
| 287 | "latitude":42, |
| 288 | "longitude":-100 |
| 289 | } |
| 290 | }, |
| 291 | "of:0000000000000102" : { |
| 292 | "segmentrouting" : { |
| 293 | "name" : "s102", |
| 294 | "ipv4NodeSid" : 102, |
| 295 | "ipv4Loopback" : "192.168.0.102", |
| 296 | "routerMac" : "00:00:00:00:01:02", |
| 297 | "isEdgeRouter" : false, |
| 298 | "adjacencySids" : [] |
| 299 | }, |
| 300 | "basic" : { |
| 301 | "driver" : "ofdpa-ovs", |
| 302 | "latitude":42, |
| 303 | "longitude":-95 |
| 304 | } |
| 305 | } |
| 306 | } |
| 307 | } |