blob: 9a363cc01535b02a9d91cfea6325ce3563f8d1a7 [file] [log] [blame]
Charles Chand6d581a2015-11-18 16:51:08 -08001{
2 "ports" : {
3 "of:0000000000000001/3" : {
4 "interfaces" : [
5 {
Charles Chana8c31b12016-04-18 20:16:14 -07006 "ips" : [ "10.0.1.254/24" ]
Charles Chand6d581a2015-11-18 16:51:08 -08007 }
8 ]
9 },
10 "of:0000000000000001/4" : {
11 "interfaces" : [
12 {
Charles Chana8c31b12016-04-18 20:16:14 -070013 "ips" : [ "10.0.1.254/24" ]
Charles Chand6d581a2015-11-18 16:51:08 -080014 }
15 ]
16 },
17 "of:0000000000000002/3" : {
18 "interfaces" : [
19 {
Charles Chana8c31b12016-04-18 20:16:14 -070020 "ips" : [ "10.0.2.254/24" ]
Charles Chand6d581a2015-11-18 16:51:08 -080021 }
22 ]
23 },
24 "of:0000000000000002/4" : {
25 "interfaces" : [
26 {
Charles Chana8c31b12016-04-18 20:16:14 -070027 "ips" : [ "10.0.2.254/24" ]
Charles Chand6d581a2015-11-18 16:51:08 -080028 }
29 ]
30 }
31 },
32 "devices" : {
33 "of:0000000000000001" : {
34 "segmentrouting" : {
35 "name" : "Leaf-R1",
36 "nodeSid" : 101,
37 "routerIp" : "10.0.1.254",
38 "routerMac" : "00:00:00:00:01:80",
Charles Chanf5baee82015-12-02 15:33:33 -080039 "isEdgeRouter" : true,
40 "adjacencySids" : []
Charles Chand6d581a2015-11-18 16:51:08 -080041 }
42 },
43 "of:0000000000000002" : {
44 "segmentrouting" : {
45 "name" : "Leaf-R2",
46 "nodeSid" : 102,
47 "routerIp" : "10.0.2.254",
48 "routerMac" : "00:00:00:00:02:80",
Charles Chanf5baee82015-12-02 15:33:33 -080049 "isEdgeRouter" : true,
50 "adjacencySids" : []
Charles Chand6d581a2015-11-18 16:51:08 -080051 }
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",
Charles Chanf5baee82015-12-02 15:33:33 -080059 "isEdgeRouter" : false,
60 "adjacencySids" : []
Charles Chand6d581a2015-11-18 16:51:08 -080061 }
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",
Charles Chanf5baee82015-12-02 15:33:33 -080069 "isEdgeRouter" : false,
70 "adjacencySids" : []
Charles Chand6d581a2015-11-18 16:51:08 -080071 }
72 }
73 },
74 "hosts" : {
Charles Chan5270ed02016-01-30 23:22:37 -080075 "00:00:00:00:00:01/-1" : {
Charles Chand6d581a2015-11-18 16:51:08 -080076 "basic": {
77 "ips": ["10.0.1.1"],
78 "location": "of:0000000000000001/3"
79 }
80 },
Charles Chan5270ed02016-01-30 23:22:37 -080081 "00:00:00:00:00:02/-1" : {
Charles Chand6d581a2015-11-18 16:51:08 -080082 "basic": {
83 "ips": ["10.0.1.2"],
84 "location": "of:0000000000000001/4"
85 }
86 },
Charles Chan5270ed02016-01-30 23:22:37 -080087 "00:00:00:00:00:03/-1" : {
Charles Chand6d581a2015-11-18 16:51:08 -080088 "basic": {
89 "ips": ["10.0.2.1"],
90 "location": "of:0000000000000002/3"
91 }
92 },
Charles Chan5270ed02016-01-30 23:22:37 -080093 "00:00:00:00:00:04/-1" : {
Charles Chand6d581a2015-11-18 16:51:08 -080094 "basic": {
95 "ips": ["10.0.2.2"],
96 "location": "of:0000000000000002/4"
97 }
98 }
99 }
100}