Flavio Castro | 96eaa2e | 2016-04-23 16:24:47 -0700 | [diff] [blame] | 1 | { |
Jon Hall | 2161a21 | 2020-09-16 11:29:27 -0700 | [diff] [blame] | 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 | "name":"Leaf-R1", |
| 13 | "routerMac":"10:00:00:00:00:01" |
Flavio Castro | 96eaa2e | 2016-04-23 16:24:47 -0700 | [diff] [blame] | 14 | } |
| 15 | }, |
Jon Hall | 2161a21 | 2020-09-16 11:29:27 -0700 | [diff] [blame] | 16 | "of:0000000000000002":{ |
| 17 | "basic":{ |
| 18 | "driver":"ofdpa-ovs" |
| 19 | }, |
| 20 | "segmentrouting":{ |
| 21 | "adjacencySids":[], |
| 22 | "ipv4Loopback":"192.168.0.2", |
| 23 | "ipv4NodeSid":202, |
| 24 | "isEdgeRouter":true, |
| 25 | "name":"Leaf-R2", |
| 26 | "routerMac":"10:00:00:00:00:02" |
Flavio Castro | 96eaa2e | 2016-04-23 16:24:47 -0700 | [diff] [blame] | 27 | } |
| 28 | }, |
Jon Hall | 2161a21 | 2020-09-16 11:29:27 -0700 | [diff] [blame] | 29 | "of:0000000000000003":{ |
| 30 | "basic":{ |
| 31 | "driver":"ofdpa-ovs" |
| 32 | }, |
| 33 | "segmentrouting":{ |
| 34 | "adjacencySids":[], |
| 35 | "ipv4Loopback":"192.168.0.3", |
| 36 | "ipv4NodeSid":203, |
| 37 | "isEdgeRouter":true, |
| 38 | "name":"Leaf-R3", |
| 39 | "routerMac":"10:00:00:00:00:03" |
Flavio Castro | 96eaa2e | 2016-04-23 16:24:47 -0700 | [diff] [blame] | 40 | } |
| 41 | }, |
Jon Hall | 2161a21 | 2020-09-16 11:29:27 -0700 | [diff] [blame] | 42 | "of:0000000000000004":{ |
| 43 | "basic":{ |
| 44 | "driver":"ofdpa-ovs" |
| 45 | }, |
| 46 | "segmentrouting":{ |
| 47 | "adjacencySids":[], |
| 48 | "ipv4Loopback":"192.168.0.4", |
| 49 | "ipv4NodeSid":204, |
| 50 | "isEdgeRouter":true, |
| 51 | "name":"Leaf-R4", |
| 52 | "routerMac":"10:00:00:00:00:04" |
Flavio Castro | 96eaa2e | 2016-04-23 16:24:47 -0700 | [diff] [blame] | 53 | } |
| 54 | }, |
Jon Hall | 2161a21 | 2020-09-16 11:29:27 -0700 | [diff] [blame] | 55 | "of:0000000000000101":{ |
| 56 | "basic":{ |
| 57 | "driver":"ofdpa-ovs" |
| 58 | }, |
| 59 | "segmentrouting":{ |
| 60 | "adjacencySids":[], |
| 61 | "ipv4Loopback":"192.168.0.101", |
| 62 | "ipv4NodeSid":101, |
| 63 | "isEdgeRouter":false, |
| 64 | "name":"Spine-R1", |
| 65 | "routerMac":"10:00:00:00:01:01" |
Flavio Castro | 96eaa2e | 2016-04-23 16:24:47 -0700 | [diff] [blame] | 66 | } |
| 67 | }, |
Jon Hall | 2161a21 | 2020-09-16 11:29:27 -0700 | [diff] [blame] | 68 | "of:0000000000000102":{ |
| 69 | "basic":{ |
| 70 | "driver":"ofdpa-ovs" |
| 71 | }, |
| 72 | "segmentrouting":{ |
| 73 | "adjacencySids":[], |
| 74 | "ipv4Loopback":"192.168.0.102", |
| 75 | "ipv4NodeSid":102, |
| 76 | "isEdgeRouter":false, |
| 77 | "name":"Spine-R2", |
| 78 | "routerMac":"10:00:00:00:01:02" |
Flavio Castro | 96eaa2e | 2016-04-23 16:24:47 -0700 | [diff] [blame] | 79 | } |
| 80 | }, |
Jon Hall | 2161a21 | 2020-09-16 11:29:27 -0700 | [diff] [blame] | 81 | "of:0000000000000103":{ |
| 82 | "basic":{ |
| 83 | "driver":"ofdpa-ovs" |
| 84 | }, |
| 85 | "segmentrouting":{ |
| 86 | "adjacencySids":[], |
| 87 | "ipv4Loopback":"192.168.0.103", |
| 88 | "ipv4NodeSid":103, |
| 89 | "isEdgeRouter":false, |
| 90 | "name":"Spine-R3", |
| 91 | "routerMac":"10:00:00:00:01:03" |
Flavio Castro | 96eaa2e | 2016-04-23 16:24:47 -0700 | [diff] [blame] | 92 | } |
| 93 | }, |
Jon Hall | 2161a21 | 2020-09-16 11:29:27 -0700 | [diff] [blame] | 94 | "of:0000000000000104":{ |
| 95 | "basic":{ |
| 96 | "driver":"ofdpa-ovs" |
| 97 | }, |
| 98 | "segmentrouting":{ |
| 99 | "adjacencySids":[], |
| 100 | "ipv4Loopback":"192.168.0.104", |
| 101 | "ipv4NodeSid":104, |
| 102 | "isEdgeRouter":false, |
| 103 | "name":"Spine-R4", |
| 104 | "routerMac":"10:00:00:00:01:04" |
Flavio Castro | 96eaa2e | 2016-04-23 16:24:47 -0700 | [diff] [blame] | 105 | } |
| 106 | } |
| 107 | }, |
Jon Hall | 2161a21 | 2020-09-16 11:29:27 -0700 | [diff] [blame] | 108 | "hosts":{ |
| 109 | "00:00:00:00:00:01/-1":{ |
| 110 | "basic":{ |
| 111 | "ips":[ |
| 112 | "10.0.1.1" |
| 113 | ], |
| 114 | "locations":[ |
| 115 | "of:0000000000000001/1" |
| 116 | ] |
Flavio Castro | 96eaa2e | 2016-04-23 16:24:47 -0700 | [diff] [blame] | 117 | } |
| 118 | }, |
Jon Hall | 2161a21 | 2020-09-16 11:29:27 -0700 | [diff] [blame] | 119 | "00:00:00:00:00:02/-1":{ |
| 120 | "basic":{ |
| 121 | "ips":[ |
| 122 | "10.0.1.2" |
| 123 | ], |
| 124 | "locations":[ |
| 125 | "of:0000000000000001/2" |
| 126 | ] |
Flavio Castro | 96eaa2e | 2016-04-23 16:24:47 -0700 | [diff] [blame] | 127 | } |
| 128 | }, |
Jon Hall | 2161a21 | 2020-09-16 11:29:27 -0700 | [diff] [blame] | 129 | "00:00:00:00:00:03/-1":{ |
| 130 | "basic":{ |
| 131 | "ips":[ |
| 132 | "10.0.2.1" |
| 133 | ], |
| 134 | "locations":[ |
| 135 | "of:0000000000000002/1" |
| 136 | ] |
Flavio Castro | 96eaa2e | 2016-04-23 16:24:47 -0700 | [diff] [blame] | 137 | } |
| 138 | }, |
Jon Hall | 2161a21 | 2020-09-16 11:29:27 -0700 | [diff] [blame] | 139 | "00:00:00:00:00:04/-1":{ |
| 140 | "basic":{ |
| 141 | "ips":[ |
| 142 | "10.0.2.2" |
| 143 | ], |
| 144 | "locations":[ |
| 145 | "of:0000000000000002/2" |
| 146 | ] |
Flavio Castro | 96eaa2e | 2016-04-23 16:24:47 -0700 | [diff] [blame] | 147 | } |
| 148 | }, |
Jon Hall | 2161a21 | 2020-09-16 11:29:27 -0700 | [diff] [blame] | 149 | "00:00:00:00:00:05/-1":{ |
| 150 | "basic":{ |
| 151 | "ips":[ |
| 152 | "10.0.3.1" |
| 153 | ], |
| 154 | "locations":[ |
| 155 | "of:0000000000000003/1" |
| 156 | ] |
Flavio Castro | 96eaa2e | 2016-04-23 16:24:47 -0700 | [diff] [blame] | 157 | } |
| 158 | }, |
Jon Hall | 2161a21 | 2020-09-16 11:29:27 -0700 | [diff] [blame] | 159 | "00:00:00:00:00:06/-1":{ |
| 160 | "basic":{ |
| 161 | "ips":[ |
| 162 | "10.0.3.2" |
| 163 | ], |
| 164 | "locations":[ |
| 165 | "of:0000000000000003/2" |
| 166 | ] |
Flavio Castro | 96eaa2e | 2016-04-23 16:24:47 -0700 | [diff] [blame] | 167 | } |
| 168 | }, |
Jon Hall | 2161a21 | 2020-09-16 11:29:27 -0700 | [diff] [blame] | 169 | "00:00:00:00:00:07/-1":{ |
| 170 | "basic":{ |
| 171 | "ips":[ |
| 172 | "10.0.4.1" |
| 173 | ], |
| 174 | "locations":[ |
| 175 | "of:0000000000000004/1" |
| 176 | ] |
Flavio Castro | 96eaa2e | 2016-04-23 16:24:47 -0700 | [diff] [blame] | 177 | } |
| 178 | }, |
Jon Hall | 2161a21 | 2020-09-16 11:29:27 -0700 | [diff] [blame] | 179 | "00:00:00:00:00:08/-1":{ |
| 180 | "basic":{ |
| 181 | "ips":[ |
| 182 | "10.0.4.2" |
| 183 | ], |
| 184 | "locations":[ |
| 185 | "of:0000000000000004/2" |
| 186 | ] |
Flavio Castro | 96eaa2e | 2016-04-23 16:24:47 -0700 | [diff] [blame] | 187 | } |
| 188 | } |
Jon Hall | 2161a21 | 2020-09-16 11:29:27 -0700 | [diff] [blame] | 189 | }, |
| 190 | "ports":{ |
| 191 | "of:0000000000000001/1":{ |
| 192 | "interfaces":[ |
| 193 | { |
| 194 | "ips":[ |
| 195 | "10.0.1.254/24" |
| 196 | ], |
| 197 | "vlan-untagged":100 |
| 198 | } |
| 199 | ] |
| 200 | }, |
| 201 | "of:0000000000000001/2":{ |
| 202 | "interfaces":[ |
| 203 | { |
| 204 | "ips":[ |
| 205 | "10.0.1.254/24" |
| 206 | ], |
| 207 | "vlan-untagged":100 |
| 208 | } |
| 209 | ] |
| 210 | }, |
| 211 | "of:0000000000000001/3":{ |
| 212 | "interfaces":[ |
| 213 | { |
| 214 | "ips":[ |
| 215 | "10.0.1.254/24" |
| 216 | ], |
| 217 | "vlan-untagged":100 |
| 218 | } |
| 219 | ] |
| 220 | }, |
| 221 | "of:0000000000000001/4":{ |
| 222 | "interfaces":[ |
| 223 | { |
| 224 | "ips":[ |
| 225 | "10.0.1.254/24" |
| 226 | ], |
| 227 | "vlan-untagged":100 |
| 228 | } |
| 229 | ] |
| 230 | }, |
| 231 | "of:0000000000000002/1":{ |
| 232 | "interfaces":[ |
| 233 | { |
| 234 | "ips":[ |
| 235 | "10.0.2.254/24" |
| 236 | ], |
| 237 | "vlan-untagged":200 |
| 238 | } |
| 239 | ] |
| 240 | }, |
| 241 | "of:0000000000000002/2":{ |
| 242 | "interfaces":[ |
| 243 | { |
| 244 | "ips":[ |
| 245 | "10.0.2.254/24" |
| 246 | ], |
| 247 | "vlan-untagged":200 |
| 248 | } |
| 249 | ] |
| 250 | }, |
| 251 | "of:0000000000000003/1":{ |
| 252 | "interfaces":[ |
| 253 | { |
| 254 | "ips":[ |
| 255 | "10.0.3.254/24" |
| 256 | ], |
| 257 | "vlan-untagged":300 |
| 258 | } |
| 259 | ] |
| 260 | }, |
| 261 | "of:0000000000000003/2":{ |
| 262 | "interfaces":[ |
| 263 | { |
| 264 | "ips":[ |
| 265 | "10.0.3.254/24" |
| 266 | ], |
| 267 | "vlan-untagged":300 |
| 268 | } |
| 269 | ] |
| 270 | }, |
| 271 | "of:0000000000000004/1":{ |
| 272 | "interfaces":[ |
| 273 | { |
| 274 | "ips":[ |
| 275 | "10.0.4.254/24" |
| 276 | ], |
| 277 | "vlan-untagged":400 |
| 278 | } |
| 279 | ] |
| 280 | }, |
| 281 | "of:0000000000000004/2":{ |
| 282 | "interfaces":[ |
| 283 | { |
| 284 | "ips":[ |
| 285 | "10.0.4.254/24" |
| 286 | ], |
| 287 | "vlan-untagged":400 |
| 288 | } |
| 289 | ] |
| 290 | } |
Flavio Castro | 96eaa2e | 2016-04-23 16:24:47 -0700 | [diff] [blame] | 291 | } |
Jon Hall | 2161a21 | 2020-09-16 11:29:27 -0700 | [diff] [blame] | 292 | } |