Yi Tseng | 84034d4 | 2017-12-20 16:44:57 -0800 | [diff] [blame] | 1 | { |
| 2 | "devices": { |
| 3 | "device:tofino:leaf1": { |
| 4 | "segmentrouting": { |
| 5 | "name": "leaf1", |
| 6 | "ipv4NodeSid": 204, |
| 7 | "ipv4Loopback": "192.168.0.204", |
| 8 | "ipv6NodeSid": 214, |
| 9 | "ipv6Loopback": "2000::c0a8:0204", |
| 10 | "routerMac": "00:00:00:00:02:04", |
| 11 | "isEdgeRouter": true, |
| 12 | "adjacencySids": [] |
| 13 | } |
| 14 | }, |
| 15 | "device:tofino:leaf2": { |
| 16 | "segmentrouting": { |
| 17 | "name": "leaf2", |
| 18 | "ipv4NodeSid": 205, |
| 19 | "ipv4Loopback": "192.168.0.205", |
| 20 | "ipv6NodeSid": 215, |
| 21 | "ipv6Loopback": "2000::c0a8:0205", |
| 22 | "routerMac": "00:00:00:00:02:05", |
| 23 | "isEdgeRouter": true, |
| 24 | "adjacencySids": [] |
| 25 | } |
| 26 | }, |
| 27 | "device:mellanox:spine1": { |
| 28 | "segmentrouting": { |
| 29 | "name": "spine1", |
| 30 | "ipv4NodeSid": 226, |
| 31 | "ipv4Loopback": "192.168.0.226", |
| 32 | "ipv6NodeSid": 236, |
| 33 | "ipv6Loopback": "2000::c0a8:0226", |
| 34 | "routerMac": "00:00:00:00:02:26", |
| 35 | "isEdgeRouter": false, |
| 36 | "adjacencySids": [] |
| 37 | } |
| 38 | }, |
| 39 | "device:cavium:spine2": { |
| 40 | "segmentrouting": { |
| 41 | "name": "spine2", |
| 42 | "ipv4NodeSid": 227, |
| 43 | "ipv4Loopback": "192.168.0.227", |
| 44 | "ipv6NodeSid": 237, |
| 45 | "ipv6Loopback": "2000::c0a8:0227", |
| 46 | "routerMac": "00:00:00:00:02:27", |
| 47 | "isEdgeRouter": false, |
| 48 | "adjacencySids": [] |
| 49 | } |
| 50 | } |
| 51 | }, |
| 52 | "ports": { |
| 53 | "device:tofino:leaf1/180": { |
| 54 | "interfaces": [ |
| 55 | { |
| 56 | "name": "leaf1-3/0", |
| 57 | "ips": [ |
| 58 | "10.6.1.254/24" |
| 59 | ], |
| 60 | "vlan-untagged": 10 |
| 61 | } |
| 62 | ] |
| 63 | }, |
| 64 | "device:tofino:leaf2/180": { |
| 65 | "interfaces": [ |
| 66 | { |
| 67 | "name": "leaf2-3/0", |
| 68 | "ips": [ |
| 69 | "10.6.2.254/24" |
| 70 | ], |
| 71 | "vlan-untagged": 20 |
| 72 | } |
| 73 | ] |
| 74 | } |
| 75 | } |
| 76 | } |