blob: d4ab3d1dfc09a9c6515ce18b071672fdfc4a1d6c [file] [log] [blame]
Charles Chand6d581a2015-11-18 16:51:08 -08001{
2 "ports" : {
3 "of:0000000000000001/3" : {
4 "interfaces" : [
5 {
6 "ips" : [ "10.0.1.254/24" ],
Charles Chane849c192016-01-11 18:28:54 -08007 "vlan" : "-1"
Charles Chand6d581a2015-11-18 16:51:08 -08008 }
9 ]
10 },
11 "of:0000000000000001/4" : {
12 "interfaces" : [
13 {
14 "ips" : [ "10.0.1.254/24" ],
Charles Chane849c192016-01-11 18:28:54 -080015 "vlan" : "-1"
Charles Chand6d581a2015-11-18 16:51:08 -080016 }
17 ]
18 },
19 "of:0000000000000002/3" : {
20 "interfaces" : [
21 {
22 "ips" : [ "10.0.2.254/24" ],
Charles Chane849c192016-01-11 18:28:54 -080023 "vlan" : "-1"
Charles Chand6d581a2015-11-18 16:51:08 -080024 }
25 ]
26 },
27 "of:0000000000000002/4" : {
28 "interfaces" : [
29 {
30 "ips" : [ "10.0.2.254/24" ],
Charles Chane849c192016-01-11 18:28:54 -080031 "vlan" : "-1"
Charles Chand6d581a2015-11-18 16:51:08 -080032 }
33 ]
34 }
35 },
36 "devices" : {
37 "of:0000000000000001" : {
38 "segmentrouting" : {
39 "name" : "Leaf-R1",
40 "nodeSid" : 101,
41 "routerIp" : "10.0.1.254",
42 "routerMac" : "00:00:00:00:01:80",
Charles Chanf5baee82015-12-02 15:33:33 -080043 "isEdgeRouter" : true,
44 "adjacencySids" : []
Charles Chand6d581a2015-11-18 16:51:08 -080045 }
46 },
47 "of:0000000000000002" : {
48 "segmentrouting" : {
49 "name" : "Leaf-R2",
50 "nodeSid" : 102,
51 "routerIp" : "10.0.2.254",
52 "routerMac" : "00:00:00:00:02:80",
Charles Chanf5baee82015-12-02 15:33:33 -080053 "isEdgeRouter" : true,
54 "adjacencySids" : []
Charles Chand6d581a2015-11-18 16:51:08 -080055 }
56 },
57 "of:0000000000000191" : {
58 "segmentrouting" : {
59 "name" : "Spine-R1",
60 "nodeSid" : 103,
61 "routerIp" : "192.168.0.11",
62 "routerMac" : "00:00:01:00:11:80",
Charles Chanf5baee82015-12-02 15:33:33 -080063 "isEdgeRouter" : false,
64 "adjacencySids" : []
Charles Chand6d581a2015-11-18 16:51:08 -080065 }
66 },
67 "of:0000000000000192" : {
68 "segmentrouting" : {
69 "name" : "Spine-R2",
70 "nodeSid" : 104,
71 "routerIp" : "192.168.0.22",
72 "routerMac" : "00:00:01:00:22:80",
Charles Chanf5baee82015-12-02 15:33:33 -080073 "isEdgeRouter" : false,
74 "adjacencySids" : []
Charles Chand6d581a2015-11-18 16:51:08 -080075 }
76 }
77 },
78 "hosts" : {
79 "00:00:00:00:00:01/4093" : {
80 "basic": {
81 "ips": ["10.0.1.1"],
82 "location": "of:0000000000000001/3"
83 }
84 },
85 "00:00:00:00:00:02/4093" : {
86 "basic": {
87 "ips": ["10.0.1.2"],
88 "location": "of:0000000000000001/4"
89 }
90 },
91 "00:00:00:00:00:03/4093" : {
92 "basic": {
93 "ips": ["10.0.2.1"],
94 "location": "of:0000000000000002/3"
95 }
96 },
97 "00:00:00:00:00:04/4093" : {
98 "basic": {
99 "ips": ["10.0.2.2"],
100 "location": "of:0000000000000002/4"
101 }
102 }
103 }
104}