Jon Hall | 6e09870 | 2021-06-28 15:56:20 -0700 | [diff] [blame^] | 1 | { |
| 2 | "devices":{ |
| 3 | "of:0000000000000001":{ |
| 4 | "basic":{ |
| 5 | "driver":"ofdpa-ovs" |
| 6 | }, |
| 7 | "segmentrouting":{ |
| 8 | "adjacencySids":[], |
| 9 | "ipv4Loopback":"192.168.0.1", |
| 10 | "ipv4NodeSid":201, |
| 11 | "isEdgeRouter":true, |
| 12 | "pairDeviceId":"of:0000000000000002", |
| 13 | "pairLocalPort":1, |
| 14 | "routerMac":"00:00:00:00:00:01" |
| 15 | } |
| 16 | }, |
| 17 | "of:0000000000000002":{ |
| 18 | "basic":{ |
| 19 | "driver":"ofdpa-ovs" |
| 20 | }, |
| 21 | "segmentrouting":{ |
| 22 | "adjacencySids":[], |
| 23 | "ipv4Loopback":"192.168.0.2", |
| 24 | "ipv4NodeSid":202, |
| 25 | "isEdgeRouter":true, |
| 26 | "pairDeviceId":"of:0000000000000001", |
| 27 | "pairLocalPort":1, |
| 28 | "routerMac":"00:00:00:00:00:01" |
| 29 | } |
| 30 | } |
| 31 | }, |
| 32 | "hosts":{ |
| 33 | "00:AA:00:00:00:01/None":{ |
| 34 | "basic":{ |
| 35 | "ips":[ |
| 36 | "10.0.2.1" |
| 37 | ], |
| 38 | "locations":[ |
| 39 | "of:0000000000000001/2", |
| 40 | "of:0000000000000002/2" |
| 41 | ] |
| 42 | } |
| 43 | }, |
| 44 | "00:AA:00:00:00:02/None":{ |
| 45 | "basic":{ |
| 46 | "ips":[ |
| 47 | "10.0.2.2" |
| 48 | ], |
| 49 | "locations":[ |
| 50 | "of:0000000000000001/3", |
| 51 | "of:0000000000000002/3" |
| 52 | ] |
| 53 | } |
| 54 | } |
| 55 | }, |
| 56 | "ports":{ |
| 57 | "of:0000000000000001/2":{ |
| 58 | "interfaces":[ |
| 59 | { |
| 60 | "ips":[ |
| 61 | "10.0.2.254/24" |
| 62 | ], |
| 63 | "vlan-untagged":10 |
| 64 | } |
| 65 | ] |
| 66 | }, |
| 67 | "of:0000000000000001/3":{ |
| 68 | "interfaces":[ |
| 69 | { |
| 70 | "ips":[ |
| 71 | "10.0.2.254/24" |
| 72 | ], |
| 73 | "vlan-untagged":20 |
| 74 | } |
| 75 | ] |
| 76 | }, |
| 77 | "of:0000000000000002/2":{ |
| 78 | "interfaces":[ |
| 79 | { |
| 80 | "ips":[ |
| 81 | "10.0.2.254/24" |
| 82 | ], |
| 83 | "vlan-untagged":10 |
| 84 | } |
| 85 | ] |
| 86 | }, |
| 87 | "of:0000000000000002/3":{ |
| 88 | "interfaces":[ |
| 89 | { |
| 90 | "ips":[ |
| 91 | "10.0.2.254/24" |
| 92 | ], |
| 93 | "vlan-untagged":20 |
| 94 | } |
| 95 | ] |
| 96 | } |
| 97 | } |
| 98 | } |