You Wang | 0fc2170 | 2018-11-02 17:49:18 -0700 | [diff] [blame] | 1 | { |
| 2 | "ports" : { |
| 3 | "of:0000000000000205/1" : { |
| 4 | "interfaces" : [{ |
| 5 | "ips" : [ "10.0.205.254/24" ], |
| 6 | "vlan-untagged": 205 |
| 7 | }] |
| 8 | }, |
| 9 | "of:0000000000000205/2" : { |
| 10 | "interfaces" : [{ |
| 11 | "ips" : [ "10.0.205.254/24" ], |
| 12 | "vlan-untagged": 205 |
| 13 | }] |
| 14 | }, |
| 15 | "of:0000000000000206/1" : { |
| 16 | "interfaces" : [{ |
| 17 | "ips" : [ "10.0.206.254/24" ], |
| 18 | "vlan-untagged": 206 |
| 19 | }] |
| 20 | }, |
| 21 | "of:0000000000000206/2" : { |
| 22 | "interfaces" : [{ |
| 23 | "ips" : [ "10.0.206.254/24" ], |
| 24 | "vlan-untagged": 206 |
| 25 | }] |
| 26 | }, |
| 27 | "of:0000000000000203/1" : { |
| 28 | "interfaces" : [{ |
| 29 | "ips" : [ "10.0.204.254/24" ], |
| 30 | "vlan-untagged": 204 |
| 31 | }] |
| 32 | }, |
| 33 | "of:0000000000000203/2" : { |
| 34 | "interfaces" : [{ |
| 35 | "ips" : [ "10.0.204.254/24" ], |
| 36 | "vlan-untagged": 204 |
| 37 | }] |
| 38 | }, |
| 39 | "of:0000000000000203/3" : { |
| 40 | "interfaces" : [{ |
| 41 | "ips" : [ "10.0.204.254/24" ], |
| 42 | "vlan-untagged": 204 |
| 43 | }] |
| 44 | }, |
| 45 | "of:0000000000000203/4" : { |
| 46 | "interfaces" : [{ |
| 47 | "ips" : [ "10.0.204.254/24" ], |
| 48 | "vlan-untagged": 204 |
| 49 | }] |
| 50 | }, |
| 51 | "of:0000000000000203/5" : { |
| 52 | "interfaces" : [{ |
| 53 | "ips" : [ "10.0.204.254/24" ], |
| 54 | "vlan-untagged": 204 |
| 55 | }] |
| 56 | }, |
| 57 | "of:0000000000000203/6" : { |
| 58 | "interfaces" : [{ |
| 59 | "ips" : [ "10.0.204.254/24" ], |
| 60 | "vlan-untagged": 204 |
| 61 | }] |
| 62 | }, |
| 63 | "of:0000000000000203/7" : { |
| 64 | "interfaces" : [{ |
| 65 | "ips" : [ "10.0.204.254/24" ], |
| 66 | "vlan-untagged": 204 |
| 67 | }] |
| 68 | }, |
| 69 | "of:0000000000000203/8" : { |
| 70 | "interfaces" : [{ |
| 71 | "ips" : [ "10.0.204.254/24" ], |
| 72 | "vlan-untagged": 204 |
| 73 | }] |
| 74 | }, |
| 75 | "of:0000000000000203/20" : { |
| 76 | "interfaces" : [{ |
| 77 | "ips" : [ "10.0.204.254/24" ], |
| 78 | "vlan-tagged": [204] |
| 79 | }] |
| 80 | }, |
| 81 | "of:0000000000000204/1" : { |
| 82 | "interfaces" : [{ |
| 83 | "ips" : [ "10.0.204.254/24" ], |
| 84 | "vlan-untagged": 204 |
| 85 | }] |
| 86 | }, |
| 87 | "of:0000000000000204/2" : { |
| 88 | "interfaces" : [{ |
| 89 | "ips" : [ "10.0.204.254/24" ], |
| 90 | "vlan-untagged": 204 |
| 91 | }] |
| 92 | }, |
| 93 | "of:0000000000000204/3" : { |
| 94 | "interfaces" : [{ |
| 95 | "ips" : [ "10.0.204.254/24" ], |
| 96 | "vlan-untagged": 204 |
| 97 | }] |
| 98 | }, |
| 99 | "of:0000000000000204/4" : { |
| 100 | "interfaces" : [{ |
| 101 | "ips" : [ "10.0.204.254/24" ], |
| 102 | "vlan-untagged": 204 |
| 103 | }] |
| 104 | }, |
| 105 | "of:0000000000000204/5" : { |
| 106 | "interfaces" : [{ |
| 107 | "ips" : [ "10.0.204.254/24" ], |
| 108 | "vlan-untagged": 204 |
| 109 | }] |
| 110 | }, |
| 111 | "of:0000000000000204/6" : { |
| 112 | "interfaces" : [{ |
| 113 | "ips" : [ "10.0.204.254/24" ], |
| 114 | "vlan-untagged": 204 |
| 115 | }] |
| 116 | }, |
| 117 | "of:0000000000000204/7" : { |
| 118 | "interfaces" : [{ |
| 119 | "ips" : [ "10.0.204.254/24" ], |
| 120 | "vlan-untagged": 204 |
| 121 | }] |
| 122 | }, |
| 123 | "of:0000000000000204/8" : { |
| 124 | "interfaces" : [{ |
| 125 | "ips" : [ "10.0.204.254/24" ], |
| 126 | "vlan-untagged": 204 |
| 127 | }] |
| 128 | }, |
| 129 | "of:0000000000000204/20" : { |
| 130 | "interfaces" : [{ |
| 131 | "ips" : [ "10.0.204.254/24" ], |
| 132 | "vlan-tagged": [204] |
| 133 | }] |
| 134 | }, |
| 135 | "of:0000000000000201/1" : { |
| 136 | "interfaces" : [{ |
| 137 | "ips" : [ "10.0.202.254/24" ], |
| 138 | "vlan-untagged": 202 |
| 139 | }] |
| 140 | }, |
| 141 | "of:0000000000000201/2" : { |
| 142 | "interfaces" : [{ |
| 143 | "ips" : [ "10.0.202.254/24" ], |
| 144 | "vlan-untagged": 202 |
| 145 | }] |
| 146 | }, |
| 147 | "of:0000000000000201/3" : { |
| 148 | "interfaces" : [{ |
| 149 | "ips" : [ "10.0.202.254/24" ], |
| 150 | "vlan-untagged": 202 |
| 151 | }] |
| 152 | }, |
| 153 | "of:0000000000000201/4" : { |
| 154 | "interfaces" : [{ |
| 155 | "ips" : [ "10.0.202.254/24" ], |
| 156 | "vlan-untagged": 202 |
| 157 | }] |
| 158 | }, |
| 159 | "of:0000000000000201/5" : { |
| 160 | "interfaces" : [{ |
| 161 | "ips" : [ "10.0.202.254/24" ], |
| 162 | "vlan-untagged": 202 |
| 163 | }] |
| 164 | }, |
| 165 | "of:0000000000000201/6" : { |
| 166 | "interfaces" : [{ |
| 167 | "ips" : [ "10.0.202.254/24" ], |
| 168 | "vlan-untagged": 202 |
| 169 | }] |
| 170 | }, |
| 171 | "of:0000000000000201/7" : { |
| 172 | "interfaces" : [{ |
| 173 | "ips" : [ "10.0.202.254/24" ], |
| 174 | "vlan-untagged": 202 |
| 175 | }] |
| 176 | }, |
| 177 | "of:0000000000000201/8" : { |
| 178 | "interfaces" : [{ |
| 179 | "ips" : [ "10.0.202.254/24" ], |
| 180 | "vlan-untagged": 202 |
| 181 | }] |
| 182 | }, |
| 183 | "of:0000000000000201/17" : { |
| 184 | "interfaces" : [{ |
| 185 | "ips" : [ "10.0.101.254/24" ], |
| 186 | "vlan-untagged": 101 |
| 187 | }] |
| 188 | }, |
| 189 | "of:0000000000000201/18" : { |
| 190 | "interfaces" : [{ |
| 191 | "ips" : [ "10.0.101.254/24" ], |
| 192 | "vlan-untagged": 101 |
| 193 | }] |
| 194 | }, |
| 195 | "of:0000000000000201/20" : { |
| 196 | "interfaces" : [{ |
| 197 | "ips" : [ "10.0.202.254/24" ], |
| 198 | "vlan-tagged": [202] |
| 199 | }] |
| 200 | }, |
| 201 | "of:0000000000000202/1" : { |
| 202 | "interfaces" : [{ |
| 203 | "ips" : [ "10.0.202.254/24" ], |
| 204 | "vlan-untagged": 202 |
| 205 | }] |
| 206 | }, |
| 207 | "of:0000000000000202/2" : { |
| 208 | "interfaces" : [{ |
| 209 | "ips" : [ "10.0.202.254/24" ], |
| 210 | "vlan-untagged": 202 |
| 211 | }] |
| 212 | }, |
| 213 | "of:0000000000000202/3" : { |
| 214 | "interfaces" : [{ |
| 215 | "ips" : [ "10.0.202.254/24" ], |
| 216 | "vlan-untagged": 202 |
| 217 | }] |
| 218 | }, |
| 219 | "of:0000000000000202/4" : { |
| 220 | "interfaces" : [{ |
| 221 | "ips" : [ "10.0.202.254/24" ], |
| 222 | "vlan-untagged": 202 |
| 223 | }] |
| 224 | }, |
| 225 | "of:0000000000000202/5" : { |
| 226 | "interfaces" : [{ |
| 227 | "ips" : [ "10.0.202.254/24" ], |
| 228 | "vlan-untagged": 202 |
| 229 | }] |
| 230 | }, |
| 231 | "of:0000000000000202/6" : { |
| 232 | "interfaces" : [{ |
| 233 | "ips" : [ "10.0.202.254/24" ], |
| 234 | "vlan-untagged": 202 |
| 235 | }] |
| 236 | }, |
| 237 | "of:0000000000000202/7" : { |
| 238 | "interfaces" : [{ |
| 239 | "ips" : [ "10.0.202.254/24" ], |
| 240 | "vlan-untagged": 202 |
| 241 | }] |
| 242 | }, |
| 243 | "of:0000000000000202/8" : { |
| 244 | "interfaces" : [{ |
| 245 | "ips" : [ "10.0.202.254/24" ], |
| 246 | "vlan-untagged": 202 |
| 247 | }] |
| 248 | }, |
| 249 | "of:0000000000000202/17" : { |
| 250 | "interfaces" : [{ |
| 251 | "ips" : [ "10.0.102.254/24" ], |
| 252 | "vlan-untagged": 102 |
| 253 | }] |
| 254 | }, |
| 255 | "of:0000000000000202/18" : { |
| 256 | "interfaces" : [{ |
| 257 | "ips" : [ "10.0.102.254/24" ], |
| 258 | "vlan-untagged": 102 |
| 259 | }] |
| 260 | }, |
| 261 | "of:0000000000000202/20" : { |
| 262 | "interfaces" : [{ |
| 263 | "ips" : [ "10.0.202.254/24" ], |
| 264 | "vlan-tagged": [202] |
| 265 | }] |
| 266 | } |
| 267 | }, |
| 268 | "devices" : { |
| 269 | "of:0000000000000201" : { |
| 270 | "basic" : { |
| 271 | "name": "201-qmx", |
| 272 | "latitude" : 34, |
| 273 | "longitude": -95 |
| 274 | }, |
| 275 | "segmentrouting" : { |
| 276 | "ipv4NodeSid" : 201, |
| 277 | "ipv4Loopback" : "192.168.0.201", |
| 278 | "ipv6NodeSid" : 201, |
| 279 | "ipv6Loopback" : "2000::c0a8:0201", |
| 280 | "routerMac" : "00:00:02:01:02:02", |
| 281 | "pairDeviceId" : "of:0000000000000202", |
| 282 | "pairLocalPort" : 20, |
| 283 | "isEdgeRouter" : true, |
| 284 | "adjacencySids" : [] |
| 285 | } |
| 286 | }, |
| 287 | "of:0000000000000202" : { |
| 288 | "basic" : { |
| 289 | "name": "202-qmx", |
| 290 | "latitude" : 34, |
| 291 | "longitude": -90 |
| 292 | }, |
| 293 | "segmentrouting" : { |
| 294 | "ipv4NodeSid" : 202, |
| 295 | "ipv4Loopback" : "192.168.0.202", |
| 296 | "ipv6NodeSid" : 202, |
| 297 | "ipv6Loopback" : "2000::c0a8:0202", |
| 298 | "routerMac" : "00:00:02:01:02:02", |
| 299 | "isEdgeRouter" : true, |
| 300 | "pairDeviceId" : "of:0000000000000201", |
| 301 | "pairLocalPort" : 20, |
| 302 | "adjacencySids" : [] |
| 303 | } |
| 304 | }, |
| 305 | "of:0000000000000203" : { |
| 306 | "basic" : { |
| 307 | "name": "203-qmx", |
| 308 | "latitude" : 34, |
| 309 | "longitude": -108 |
| 310 | }, |
| 311 | "segmentrouting" : { |
| 312 | "name" : "Leaf2-R1", |
| 313 | "ipv4NodeSid" : 203, |
| 314 | "ipv4Loopback" : "192.168.0.203", |
| 315 | "ipv6NodeSid" : 203, |
| 316 | "ipv6Loopback" : "2000::c0a8:0203", |
| 317 | "routerMac" : "00:00:02:03:02:04", |
| 318 | "isEdgeRouter" : true, |
| 319 | "pairDeviceId" : "of:0000000000000204", |
| 320 | "pairLocalPort" : 20, |
| 321 | "adjacencySids" : [] |
| 322 | } |
| 323 | }, |
| 324 | "of:0000000000000204" : { |
| 325 | "basic" : { |
| 326 | "name": "204-qmx", |
| 327 | "latitude" : 34, |
| 328 | "longitude": -103 |
| 329 | }, |
| 330 | "segmentrouting" : { |
| 331 | "name" : "Leaf1-R1", |
| 332 | "ipv4NodeSid" : 204, |
| 333 | "ipv4Loopback" : "192.168.0.204", |
| 334 | "ipv6NodeSid" : 204, |
| 335 | "ipv6Loopback" : "2000::c0a8:0204", |
| 336 | "routerMac" : "00:00:02:03:02:04", |
| 337 | "pairDeviceId" : "of:0000000000000203", |
| 338 | "pairLocalPort" : 20, |
| 339 | "isEdgeRouter" : true, |
| 340 | "adjacencySids" : [] |
| 341 | } |
| 342 | }, |
| 343 | "of:0000000000000225" : { |
| 344 | "basic" : { |
| 345 | "name": "225-t2", |
| 346 | "latitude" : 42, |
| 347 | "longitude": -100 |
| 348 | }, |
| 349 | "segmentrouting" : { |
| 350 | "name" : "SpineToma-0", |
| 351 | "ipv4NodeSid" : 225, |
| 352 | "ipv4Loopback" : "192.168.0.225", |
| 353 | "ipv6NodeSid" : 225, |
| 354 | "ipv6Loopback" : "2000::c0a8:0225", |
| 355 | "routerMac" : "00:00:02:25:00:01", |
| 356 | "isEdgeRouter" : false, |
| 357 | "adjacencySids" : [] |
| 358 | } |
| 359 | }, |
| 360 | "of:0000000000000226" : { |
| 361 | "basic" : { |
| 362 | "name": "226-tmhk", |
| 363 | "latitude" : 42, |
| 364 | "longitude": -95 |
| 365 | }, |
| 366 | "segmentrouting" : { |
| 367 | "name" : "Spine1", |
| 368 | "ipv4NodeSid" : 226, |
| 369 | "ipv4Loopback" : "192.168.0.226", |
| 370 | "ipv6NodeSid" : 226, |
| 371 | "ipv6Loopback" : "2000::c0a8:0226", |
| 372 | "routerMac" : "00:00:02:26:00:01", |
| 373 | "isEdgeRouter" : false, |
| 374 | "adjacencySids" : [] |
| 375 | } |
| 376 | }, |
| 377 | "of:0000000000000205":{ |
| 378 | "basic":{ |
| 379 | "name":"205-qmx", |
| 380 | "latitude":34, |
| 381 | "longitude":-120 |
| 382 | }, |
| 383 | "segmentrouting":{ |
| 384 | "name":"Leaf1", |
| 385 | "ipv4NodeSid":205, |
| 386 | "ipv4Loopback":"192.168.0.205", |
| 387 | "ipv6NodeSid":205, |
| 388 | "ipv6Loopback":"2000::c0a8:0205", |
| 389 | "routerMac":"00:00:02:05:06:01", |
| 390 | "isEdgeRouter":true, |
| 391 | "adjacencySids":[ |
| 392 | ] |
| 393 | } |
| 394 | }, |
| 395 | "of:0000000000000206":{ |
| 396 | "basic":{ |
| 397 | "name":"206-qmx", |
| 398 | "latitude":34, |
| 399 | "longitude":-115 |
| 400 | }, |
| 401 | "segmentrouting":{ |
| 402 | "name":"Leaf2", |
| 403 | "ipv4NodeSid":206, |
| 404 | "ipv4Loopback":"192.168.0.206", |
| 405 | "ipv6NodeSid":206, |
| 406 | "ipv6Loopback":"2000::c0a8:0206", |
| 407 | "routerMac":"00:00:02:06:06:01", |
| 408 | "isEdgeRouter":true, |
| 409 | "adjacencySids":[ |
| 410 | ] |
| 411 | } |
| 412 | }, |
| 413 | "of:0000000000000227":{ |
| 414 | "basic":{ |
| 415 | "name":"227-tmhk", |
| 416 | "latitude":38, |
| 417 | "longitude":-119 |
| 418 | }, |
| 419 | "segmentrouting":{ |
| 420 | "name":"Spine1", |
| 421 | "ipv4NodeSid":227, |
| 422 | "ipv4Loopback":"192.168.0.227", |
| 423 | "ipv6NodeSid":227, |
| 424 | "ipv6Loopback":"2000::c0a8:0227", |
| 425 | "routerMac":"00:00:02:27:00:01", |
| 426 | "isEdgeRouter":false, |
| 427 | "adjacencySids":[ |
| 428 | ] |
| 429 | } |
| 430 | }, |
| 431 | "of:0000000000000228":{ |
| 432 | "basic":{ |
| 433 | "name":"228-t2", |
| 434 | "latitude":38, |
| 435 | "longitude":-116 |
| 436 | }, |
| 437 | "segmentrouting":{ |
| 438 | "name":"Spine2", |
| 439 | "ipv4NodeSid":228, |
| 440 | "ipv4Loopback":"192.168.0.228", |
| 441 | "ipv6NodeSid":228, |
| 442 | "ipv6Loopback":"2000::c0a8:0228", |
| 443 | "routerMac":"00:00:02:28:00:01", |
| 444 | "isEdgeRouter":false, |
| 445 | "adjacencySids":[ |
| 446 | ] |
| 447 | } |
| 448 | } |
| 449 | }, |
| 450 | "apps" : { |
| 451 | "org.onosproject.dhcprelay" : { |
| 452 | "default" : [ |
| 453 | { |
| 454 | "dhcpServerConnectPoint": "of:0000000000000204/8", |
| 455 | "serverIps": ["10.0.204.8"] |
| 456 | } |
| 457 | ] |
| 458 | } |
| 459 | } |
| 460 | } |