blob: 7e345e390b7159b58ae04b2074f68994bd9ebe29 [file] [log] [blame]
Yi Tseng84034d42017-12-20 16:44:57 -08001{
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 },
Yi Tsengcaf91d72018-02-11 14:48:31 -080027 "device:cavium:spine1": {
Yi Tseng84034d42017-12-20 16:44:57 -080028 "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 },
Yi Tsengcaf91d72018-02-11 14:48:31 -080039 "device:mellanox:spine2": {
Yi Tseng84034d42017-12-20 16:44:57 -080040 "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 {
Yi Tsengcaf91d72018-02-11 14:48:31 -080056 "name": "leaf1-3/0-compute-1",
Yi Tseng84034d42017-12-20 16:44:57 -080057 "ips": [
Yi Tsengcaf91d72018-02-11 14:48:31 -080058 "10.6.1.254/24",
59 "118.0.0.254/24",
60 "119.0.0.254/24"
61 ],
62 "vlan-untagged": 10
63 }
64 ]
65 },
66 "device:tofino:leaf1/181": {
67 "interfaces": [
68 {
Yi Tsengf9367df2018-02-20 15:34:04 -080069 "name": "leaf1-3/1-mgmt25-enb",
Yi Tsengcaf91d72018-02-11 14:48:31 -080070 "ips": [
71 "118.0.0.254/24",
Carmelo Cascone963748d2018-03-16 17:56:48 -070072 "119.0.0.254/24"
Yi Tseng84034d42017-12-20 16:44:57 -080073 ],
74 "vlan-untagged": 10
75 }
76 ]
77 },
Yi Tseng5da19952018-02-14 21:24:13 -080078 "device:tofino:leaf1/182": {
79 "interfaces": [
80 {
Carmelo Casconef985e9e2018-02-18 22:29:53 -080081 "name": "leaf1-3/2--head-node(ProgRAN)",
Yi Tseng5da19952018-02-14 21:24:13 -080082 "ips": [
83 "118.0.0.254/24"
84 ],
85 "vlan-untagged": 10
86 }
87 ]
88 },
Yi Tseng84034d42017-12-20 16:44:57 -080089 "device:tofino:leaf2/180": {
90 "interfaces": [
91 {
Yi Tsengcaf91d72018-02-11 14:48:31 -080092 "name": "leaf2-3/0-compute-2",
Yi Tseng84034d42017-12-20 16:44:57 -080093 "ips": [
Carmelo Casconef985e9e2018-02-18 22:29:53 -080094 "10.6.2.254/24",
95 "122.0.0.254/24"
Yi Tseng84034d42017-12-20 16:44:57 -080096 ],
97 "vlan-untagged": 20
98 }
99 ]
Yi Tsengcaf91d72018-02-11 14:48:31 -0800100 },
Yi Tsengf9367df2018-02-20 15:34:04 -0800101 "device:tofino:leaf2/181": {
102 "interfaces": [
103 {
104 "name": "leaf2-3/1-P4-DP",
105 "ips": [
106 "140.0.0.2/24"
107 ],
108 "vlan-untagged": 20
109 }
110 ]
111 },
Yi Tsengcaf91d72018-02-11 14:48:31 -0800112 "device:tofino:leaf2/182": {
113 "interfaces": [
114 {
115 "name": "leaf2-3/2-------mgmt-27---ARM",
116 "ips": [
117 "150.0.0.254/24"
118 ],
119 "vlan-untagged": 150
120 }
121 ]
Carmelo Cascone963748d2018-03-16 17:56:48 -0700122 },
123 "device:tofino:leaf1/172": {
124 "interfaces": [
125 {
126 "name": "leaf1-5/0-nc1-int-sink",
127 "ips": [
128 "160.0.1.254/24"
129 ],
130 "vlan-untagged": 160
131 }
132 ]
133 },
134 "device:tofino:leaf2/172": {
135 "interfaces": [
136 {
137 "name": "leaf2-5/0-nc2-int-source",
138 "ips": [
139 "160.0.2.254/24"
140 ],
141 "vlan-untagged": 160
142 }
143 ]
Yi Tseng84034d42017-12-20 16:44:57 -0800144 }
145 }
146}