blob: 8ebdb55e8a4fcb9aad47fae08eb49145c4f6ae08 [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 }
Yi Tseng84034d42017-12-20 16:44:57 -080026 }
27 },
28 "ports": {
29 "device:tofino:leaf1/144": {
30 "interfaces": [
31 {
Carmelo Casconef37845e2018-03-27 10:03:25 -070032 "name": "leaf1/3/0--compute-1--ens802f0",
Yi Tseng84034d42017-12-20 16:44:57 -080033 "ips": [
Yi Tseng9461d702018-02-05 16:56:39 -080034 "10.6.1.254/24",
35 "118.0.0.254/24",
36 "119.0.0.254/24"
37 ],
38 "vlan-untagged": 10
39 }
40 ]
41 },
42 "device:tofino:leaf1/145": {
43 "interfaces": [
44 {
Carmelo Casconef37845e2018-03-27 10:03:25 -070045 "name": "leaf1/3/1--mgmt25--enb",
Yi Tseng9461d702018-02-05 16:56:39 -080046 "ips": [
47 "118.0.0.254/24",
48 "119.0.0.254/24"
Yi Tseng84034d42017-12-20 16:44:57 -080049 ],
50 "vlan-untagged": 10
51 }
52 ]
53 },
Test User465ba1c2018-02-25 05:23:19 -080054 "device:tofino:leaf1/146": {
Carmelo Casconef37845e2018-03-27 10:03:25 -070055 "interfaces": [ ]
56 },
57 "device:tofino:leaf1/147": {
Test User465ba1c2018-02-25 05:23:19 -080058 "interfaces": [
59 {
Carmelo Casconef37845e2018-03-27 10:03:25 -070060 "name": "leaf1/3/3--mgmt28--nc-int-exp",
Test User465ba1c2018-02-25 05:23:19 -080061 "ips": [
Carmelo Casconef37845e2018-03-27 10:03:25 -070062 "10.6.1.254/24"
Test User465ba1c2018-02-25 05:23:19 -080063 ],
64 "vlan-untagged": 10
65 }
66 ]
67 },
Yi Tseng84034d42017-12-20 16:44:57 -080068 "device:tofino:leaf2/144": {
69 "interfaces": [
70 {
Carmelo Casconef37845e2018-03-27 10:03:25 -070071 "name": "leaf2/3/0--compute-2",
Yi Tseng84034d42017-12-20 16:44:57 -080072 "ips": [
Test User465ba1c2018-02-25 05:23:19 -080073 "10.6.2.254/24",
74 "122.0.0.254/24"
Yi Tseng84034d42017-12-20 16:44:57 -080075 ],
76 "vlan-untagged": 20
77 }
78 ]
79 },
80 "device:tofino:leaf2/145": {
81 "interfaces": [
82 {
Carmelo Casconef37845e2018-03-27 10:03:25 -070083 "name": "leaf2/3/1--SPGW-DP",
Yi Tseng84034d42017-12-20 16:44:57 -080084 "ips": [
Yi Tseng9461d702018-02-05 16:56:39 -080085 "140.0.0.2/24"
Yi Tseng84034d42017-12-20 16:44:57 -080086 ],
Test User465ba1c2018-02-25 05:23:19 -080087 "vlan-untagged": 20
Yi Tseng9461d702018-02-05 16:56:39 -080088 }
89 ]
90 },
91 "device:tofino:leaf2/146": {
92 "interfaces": [
93 {
Carmelo Casconef37845e2018-03-27 10:03:25 -070094 "name": "leaf2/3/2--mgmt27--ARM",
Yi Tseng9461d702018-02-05 16:56:39 -080095 "ips": [
Yi Tsengef9e0ae2018-02-05 18:57:13 -080096 "150.0.0.254/24"
Yi Tseng9461d702018-02-05 16:56:39 -080097 ],
98 "vlan-untagged": 150
Yi Tseng84034d42017-12-20 16:44:57 -080099 }
100 ]
Test User4be28e62018-03-01 07:07:02 -0800101 },
Carmelo Casconef37845e2018-03-27 10:03:25 -0700102 "device:tofino:leaf2/147": {
103 "interfaces": [ ]
104 },
105 "device:tofino:leaf1/160": {
Test User4be28e62018-03-01 07:07:02 -0800106 "interfaces": [
107 {
Carmelo Casconef37845e2018-03-27 10:03:25 -0700108 "name": "leaf1/5/0--nc1-int-source",
Test User4be28e62018-03-01 07:07:02 -0800109 "ips": [
Carmelo Casconef37845e2018-03-27 10:03:25 -0700110 "160.0.1.254/24"
Test User4be28e62018-03-01 07:07:02 -0800111 ],
Carmelo Casconef37845e2018-03-27 10:03:25 -0700112 "vlan-untagged": 161
Test User4be28e62018-03-01 07:07:02 -0800113 }
114 ]
115 },
116 "device:tofino:leaf2/160": {
117 "interfaces": [
118 {
Carmelo Casconef37845e2018-03-27 10:03:25 -0700119 "name": "leaf2/5/0--nc2-int-sink",
Test User4be28e62018-03-01 07:07:02 -0800120 "ips": [
Carmelo Casconef37845e2018-03-27 10:03:25 -0700121 "160.0.2.254/24"
Test User4be28e62018-03-01 07:07:02 -0800122 ],
Carmelo Casconef37845e2018-03-27 10:03:25 -0700123 "vlan-untagged": 162
Test User4be28e62018-03-01 07:07:02 -0800124 }
125 ]
Yi Tseng84034d42017-12-20 16:44:57 -0800126 }
127 }
128}