| { |
| "devices": { |
| "device:tofino:leaf1": { |
| "segmentrouting": { |
| "name": "leaf1", |
| "ipv4NodeSid": 204, |
| "ipv4Loopback": "192.168.0.204", |
| "ipv6NodeSid": 214, |
| "ipv6Loopback": "2000::c0a8:0204", |
| "routerMac": "00:00:00:00:02:04", |
| "isEdgeRouter": true, |
| "adjacencySids": [] |
| } |
| }, |
| "device:tofino:leaf2": { |
| "segmentrouting": { |
| "name": "leaf2", |
| "ipv4NodeSid": 205, |
| "ipv4Loopback": "192.168.0.205", |
| "ipv6NodeSid": 215, |
| "ipv6Loopback": "2000::c0a8:0205", |
| "routerMac": "00:00:00:00:02:05", |
| "isEdgeRouter": true, |
| "adjacencySids": [] |
| } |
| }, |
| "device:mellanox:spine1": { |
| "segmentrouting": { |
| "name": "spine1", |
| "ipv4NodeSid": 226, |
| "ipv4Loopback": "192.168.0.226", |
| "ipv6NodeSid": 236, |
| "ipv6Loopback": "2000::c0a8:0226", |
| "routerMac": "00:00:00:00:02:26", |
| "isEdgeRouter": false, |
| "adjacencySids": [] |
| } |
| }, |
| "device:cavium:spine2": { |
| "segmentrouting": { |
| "name": "spine2", |
| "ipv4NodeSid": 227, |
| "ipv4Loopback": "192.168.0.227", |
| "ipv6NodeSid": 237, |
| "ipv6Loopback": "2000::c0a8:0227", |
| "routerMac": "00:00:00:00:02:27", |
| "isEdgeRouter": false, |
| "adjacencySids": [] |
| } |
| } |
| }, |
| "ports": { |
| "device:tofino:leaf1/180": { |
| "interfaces": [ |
| { |
| "name": "leaf1-3/0", |
| "ips": [ |
| "10.6.1.254/24" |
| ], |
| "vlan-untagged": 10 |
| } |
| ] |
| }, |
| "device:tofino:leaf2/180": { |
| "interfaces": [ |
| { |
| "name": "leaf2-3/0", |
| "ips": [ |
| "10.6.2.254/24" |
| ], |
| "vlan-untagged": 20 |
| } |
| ] |
| } |
| } |
| } |