blob: 8230261c45f2ab30181b5a1052c992c39f53e473 [file] [log] [blame]
Flavio Castro96eaa2e2016-04-23 16:24:47 -07001{
2 "ports" : {
Flavio Castroab163ca2016-07-07 14:05:00 -07003 "of:0000000000000001/1" : {
Flavio Castro96eaa2e2016-04-23 16:24:47 -07004 "interfaces" : [
5 {
6 "ips" : [ "10.0.1.254/24" ]
7 }
8 ]
9 },
Flavio Castroab163ca2016-07-07 14:05:00 -070010 "of:0000000000000001/2" : {
Flavio Castro96eaa2e2016-04-23 16:24:47 -070011 "interfaces" : [
12 {
13 "ips" : [ "10.0.1.254/24" ]
14 }
15 ]
16 },
Flavio Castroab163ca2016-07-07 14:05:00 -070017 "of:0000000000000001/3" : {
18 "interfaces" : [
19 {
20 "ips" : [ "10.0.1.254/24" ]
21 }
22 ]
23 },
24 "of:0000000000000001/4" : {
25 "interfaces" : [
26 {
27 "ips" : [ "10.0.1.254/24" ]
28 }
29 ]
30 },
31 "of:0000000000000002/1" : {
Flavio Castro96eaa2e2016-04-23 16:24:47 -070032 "interfaces" : [
33 {
34 "ips" : [ "10.0.2.254/24" ]
35 }
36 ]
37 },
Flavio Castroab163ca2016-07-07 14:05:00 -070038 "of:0000000000000002/2" : {
Flavio Castro96eaa2e2016-04-23 16:24:47 -070039 "interfaces" : [
40 {
41 "ips" : [ "10.0.2.254/24" ]
42 }
43 ]
44 },
Flavio Castroab163ca2016-07-07 14:05:00 -070045 "of:0000000000000003/1" : {
Flavio Castro96eaa2e2016-04-23 16:24:47 -070046 "interfaces" : [
47 {
48 "ips" : [ "10.0.3.254/24" ]
49 }
50 ]
51 },
Flavio Castroab163ca2016-07-07 14:05:00 -070052 "of:0000000000000003/2" : {
Flavio Castro96eaa2e2016-04-23 16:24:47 -070053 "interfaces" : [
54 {
55 "ips" : [ "10.0.3.254/24" ]
56 }
57 ]
58 },
Flavio Castroab163ca2016-07-07 14:05:00 -070059 "of:0000000000000004/1" : {
Flavio Castro96eaa2e2016-04-23 16:24:47 -070060 "interfaces" : [
61 {
62 "ips" : [ "10.0.4.254/24" ]
63 }
64 ]
65 },
Flavio Castroab163ca2016-07-07 14:05:00 -070066 "of:0000000000000004/2" : {
Flavio Castro96eaa2e2016-04-23 16:24:47 -070067 "interfaces" : [
68 {
69 "ips" : [ "10.0.4.254/24"]
70 }
71 ]
72 }
73 },
74 "devices" : {
75 "of:0000000000000001" : {
76 "basic":{ "driver" : "ofdpa-cpqd" },
77 "segmentrouting" : {
78 "name" : "Leaf-R1",
79 "nodeSid" : 1,
80 "routerIp" : "192.168.0.1",
Flavio Castro4c0165e2016-05-24 17:53:50 -070081 "routerMac" : "10:00:00:00:00:01",
Flavio Castro96eaa2e2016-04-23 16:24:47 -070082 "isEdgeRouter" : true,
83 "adjacencySids" : []
84 }
85 },
86 "of:0000000000000002" : {
87 "basic":{ "driver" : "ofdpa-cpqd" },
88 "segmentrouting" : {
89 "name" : "Leaf-R2",
90 "nodeSid" : 2,
91 "routerIp" : "192.168.0.2",
Flavio Castro4c0165e2016-05-24 17:53:50 -070092 "routerMac" : "10:00:00:00:00:02",
Flavio Castro96eaa2e2016-04-23 16:24:47 -070093 "isEdgeRouter" : true,
94 "adjacencySids" : []
95 }
96 },
97 "of:0000000000000003" : {
98 "basic" :{ "driver" : "ofdpa-cpqd" },
99 "segmentrouting" : {
100 "name" : "Leaf-R3",
101 "nodeSid" : 3,
102 "routerIp" : "192.168.0.3",
Flavio Castro4c0165e2016-05-24 17:53:50 -0700103 "routerMac" : "10:00:00:00:00:03",
Flavio Castro96eaa2e2016-04-23 16:24:47 -0700104 "isEdgeRouter" : true,
105 "adjacencySids" : []
106 }
107 },
108 "of:0000000000000004" : {
109 "basic":{ "driver" : "ofdpa-cpqd" },
110 "segmentrouting" : {
111 "name" : "Leaf-R4",
112 "nodeSid" : 4,
113 "routerIp" : "192.168.0.4",
Flavio Castro4c0165e2016-05-24 17:53:50 -0700114 "routerMac" : "10:00:00:00:00:04",
Flavio Castro96eaa2e2016-04-23 16:24:47 -0700115 "isEdgeRouter" : true,
116 "adjacencySids" : []
117 }
118 },
119 "of:0000000000000101" : {
120 "basic":{ "driver" : "ofdpa-cpqd" },
121 "segmentrouting" : {
122 "name" : "Spine-R1",
123 "nodeSid" : 101,
124 "routerIp" : "192.168.0.101",
Flavio Castro4c0165e2016-05-24 17:53:50 -0700125 "routerMac" : "10:00:00:00:01:01",
Flavio Castro96eaa2e2016-04-23 16:24:47 -0700126 "isEdgeRouter" : false,
127 "adjacencySids" : []
128 }
129 },
130 "of:0000000000000102" : {
131 "basic":{ "driver" : "ofdpa-cpqd" },
132 "segmentrouting" : {
133 "name" : "Spine-R2",
134 "nodeSid" : 102,
135 "routerIp" : "192.168.0.102",
Flavio Castro4c0165e2016-05-24 17:53:50 -0700136 "routerMac" : "10:00:00:00:01:02",
Flavio Castro96eaa2e2016-04-23 16:24:47 -0700137 "isEdgeRouter" : false,
138 "adjacencySids" : []
139 }
140 },
141 "of:0000000000000103" : {
142 "basic":{ "driver" : "ofdpa-cpqd" },
143 "segmentrouting" : {
144 "name" : "Spine-R3",
145 "nodeSid" : 103,
146 "routerIp" : "192.168.0.103",
Flavio Castro4c0165e2016-05-24 17:53:50 -0700147 "routerMac" : "10:00:00:00:01:03",
Flavio Castro96eaa2e2016-04-23 16:24:47 -0700148 "isEdgeRouter" : false,
149 "adjacencySids" : []
150 }
151 },
152 "of:0000000000000104" : {
153 "basic":{ "driver" : "ofdpa-cpqd" },
154 "segmentrouting" : {
155 "name" : "Spine-R4",
156 "nodeSid" : 104,
157 "routerIp" : "192.168.0.104",
Flavio Castro4c0165e2016-05-24 17:53:50 -0700158 "routerMac" : "10:00:00:00:01:04",
Flavio Castro96eaa2e2016-04-23 16:24:47 -0700159 "isEdgeRouter" : false,
160 "adjacencySids" : []
161 }
162 }
163 },
164 "hosts" : {
165 "00:00:00:00:00:01/-1" : {
166 "basic": {
167 "ips": ["10.0.1.1"],
Flavio Castroab163ca2016-07-07 14:05:00 -0700168 "location": "of:0000000000000001/1"
Flavio Castro96eaa2e2016-04-23 16:24:47 -0700169 }
170 },
171 "00:00:00:00:00:02/-1" : {
172 "basic": {
173 "ips": ["10.0.1.2"],
Flavio Castroab163ca2016-07-07 14:05:00 -0700174 "location": "of:0000000000000001/2"
Flavio Castro96eaa2e2016-04-23 16:24:47 -0700175 }
176 },
177 "00:00:00:00:00:03/-1" : {
178 "basic": {
179 "ips": ["10.0.2.1"],
Flavio Castroab163ca2016-07-07 14:05:00 -0700180 "location": "of:0000000000000002/1"
Flavio Castro96eaa2e2016-04-23 16:24:47 -0700181 }
182 },
183 "00:00:00:00:00:04/-1" : {
184 "basic": {
185 "ips": ["10.0.2.2"],
Flavio Castroab163ca2016-07-07 14:05:00 -0700186 "location": "of:0000000000000002/2"
Flavio Castro96eaa2e2016-04-23 16:24:47 -0700187 }
188 },
189 "00:00:00:00:00:05/-1" : {
190 "basic": {
191 "ips": ["10.0.3.1"],
Flavio Castroab163ca2016-07-07 14:05:00 -0700192 "location": "of:0000000000000003/1"
Flavio Castro96eaa2e2016-04-23 16:24:47 -0700193 }
194 },
195 "00:00:00:00:00:06/-1" : {
196 "basic": {
197 "ips": ["10.0.3.2"],
Flavio Castroab163ca2016-07-07 14:05:00 -0700198 "location": "of:0000000000000003/2"
Flavio Castro96eaa2e2016-04-23 16:24:47 -0700199 }
200 },
201 "00:00:00:00:00:07/-1" : {
202 "basic": {
203 "ips": ["10.0.4.1"],
Flavio Castroab163ca2016-07-07 14:05:00 -0700204 "location": "of:0000000000000004/1"
Flavio Castro96eaa2e2016-04-23 16:24:47 -0700205 }
206 },
207 "00:00:00:00:00:08/-1" : {
208 "basic": {
209 "ips": ["10.0.4.2"],
Flavio Castroab163ca2016-07-07 14:05:00 -0700210 "location": "of:0000000000000004/2"
Flavio Castro96eaa2e2016-04-23 16:24:47 -0700211 }
212 }
Flavio Castroe168f7f2016-06-24 15:53:12 -0700213 },
214 "apps": {
215 "org.onosproject.segmentrouting": {
Flavio Castroab163ca2016-07-07 14:05:00 -0700216 "xconnect": {
217 "of:0000000000000001": [
218 {
219 "vlan": 5,
220 "ports": [5,7],
221 "name": "OLT 1"
222 },
223 {
224 "vlan": 10,
225 "ports": [5,8],
226 "name": "OLT 2"
227 }
228 ]
229 }
Flavio Castroe168f7f2016-06-24 15:53:12 -0700230 }
Flavio Castro96eaa2e2016-04-23 16:24:47 -0700231 }
232}