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:cavium: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/144": { |
| 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:leaf1/145": { |
| 65 | "interfaces": [ |
| 66 | { |
| 67 | "name": "leaf1-3/1", |
| 68 | "ips": [ |
| 69 | "10.6.1.254/24" |
| 70 | ], |
| 71 | "vlan-untagged": 10 |
| 72 | } |
| 73 | ] |
| 74 | }, |
| 75 | "device:tofino:leaf1/146": { |
| 76 | "interfaces": [ |
| 77 | { |
| 78 | "name": "leaf1-3/2", |
| 79 | "ips": [ |
| 80 | "10.6.1.254/24" |
| 81 | ], |
| 82 | "vlan-untagged": 10 |
| 83 | } |
| 84 | ] |
| 85 | }, |
| 86 | "device:tofino:leaf1/147": { |
| 87 | "interfaces": [ |
| 88 | { |
| 89 | "name": "leaf1-3/3", |
| 90 | "ips": [ |
| 91 | "10.6.1.254/24" |
| 92 | ], |
| 93 | "vlan-untagged": 10 |
| 94 | } |
| 95 | ] |
| 96 | }, |
| 97 | "device:tofino:leaf2/144": { |
| 98 | "interfaces": [ |
| 99 | { |
| 100 | "name": "leaf2-3/0", |
| 101 | "ips": [ |
| 102 | "10.6.2.254/24", |
| 103 | "118.0.0.1/24", |
| 104 | "119.0.0.1/24" |
| 105 | ], |
| 106 | "vlan-untagged": 20 |
| 107 | } |
| 108 | ] |
| 109 | }, |
| 110 | "device:tofino:leaf2/145": { |
| 111 | "interfaces": [ |
| 112 | { |
| 113 | "name": "leaf2-3/1", |
| 114 | "ips": [ |
| 115 | "10.6.2.254/24", |
| 116 | "118.0.0.1/24", |
| 117 | "119.0.0.1/24" |
| 118 | ], |
| 119 | "vlan-untagged": 20 |
| 120 | } |
| 121 | ] |
| 122 | }, |
| 123 | "device:tofino:leaf2/146": { |
| 124 | "interfaces": [ |
| 125 | { |
| 126 | "name": "leaf2-3/2", |
| 127 | "ips": [ |
| 128 | "10.6.2.254/24", |
| 129 | "118.0.0.1/24", |
| 130 | "119.0.0.1/24" |
| 131 | ], |
| 132 | "vlan-untagged": 20 |
| 133 | } |
| 134 | ] |
| 135 | }, |
| 136 | "device:tofino:leaf2/147": { |
| 137 | "interfaces": [ |
| 138 | { |
| 139 | "name": "leaf2-3/3", |
| 140 | "ips": [ |
| 141 | "10.6.2.254/24", |
| 142 | "118.0.0.1/24", |
| 143 | "119.0.0.1/24" |
| 144 | ], |
| 145 | "vlan-untagged": 20 |
| 146 | } |
| 147 | ] |
| 148 | } |
| 149 | } |
| 150 | } |