blob: c7ba9c823fcb8c747c170b61182735c2e2a01e69 [file] [log] [blame]
Lee Yongjae7c27bb42017-11-17 12:00:45 +09001{
Jian Lie2d87512018-08-23 17:33:05 +09002 "devices": {
3 "of:0000000000000011": {
4 "basic": {
5 "name": "LS1",
6 "latitude": 35,
7 "longitude": -100
8 }
9 },
10 "of:0000000000000012": {
11 "basic": {
12 "name": "LS2",
13 "latitude": 35,
14 "longitude": -90
15 }
16 },
17 "of:0000000000000021": {
18 "basic": {
19 "name": "SS1",
20 "latitude": 40,
21 "longitude": -100
22 }
23 },
24 "of:0000000000000022": {
25 "basic": {
26 "name": "SS2",
27 "latitude": 40,
28 "longitude": -90
29 }
30 }
Lee Yongjae7c27bb42017-11-17 12:00:45 +090031 },
Jian Lie2d87512018-08-23 17:33:05 +090032 "ports": {
33 "of:0000000000000011/1": {
34 "interfaces": [
35 {
36 "name": "h11"
37 }
38 ]
39 },
40 "of:0000000000000011/2": {
41 "interfaces": [
42 {
43 "name": "h12"
44 }
45 ]
46 },
47 "of:0000000000000011/3": {
48 "interfaces": [
49 {
50 "name": "h13"
51 }
52 ]
53 },
54 "of:0000000000000011/4": {
55 "interfaces": [
56 {
57 "name": "h14"
58 }
59 ]
60 },
61 "of:0000000000000011/5": {
62 "interfaces": [
63 {
64 "name": "d11"
65 }
66 ]
67 },
68 "of:0000000000000011/6": {
69 "interfaces": [
70 {
71 "name": "d12"
72 }
73 ]
74 },
75 "of:0000000000000011/7": {
76 "interfaces": [
77 {
78 "name": "LS1_SS1"
79 }
80 ]
81 },
82 "of:0000000000000011/8": {
83 "interfaces": [
84 {
85 "name": "LS1_SS2"
86 }
87 ]
88 },
89 "of:0000000000000012/1": {
90 "interfaces": [
91 {
92 "name": "h21"
93 }
94 ]
95 },
96 "of:0000000000000012/2": {
97 "interfaces": [
98 {
99 "name": "h22"
100 }
101 ]
102 },
103 "of:0000000000000012/3": {
104 "interfaces": [
105 {
106 "name": "h23"
107 }
108 ]
109 },
110 "of:0000000000000012/4": {
111 "interfaces": [
112 {
113 "name": "h24"
114 }
115 ]
116 },
117 "of:0000000000000012/5": {
118 "interfaces": [
119 {
120 "name": "d21"
121 }
122 ]
123 },
124 "of:0000000000000012/6": {
125 "interfaces": [
126 {
127 "name": "d22"
128 }
129 ]
130 },
131 "of:0000000000000012/7": {
132 "interfaces": [
133 {
134 "name": "LS2_SS1"
135 }
136 ]
137 },
138 "of:0000000000000012/8": {
139 "interfaces": [
140 {
141 "name": "LS2_SS2"
142 }
143 ]
144 },
145 "of:0000000000000021/1": {
146 "interfaces": [
147 {
148 "name": "SS1_LS1"
149 }
150 ]
151 },
152 "of:0000000000000021/2": {
153 "interfaces": [
154 {
155 "name": "SS1_LS2"
156 }
157 ]
158 },
159 "of:0000000000000022/1": {
160 "interfaces": [
161 {
162 "name": "SS2_LS1"
163 }
164 ]
165 },
166 "of:0000000000000022/2": {
167 "interfaces": [
168 {
169 "name": "SS2_LS2"
170 }
171 ]
172 }
Lee Yongjae7c27bb42017-11-17 12:00:45 +0900173 },
Jian Lie2d87512018-08-23 17:33:05 +0900174 "apps": {
175 "org.onosproject.simplefabric": {
176 "simpleFabric": {
177 "fabricNetworks": [
178 {
179 "name": "LEAF1",
180 "interfaces": [
181 "h11",
182 "h12",
183 "h13",
184 "h14",
185 "d11",
186 "d12"
187 ],
188 "isForward": true,
189 "isBroadcast": true
190 },
191 {
192 "name": "LEAF2",
193 "interfaces": [
194 "h21",
195 "h22",
196 "h23",
197 "h24",
198 "d21",
199 "d22"
200 ],
201 "isForward": true,
202 "isBroadcast": true
203 }
Lee Yongjae7c27bb42017-11-17 12:00:45 +0900204 ],
Jian Lie2d87512018-08-23 17:33:05 +0900205 "fabricSubnets": [
206 {
207 "prefix": "10.0.1.0/24",
208 "gatewayIp": "10.0.1.1",
209 "gatewayMac": "00:00:10:00:01:01",
210 "networkName": "LEAF1"
211 },
212 {
213 "prefix": "10.0.2.0/24",
214 "gatewayIp": "10.0.2.1",
215 "gatewayMac": "00:00:10:00:02:01",
216 "networkName": "LEAF2"
217 }
Lee Yongjae7c27bb42017-11-17 12:00:45 +0900218 ],
Jian Lie2d87512018-08-23 17:33:05 +0900219 "fabricRoutes": [
220 {
221 "prefix": "0.0.0.0/0",
222 "nextHop": "10.0.1.2"
223 }
Lee Yongjae7c27bb42017-11-17 12:00:45 +0900224 ]
225 }
226 }
227 }
Lee Yongjae7c27bb42017-11-17 12:00:45 +0900228}
229