blob: 744235984635a8ea394c4bcd3fd1d64ff65d6f52 [file] [log] [blame]
Flavio Castro96eaa2e2016-04-23 16:24:47 -07001{
2 "ports" : {
3 "of:0000000000000001/5" : {
4 "interfaces" : [
5 {
6 "ips" : [ "10.0.1.254/24" ]
7 }
8 ]
9 },
10 "of:0000000000000001/6" : {
11 "interfaces" : [
12 {
13 "ips" : [ "10.0.1.254/24" ]
14 }
15 ]
16 },
17 "of:0000000000000002/5" : {
18 "interfaces" : [
19 {
20 "ips" : [ "10.0.2.254/24" ]
21 }
22 ]
23 },
24 "of:0000000000000002/6" : {
25 "interfaces" : [
26 {
27 "ips" : [ "10.0.2.254/24" ]
28 }
29 ]
30 },
31 "of:0000000000000003/5" : {
32 "interfaces" : [
33 {
34 "ips" : [ "10.0.3.254/24" ]
35 }
36 ]
37 },
38 "of:0000000000000003/6" : {
39 "interfaces" : [
40 {
41 "ips" : [ "10.0.3.254/24" ]
42 }
43 ]
44 },
45 "of:0000000000000004/5" : {
46 "interfaces" : [
47 {
48 "ips" : [ "10.0.4.254/24" ]
49 }
50 ]
51 },
52 "of:0000000000000004/6" : {
53 "interfaces" : [
54 {
55 "ips" : [ "10.0.4.254/24"]
56 }
57 ]
58 }
59 },
60 "devices" : {
61 "of:0000000000000001" : {
62 "basic":{ "driver" : "ofdpa-cpqd" },
63 "segmentrouting" : {
64 "name" : "Leaf-R1",
65 "nodeSid" : 1,
66 "routerIp" : "192.168.0.1",
Flavio Castro4c0165e2016-05-24 17:53:50 -070067 "routerMac" : "10:00:00:00:00:01",
Flavio Castro96eaa2e2016-04-23 16:24:47 -070068 "isEdgeRouter" : true,
69 "adjacencySids" : []
70 }
71 },
72 "of:0000000000000002" : {
73 "basic":{ "driver" : "ofdpa-cpqd" },
74 "segmentrouting" : {
75 "name" : "Leaf-R2",
76 "nodeSid" : 2,
77 "routerIp" : "192.168.0.2",
Flavio Castro4c0165e2016-05-24 17:53:50 -070078 "routerMac" : "10:00:00:00:00:02",
Flavio Castro96eaa2e2016-04-23 16:24:47 -070079 "isEdgeRouter" : true,
80 "adjacencySids" : []
81 }
82 },
83 "of:0000000000000003" : {
84 "basic" :{ "driver" : "ofdpa-cpqd" },
85 "segmentrouting" : {
86 "name" : "Leaf-R3",
87 "nodeSid" : 3,
88 "routerIp" : "192.168.0.3",
Flavio Castro4c0165e2016-05-24 17:53:50 -070089 "routerMac" : "10:00:00:00:00:03",
Flavio Castro96eaa2e2016-04-23 16:24:47 -070090 "isEdgeRouter" : true,
91 "adjacencySids" : []
92 }
93 },
94 "of:0000000000000004" : {
95 "basic":{ "driver" : "ofdpa-cpqd" },
96 "segmentrouting" : {
97 "name" : "Leaf-R4",
98 "nodeSid" : 4,
99 "routerIp" : "192.168.0.4",
Flavio Castro4c0165e2016-05-24 17:53:50 -0700100 "routerMac" : "10:00:00:00:00:04",
Flavio Castro96eaa2e2016-04-23 16:24:47 -0700101 "isEdgeRouter" : true,
102 "adjacencySids" : []
103 }
104 },
105 "of:0000000000000101" : {
106 "basic":{ "driver" : "ofdpa-cpqd" },
107 "segmentrouting" : {
108 "name" : "Spine-R1",
109 "nodeSid" : 101,
110 "routerIp" : "192.168.0.101",
Flavio Castro4c0165e2016-05-24 17:53:50 -0700111 "routerMac" : "10:00:00:00:01:01",
Flavio Castro96eaa2e2016-04-23 16:24:47 -0700112 "isEdgeRouter" : false,
113 "adjacencySids" : []
114 }
115 },
116 "of:0000000000000102" : {
117 "basic":{ "driver" : "ofdpa-cpqd" },
118 "segmentrouting" : {
119 "name" : "Spine-R2",
120 "nodeSid" : 102,
121 "routerIp" : "192.168.0.102",
Flavio Castro4c0165e2016-05-24 17:53:50 -0700122 "routerMac" : "10:00:00:00:01:02",
Flavio Castro96eaa2e2016-04-23 16:24:47 -0700123 "isEdgeRouter" : false,
124 "adjacencySids" : []
125 }
126 },
127 "of:0000000000000103" : {
128 "basic":{ "driver" : "ofdpa-cpqd" },
129 "segmentrouting" : {
130 "name" : "Spine-R3",
131 "nodeSid" : 103,
132 "routerIp" : "192.168.0.103",
Flavio Castro4c0165e2016-05-24 17:53:50 -0700133 "routerMac" : "10:00:00:00:01:03",
Flavio Castro96eaa2e2016-04-23 16:24:47 -0700134 "isEdgeRouter" : false,
135 "adjacencySids" : []
136 }
137 },
138 "of:0000000000000104" : {
139 "basic":{ "driver" : "ofdpa-cpqd" },
140 "segmentrouting" : {
141 "name" : "Spine-R4",
142 "nodeSid" : 104,
143 "routerIp" : "192.168.0.104",
Flavio Castro4c0165e2016-05-24 17:53:50 -0700144 "routerMac" : "10:00:00:00:01:04",
Flavio Castro96eaa2e2016-04-23 16:24:47 -0700145 "isEdgeRouter" : false,
146 "adjacencySids" : []
147 }
148 }
149 },
150 "hosts" : {
151 "00:00:00:00:00:01/-1" : {
152 "basic": {
153 "ips": ["10.0.1.1"],
154 "location": "of:0000000000000001/5"
155 }
156 },
157 "00:00:00:00:00:02/-1" : {
158 "basic": {
159 "ips": ["10.0.1.2"],
160 "location": "of:0000000000000001/6"
161 }
162 },
163 "00:00:00:00:00:03/-1" : {
164 "basic": {
165 "ips": ["10.0.2.1"],
166 "location": "of:0000000000000002/5"
167 }
168 },
169 "00:00:00:00:00:04/-1" : {
170 "basic": {
171 "ips": ["10.0.2.2"],
172 "location": "of:0000000000000002/6"
173 }
174 },
175 "00:00:00:00:00:05/-1" : {
176 "basic": {
177 "ips": ["10.0.3.1"],
178 "location": "of:0000000000000003/5"
179 }
180 },
181 "00:00:00:00:00:06/-1" : {
182 "basic": {
183 "ips": ["10.0.3.2"],
184 "location": "of:0000000000000003/6"
185 }
186 },
187 "00:00:00:00:00:07/-1" : {
188 "basic": {
189 "ips": ["10.0.4.1"],
190 "location": "of:0000000000000004/5"
191 }
192 },
193 "00:00:00:00:00:08/-1" : {
194 "basic": {
195 "ips": ["10.0.4.2"],
196 "location": "of:0000000000000004/6"
197 }
198 }
199 }
200}