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":5, |
| 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":5, |
| 28 | "routerMac":"00:00:00:00:00:01" |
| 29 | } |
| 30 | }, |
| 31 | "of:0000000000000003":{ |
| 32 | "basic":{ |
| 33 | "driver":"ofdpa-ovs" |
| 34 | }, |
| 35 | "segmentrouting":{ |
| 36 | "adjacencySids":[], |
| 37 | "ipv4Loopback":"192.168.0.3", |
| 38 | "ipv4NodeSid":203, |
| 39 | "isEdgeRouter":true, |
| 40 | "pairDeviceId":"of:0000000000000004", |
| 41 | "pairLocalPort":5, |
| 42 | "routerMac":"00:00:00:00:00:02" |
| 43 | } |
| 44 | }, |
| 45 | "of:0000000000000004":{ |
| 46 | "basic":{ |
| 47 | "driver":"ofdpa-ovs" |
| 48 | }, |
| 49 | "segmentrouting":{ |
| 50 | "adjacencySids":[], |
| 51 | "ipv4Loopback":"192.168.0.4", |
| 52 | "ipv4NodeSid":204, |
| 53 | "isEdgeRouter":true, |
| 54 | "pairDeviceId":"of:0000000000000003", |
| 55 | "pairLocalPort":5, |
| 56 | "routerMac":"00:00:00:00:00:02" |
| 57 | } |
| 58 | }, |
| 59 | "of:0000000000000101":{ |
| 60 | "basic":{ |
| 61 | "driver":"ofdpa-ovs" |
| 62 | }, |
| 63 | "segmentrouting":{ |
| 64 | "adjacencySids":[], |
| 65 | "ipv4Loopback":"192.168.0.101", |
| 66 | "ipv4NodeSid":101, |
| 67 | "isEdgeRouter":false, |
| 68 | "routerMac":"00:00:00:00:01:01" |
| 69 | } |
| 70 | }, |
| 71 | "of:0000000000000102":{ |
| 72 | "basic":{ |
| 73 | "driver":"ofdpa-ovs" |
| 74 | }, |
| 75 | "segmentrouting":{ |
| 76 | "adjacencySids":[], |
| 77 | "ipv4Loopback":"192.168.0.102", |
| 78 | "ipv4NodeSid":102, |
| 79 | "isEdgeRouter":false, |
| 80 | "routerMac":"00:00:00:00:01:02" |
| 81 | } |
| 82 | } |
| 83 | }, |
| 84 | "hosts":{ |
| 85 | "00:AA:00:00:00:01/None":{ |
| 86 | "basic":{ |
| 87 | "ips":[ |
| 88 | "10.0.2.1" |
| 89 | ], |
| 90 | "locations":[ |
| 91 | "of:0000000000000001/6", |
| 92 | "of:0000000000000002/6" |
| 93 | ] |
| 94 | } |
| 95 | }, |
| 96 | "00:AA:00:00:00:02/None":{ |
| 97 | "basic":{ |
| 98 | "ips":[ |
| 99 | "10.0.2.2" |
| 100 | ], |
| 101 | "locations":[ |
| 102 | "of:0000000000000001/7", |
| 103 | "of:0000000000000002/7" |
| 104 | ] |
| 105 | } |
| 106 | }, |
| 107 | "00:AA:00:00:00:03/None":{ |
| 108 | "basic":{ |
| 109 | "ips":[ |
| 110 | "10.0.3.1" |
| 111 | ], |
| 112 | "locations":[ |
| 113 | "of:0000000000000003/6", |
| 114 | "of:0000000000000004/6" |
| 115 | ] |
| 116 | } |
| 117 | }, |
| 118 | "00:AA:00:00:00:04/None":{ |
| 119 | "basic":{ |
| 120 | "ips":[ |
| 121 | "10.0.3.2" |
| 122 | ], |
| 123 | "locations":[ |
| 124 | "of:0000000000000003/7", |
| 125 | "of:0000000000000004/7" |
| 126 | ] |
| 127 | } |
| 128 | } |
| 129 | }, |
| 130 | "ports":{ |
| 131 | "of:0000000000000001/6":{ |
| 132 | "interfaces":[ |
| 133 | { |
| 134 | "ips":[ |
| 135 | "10.0.2.254/24" |
| 136 | ], |
| 137 | "vlan-native":20, |
| 138 | "vlan-tagged":[ |
| 139 | 10 |
| 140 | ] |
| 141 | } |
| 142 | ] |
| 143 | }, |
| 144 | "of:0000000000000001/7":{ |
| 145 | "interfaces":[ |
| 146 | { |
| 147 | "ips":[ |
| 148 | "10.0.2.254/24" |
| 149 | ], |
| 150 | "vlan-untagged":20 |
| 151 | } |
| 152 | ] |
| 153 | }, |
| 154 | "of:0000000000000002/6":{ |
| 155 | "interfaces":[ |
| 156 | { |
| 157 | "ips":[ |
| 158 | "10.0.2.254/24" |
| 159 | ], |
| 160 | "vlan-native":20, |
| 161 | "vlan-tagged":[ |
| 162 | 10 |
| 163 | ] |
| 164 | } |
| 165 | ] |
| 166 | }, |
| 167 | "of:0000000000000002/7":{ |
| 168 | "interfaces":[ |
| 169 | { |
| 170 | "ips":[ |
| 171 | "10.0.2.254/24" |
| 172 | ], |
| 173 | "vlan-untagged":20 |
| 174 | } |
| 175 | ] |
| 176 | }, |
| 177 | "of:0000000000000003/6":{ |
| 178 | "interfaces":[ |
| 179 | { |
| 180 | "ips":[ |
| 181 | "10.0.3.254/24" |
| 182 | ], |
| 183 | "vlan-native":40, |
| 184 | "vlan-tagged":[ |
| 185 | 30 |
| 186 | ] |
| 187 | } |
| 188 | ] |
| 189 | }, |
| 190 | "of:0000000000000003/7":{ |
| 191 | "interfaces":[ |
| 192 | { |
| 193 | "ips":[ |
| 194 | "10.0.3.254/24" |
| 195 | ], |
| 196 | "vlan-untagged":40 |
| 197 | } |
| 198 | ] |
| 199 | }, |
| 200 | "of:0000000000000004/6":{ |
| 201 | "interfaces":[ |
| 202 | { |
| 203 | "ips":[ |
| 204 | "10.0.3.254/24" |
| 205 | ], |
| 206 | "vlan-native":40, |
| 207 | "vlan-tagged":[ |
| 208 | 30 |
| 209 | ] |
| 210 | } |
| 211 | ] |
| 212 | }, |
| 213 | "of:0000000000000004/7":{ |
| 214 | "interfaces":[ |
| 215 | { |
| 216 | "ips":[ |
| 217 | "10.0.3.254/24" |
| 218 | ], |
| 219 | "vlan-untagged":40 |
| 220 | } |
| 221 | ] |
| 222 | } |
| 223 | } |
| 224 | } |