blob: efb9445de5726d1bb839da2a6d30dac99433239e [file] [log] [blame]
Jonghwan Hyun3731d6a2017-10-19 11:59:31 -07001{
Jon Hall2161a212020-09-16 11:29:27 -07002 "devices":{
3 "of:0000000000000001":{
4 "basic":{
5 "driver":"ofdpa-ovs"
6 },
7 "segmentrouting":{
8 "adjacencySids":[],
9 "ipv4Loopback":"192.168.0.1",
10 "ipv4NodeSid":201,
11 "isEdgeRouter":true,
12 "pairDeviceId":"of:0000000000000002",
13 "pairLocalPort":5,
14 "routerMac":"00:00:00:00:00:01"
Jonghwan Hyun3731d6a2017-10-19 11:59:31 -070015 }
16 },
Jon Hall2161a212020-09-16 11:29:27 -070017 "of:0000000000000002":{
18 "basic":{
19 "driver":"ofdpa-ovs"
20 },
21 "segmentrouting":{
22 "adjacencySids":[],
23 "ipv4Loopback":"192.168.0.2",
24 "ipv4NodeSid":202,
25 "isEdgeRouter":true,
26 "pairDeviceId":"of:0000000000000001",
27 "pairLocalPort":5,
28 "routerMac":"00:00:00:00:00:01"
Jonghwan Hyun3731d6a2017-10-19 11:59:31 -070029 }
30 },
Jon Hall2161a212020-09-16 11:29:27 -070031 "of:0000000000000003":{
32 "basic":{
33 "driver":"ofdpa-ovs"
34 },
35 "segmentrouting":{
36 "adjacencySids":[],
37 "ipv4Loopback":"192.168.0.3",
38 "ipv4NodeSid":203,
39 "isEdgeRouter":true,
40 "pairDeviceId":"of:0000000000000004",
41 "pairLocalPort":5,
42 "routerMac":"00:00:00:00:00:02"
Jonghwan Hyun3731d6a2017-10-19 11:59:31 -070043 }
44 },
Jon Hall2161a212020-09-16 11:29:27 -070045 "of:0000000000000004":{
46 "basic":{
47 "driver":"ofdpa-ovs"
48 },
49 "segmentrouting":{
50 "adjacencySids":[],
51 "ipv4Loopback":"192.168.0.4",
52 "ipv4NodeSid":204,
53 "isEdgeRouter":true,
54 "pairDeviceId":"of:0000000000000003",
55 "pairLocalPort":5,
56 "routerMac":"00:00:00:00:00:02"
57 }
58 },
59 "of:0000000000000101":{
60 "basic":{
61 "driver":"ofdpa-ovs"
62 },
63 "segmentrouting":{
64 "adjacencySids":[],
65 "ipv4Loopback":"192.168.0.101",
66 "ipv4NodeSid":101,
67 "isEdgeRouter":false,
68 "routerMac":"00:00:00:00:01:01"
69 }
70 },
71 "of:0000000000000102":{
72 "basic":{
73 "driver":"ofdpa-ovs"
74 },
75 "segmentrouting":{
76 "adjacencySids":[],
77 "ipv4Loopback":"192.168.0.102",
78 "ipv4NodeSid":102,
79 "isEdgeRouter":false,
80 "routerMac":"00:00:00:00:01:02"
Jonghwan Hyun3731d6a2017-10-19 11:59:31 -070081 }
82 }
83 },
Jon Hall2161a212020-09-16 11:29:27 -070084 "hosts":{
85 "00:aa:00:00:00:01/10":{
86 "basic":{
87 "ips":[
88 "10.0.2.1"
89 ],
90 "locations":[
91 "of:0000000000000001/6",
92 "of:0000000000000002/6"
93 ]
Jonghwan Hyun3731d6a2017-10-19 11:59:31 -070094 }
95 },
Jon Hall2161a212020-09-16 11:29:27 -070096 "00:aa:00:00:00:02/10":{
97 "basic":{
98 "ips":[
99 "10.0.2.2"
100 ],
101 "locations":[
102 "of:0000000000000001/7",
103 "of:0000000000000002/7"
104 ]
Jonghwan Hyun3731d6a2017-10-19 11:59:31 -0700105 }
106 },
Jon Hall2161a212020-09-16 11:29:27 -0700107 "00:aa:00:00:00:03/20":{
108 "basic":{
109 "ips":[
110 "10.0.3.1"
111 ],
112 "locations":[
113 "of:0000000000000003/6",
114 "of:0000000000000004/6"
115 ]
Jonghwan Hyun3731d6a2017-10-19 11:59:31 -0700116 }
117 },
Jon Hall2161a212020-09-16 11:29:27 -0700118 "00:aa:00:00:00:04/20":{
119 "basic":{
120 "ips":[
121 "10.0.3.2"
122 ],
123 "locations":[
124 "of:0000000000000003/7",
125 "of:0000000000000004/7"
126 ]
Jonghwan Hyun3731d6a2017-10-19 11:59:31 -0700127 }
Jon Hall2161a212020-09-16 11:29:27 -0700128 }
129 },
130 "ports":{
131 "of:0000000000000001/6":{
132 "interfaces":[
133 {
134 "ips":[
135 "10.0.2.254/24"
136 ],
137 "vlan-tagged":[
138 10
139 ]
140 }
141 ]
Jonghwan Hyun3731d6a2017-10-19 11:59:31 -0700142 },
Jon Hall2161a212020-09-16 11:29:27 -0700143 "of:0000000000000001/7":{
144 "interfaces":[
145 {
146 "ips":[
147 "10.0.2.254/24"
148 ],
149 "vlan-tagged":[
150 10
151 ]
152 }
153 ]
Jonghwan Hyun3731d6a2017-10-19 11:59:31 -0700154 },
Jon Hall2161a212020-09-16 11:29:27 -0700155 "of:0000000000000002/6":{
156 "interfaces":[
157 {
158 "ips":[
159 "10.0.2.254/24"
160 ],
161 "vlan-tagged":[
162 10
163 ]
164 }
165 ]
166 },
167 "of:0000000000000002/7":{
168 "interfaces":[
169 {
170 "ips":[
171 "10.0.2.254/24"
172 ],
173 "vlan-tagged":[
174 10
175 ]
176 }
177 ]
178 },
179 "of:0000000000000003/6":{
180 "interfaces":[
181 {
182 "ips":[
183 "10.0.3.254/24"
184 ],
185 "vlan-tagged":[
186 20
187 ]
188 }
189 ]
190 },
191 "of:0000000000000003/7":{
192 "interfaces":[
193 {
194 "ips":[
195 "10.0.3.254/24"
196 ],
197 "vlan-tagged":[
198 20
199 ]
200 }
201 ]
202 },
203 "of:0000000000000004/6":{
204 "interfaces":[
205 {
206 "ips":[
207 "10.0.3.254/24"
208 ],
209 "vlan-tagged":[
210 20
211 ]
212 }
213 ]
214 },
215 "of:0000000000000004/7":{
216 "interfaces":[
217 {
218 "ips":[
219 "10.0.3.254/24"
220 ],
221 "vlan-tagged":[
222 20
223 ]
224 }
225 ]
Jonghwan Hyun3731d6a2017-10-19 11:59:31 -0700226 }
227 }
Jon Hall2161a212020-09-16 11:29:27 -0700228}