blob: d912f4b93bbe44883a8bcfa453d0ea3063a7ad8b [file] [log] [blame]
Charles Chandd9e5ee2016-07-18 18:17:27 -07001{
2 "ports" : {
3 "of:0000000000000001/1" : {
4 "interfaces" : [
5 {
6 "ips" : [ "10.6.1.0/24" ]
7 }
8 ]
9 },
10 "of:0000000000000001/2" : {
11 "interfaces" : [
12 {
13 "ips" : [ "10.6.1.0/24" ]
14 }
15 ]
16 },
17 "of:0000000000000002/3" : {
18 "interfaces" : [
19 {
20 "ips" : [ "10.6.2.0/24" ]
21 }
22 ]
23 },
24 "of:0000000000000002/4" : {
25 "interfaces" : [
26 {
27 "ips" : [ "10.6.2.0/24" ]
28 }
29 ]
30 }
31 },
32 "devices" : {
33 "of:0000000000000001" : {
34 "segmentrouting" : {
35 "name" : "Leaf-R1",
36 "nodeSid" : 101,
37 "routerIp" : "10.6.1.254",
38 "routerMac" : "00:00:00:00:01:80",
39 "isEdgeRouter" : true,
40 "adjacencySids" : []
41 }
42 },
43 "of:0000000000000002" : {
44 "segmentrouting" : {
45 "name" : "Leaf-R2",
46 "nodeSid" : 102,
47 "routerIp" : "10.6.2.254",
48 "routerMac" : "00:00:00:00:02:80",
49 "isEdgeRouter" : true,
50 "adjacencySids" : []
51 }
52 },
53 "of:0000000000000191" : {
54 "segmentrouting" : {
55 "name" : "Spine-R1",
56 "nodeSid" : 103,
57 "routerIp" : "192.168.0.11",
58 "routerMac" : "00:00:01:00:11:80",
59 "isEdgeRouter" : false,
60 "adjacencySids" : []
61 }
62 },
63 "of:0000000000000192" : {
64 "segmentrouting" : {
65 "name" : "Spine-R2",
66 "nodeSid" : 104,
67 "routerIp" : "192.168.0.22",
68 "routerMac" : "00:00:01:00:22:80",
69 "isEdgeRouter" : false,
70 "adjacencySids" : []
71 }
72 }
73 },
74 "hosts" : {
75 "00:00:00:00:00:01/-1" : {
76 "basic": {
77 "ips": ["10.6.1.1"],
78 "location": "of:0000000000000001/1"
79 }
80 },
81 "00:00:00:00:00:02/-1" : {
82 "basic": {
83 "ips": ["10.6.1.2"],
84 "location": "of:0000000000000001/2"
85 }
86 },
87 "00:00:00:00:00:03/-1" : {
88 "basic": {
89 "ips": ["10.6.2.1"],
90 "location": "of:0000000000000002/3"
91 }
92 },
93 "00:00:00:00:00:04/-1" : {
94 "basic": {
95 "ips": ["10.6.2.2"],
96 "location": "of:0000000000000002/4"
97 }
98 }
99 }
100}