blob: 80b349bae187eb2b324956750a9e738fac248401 [file] [log] [blame]
Charles Chanf5baee82015-12-02 15:33:33 -08001{
2 "ports" : {
3 "of:0000000000000001/5" : {
4 "interfaces" : [
5 {
6 "ips" : [ "10.0.1.254/24" ],
Charles Chane849c192016-01-11 18:28:54 -08007 "vlan" : "-1"
Charles Chanf5baee82015-12-02 15:33:33 -08008 }
9 ]
10 },
11 "of:0000000000000001/6" : {
12 "interfaces" : [
13 {
14 "ips" : [ "10.0.1.254/24" ],
Charles Chane849c192016-01-11 18:28:54 -080015 "vlan" : "-1"
Charles Chanf5baee82015-12-02 15:33:33 -080016 }
17 ]
18 },
19 "of:0000000000000002/5" : {
20 "interfaces" : [
21 {
22 "ips" : [ "10.0.2.254/24" ],
Charles Chane849c192016-01-11 18:28:54 -080023 "vlan" : "-1"
Charles Chanf5baee82015-12-02 15:33:33 -080024 }
25 ]
26 },
27 "of:0000000000000002/6" : {
28 "interfaces" : [
29 {
30 "ips" : [ "10.0.2.254/24" ],
Charles Chane849c192016-01-11 18:28:54 -080031 "vlan" : "-1"
Charles Chanf5baee82015-12-02 15:33:33 -080032 }
33 ]
34 },
35 "of:0000000000000003/5" : {
36 "interfaces" : [
37 {
38 "ips" : [ "10.0.3.254/24" ],
Charles Chane849c192016-01-11 18:28:54 -080039 "vlan" : "-1"
Charles Chanf5baee82015-12-02 15:33:33 -080040 }
41 ]
42 },
43 "of:0000000000000003/6" : {
44 "interfaces" : [
45 {
46 "ips" : [ "10.0.3.254/24" ],
Charles Chane849c192016-01-11 18:28:54 -080047 "vlan" : "-1"
Charles Chanf5baee82015-12-02 15:33:33 -080048 }
49 ]
50 },
51 "of:0000000000000004/5" : {
52 "interfaces" : [
53 {
54 "ips" : [ "10.0.4.254/24" ],
Charles Chane849c192016-01-11 18:28:54 -080055 "vlan" : "-1"
Charles Chanf5baee82015-12-02 15:33:33 -080056 }
57 ]
58 },
59 "of:0000000000000004/6" : {
60 "interfaces" : [
61 {
62 "ips" : [ "10.0.4.254/24" ],
Charles Chane849c192016-01-11 18:28:54 -080063 "vlan" : "-1"
Charles Chanf5baee82015-12-02 15:33:33 -080064 }
65 ]
66 }
67 },
68 "devices" : {
69 "of:0000000000000001" : {
70 "segmentrouting" : {
71 "name" : "Leaf-R1",
72 "nodeSid" : 101,
73 "routerIp" : "10.0.1.254",
74 "routerMac" : "00:00:00:00:01:80",
75 "isEdgeRouter" : true,
76 "adjacencySids" : []
77 }
78 },
79 "of:0000000000000002" : {
80 "segmentrouting" : {
81 "name" : "Leaf-R2",
82 "nodeSid" : 102,
83 "routerIp" : "10.0.2.254",
84 "routerMac" : "00:00:00:00:02:80",
85 "isEdgeRouter" : true,
86 "adjacencySids" : []
87 }
88 },
89 "of:0000000000000003" : {
90 "segmentrouting" : {
91 "name" : "Leaf-R3",
92 "nodeSid" : 103,
93 "routerIp" : "10.0.3.254",
94 "routerMac" : "00:00:00:00:03:80",
95 "isEdgeRouter" : true,
96 "adjacencySids" : []
97 }
98 },
99 "of:0000000000000004" : {
100 "segmentrouting" : {
101 "name" : "Leaf-R4",
102 "nodeSid" : 104,
103 "routerIp" : "10.0.4.254",
104 "routerMac" : "00:00:00:00:04:80",
105 "isEdgeRouter" : true,
106 "adjacencySids" : []
107 }
108 },
109 "of:0000000000000191" : {
110 "segmentrouting" : {
111 "name" : "Spine-R1",
112 "nodeSid" : 105,
113 "routerIp" : "192.168.0.11",
114 "routerMac" : "00:00:01:00:11:80",
115 "isEdgeRouter" : false,
116 "adjacencySids" : []
117 }
118 },
119 "of:0000000000000192" : {
120 "segmentrouting" : {
121 "name" : "Spine-R2",
122 "nodeSid" : 106,
123 "routerIp" : "192.168.0.22",
124 "routerMac" : "00:00:01:00:22:80",
125 "isEdgeRouter" : false,
126 "adjacencySids" : []
127 }
128 },
129 "of:0000000000000193" : {
130 "segmentrouting" : {
131 "name" : "Spine-R3",
132 "nodeSid" : 107,
133 "routerIp" : "192.168.0.33",
134 "routerMac" : "00:00:03:00:33:80",
135 "isEdgeRouter" : false,
136 "adjacencySids" : []
137 }
138 },
139 "of:0000000000000194" : {
140 "segmentrouting" : {
141 "name" : "Spine-R4",
142 "nodeSid" : 108,
143 "routerIp" : "192.168.0.44",
144 "routerMac" : "00:00:04:00:44:80",
145 "isEdgeRouter" : false,
146 "adjacencySids" : []
147 }
148 }
149 },
150 "hosts" : {
Charles Chan5270ed02016-01-30 23:22:37 -0800151 "00:00:00:00:00:01/-1" : {
Charles Chanf5baee82015-12-02 15:33:33 -0800152 "basic": {
153 "ips": ["10.0.1.1"],
154 "location": "of:0000000000000001/5"
155 }
156 },
Charles Chan5270ed02016-01-30 23:22:37 -0800157 "00:00:00:00:00:02/-1" : {
Charles Chanf5baee82015-12-02 15:33:33 -0800158 "basic": {
159 "ips": ["10.0.1.2"],
160 "location": "of:0000000000000001/6"
161 }
162 },
Charles Chan5270ed02016-01-30 23:22:37 -0800163 "00:00:00:00:00:03/-1" : {
Charles Chanf5baee82015-12-02 15:33:33 -0800164 "basic": {
165 "ips": ["10.0.2.1"],
166 "location": "of:0000000000000002/5"
167 }
168 },
Charles Chan5270ed02016-01-30 23:22:37 -0800169 "00:00:00:00:00:04/-1" : {
Charles Chanf5baee82015-12-02 15:33:33 -0800170 "basic": {
171 "ips": ["10.0.2.2"],
172 "location": "of:0000000000000002/6"
173 }
174 },
Charles Chan5270ed02016-01-30 23:22:37 -0800175 "00:00:00:00:00:05/-1" : {
Charles Chanf5baee82015-12-02 15:33:33 -0800176 "basic": {
177 "ips": ["10.0.3.1"],
178 "location": "of:0000000000000003/5"
179 }
180 },
Charles Chan5270ed02016-01-30 23:22:37 -0800181 "00:00:00:00:00:06/-1" : {
Charles Chanf5baee82015-12-02 15:33:33 -0800182 "basic": {
183 "ips": ["10.0.3.2"],
184 "location": "of:0000000000000003/6"
185 }
186 },
Charles Chan5270ed02016-01-30 23:22:37 -0800187 "00:00:00:00:00:07/-1" : {
Charles Chanf5baee82015-12-02 15:33:33 -0800188 "basic": {
189 "ips": ["10.0.4.1"],
190 "location": "of:0000000000000004/5"
191 }
192 },
Charles Chan5270ed02016-01-30 23:22:37 -0800193 "00:00:00:00:00:08/-1" : {
Charles Chanf5baee82015-12-02 15:33:33 -0800194 "basic": {
195 "ips": ["10.0.4.2"],
196 "location": "of:0000000000000004/6"
197 }
198 }
199 }
200}