blob: 1c010ef1b9442172c2c3c5a82e946956399500fd [file] [log] [blame]
Jon Hall6e098702021-06-28 15:56:20 -07001{
2 "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"
15 }
16 },
17 "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"
29 }
30 },
31 "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"
43 }
44 },
45 "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"
81 }
82 }
83 },
84 "hosts":{
85 "00:AA:00:00:00:01/None":{
86 "basic":{
87 "ips":[
88 "10.0.2.1"
89 ],
90 "locations":[
91 "of:0000000000000001/6",
92 "of:0000000000000002/6"
93 ]
94 }
95 },
96 "00:AA:00:00:00:02/None":{
97 "basic":{
98 "ips":[
99 "10.0.2.2"
100 ],
101 "locations":[
102 "of:0000000000000001/7",
103 "of:0000000000000002/7"
104 ]
105 }
106 },
107 "00:AA:00:00:00:03/None":{
108 "basic":{
109 "ips":[
110 "10.0.3.1"
111 ],
112 "locations":[
113 "of:0000000000000003/6",
114 "of:0000000000000004/6"
115 ]
116 }
117 },
118 "00:AA:00:00:00:04/None":{
119 "basic":{
120 "ips":[
121 "10.0.3.2"
122 ],
123 "locations":[
124 "of:0000000000000003/7",
125 "of:0000000000000004/7"
126 ]
127 }
128 }
129 },
130 "ports":{
131 "of:0000000000000001/6":{
132 "interfaces":[
133 {
134 "ips":[
135 "10.0.2.254/24"
136 ],
137 "vlan-untagged":10
138 }
139 ]
140 },
141 "of:0000000000000001/7":{
142 "interfaces":[
143 {
144 "ips":[
145 "10.0.2.254/24"
146 ],
147 "vlan-untagged":10
148 }
149 ]
150 },
151 "of:0000000000000002/6":{
152 "interfaces":[
153 {
154 "ips":[
155 "10.0.2.254/24"
156 ],
157 "vlan-untagged":10
158 }
159 ]
160 },
161 "of:0000000000000002/7":{
162 "interfaces":[
163 {
164 "ips":[
165 "10.0.2.254/24"
166 ],
167 "vlan-untagged":10
168 }
169 ]
170 },
171 "of:0000000000000003/6":{
172 "interfaces":[
173 {
174 "ips":[
175 "10.0.3.254/24"
176 ],
177 "vlan-untagged":20
178 }
179 ]
180 },
181 "of:0000000000000003/7":{
182 "interfaces":[
183 {
184 "ips":[
185 "10.0.3.254/24"
186 ],
187 "vlan-untagged":20
188 }
189 ]
190 },
191 "of:0000000000000004/6":{
192 "interfaces":[
193 {
194 "ips":[
195 "10.0.3.254/24"
196 ],
197 "vlan-untagged":20
198 }
199 ]
200 },
201 "of:0000000000000004/7":{
202 "interfaces":[
203 {
204 "ips":[
205 "10.0.3.254/24"
206 ],
207 "vlan-untagged":20
208 }
209 ]
210 }
211 }
212}