blob: a5ec00d574528f52a6bdbaaa7e1aa50eeff889fb [file] [log] [blame]
Flavio Castrocc38a542016-03-03 13:15:46 -08001{
2 "ports" : {
3 "of:0000000000000001/3" : {
4 "interfaces" : [
5 {
6 "ips" : [ "10.0.1.254/24" ]
7 }
8 ]
9 },
10 "of:0000000000000001/4" : {
11 "interfaces" : [
12 {
13 "ips" : [ "10.0.1.254/24" ]
14 }
15 ]
16 },
17 "of:0000000000000002/3" : {
18 "interfaces" : [
19 {
20 "ips" : [ "10.0.2.254/24" ]
21 }
22 ]
23 },
24 "of:0000000000000002/4" : {
25 "interfaces" : [
26 {
27 "ips" : [ "10.0.2.254/24" ]
28 }
29 ]
30 }
31 },
32 "devices" : {
33 "of:0000000000000001" : {
34 "basic":{ "driver" : "ofdpa-cpqd" },
35 "segmentrouting" : {
36 "name" : "Leaf-R1",
37 "nodeSid" : 1,
38 "routerIp" : "192.168.0.1",
Flavio Castro4c0165e2016-05-24 17:53:50 -070039 "routerMac" : "10:00:00:00:00:01",
Flavio Castrocc38a542016-03-03 13:15:46 -080040 "isEdgeRouter" : true,
41 "adjacencySids" : []
42 }
43 },
44 "of:0000000000000002" : {
45 "basic":{ "driver" : "ofdpa-cpqd" },
46 "segmentrouting" : {
47 "name" : "Leaf-R2",
48 "nodeSid" : 2,
49 "routerIp" : "192.168.0.2",
Flavio Castro4c0165e2016-05-24 17:53:50 -070050 "routerMac" : "10:00:00:00:00:02",
Flavio Castrocc38a542016-03-03 13:15:46 -080051 "isEdgeRouter" : true,
52 "adjacencySids" : []
53 }
54 },
55 "of:0000000000000101" : {
56 "basic":{ "driver" : "ofdpa-cpqd" },
57 "segmentrouting" : {
58 "name" : "Spine-R1",
59 "nodeSid" : 101,
60 "routerIp" : "192.168.0.101",
Flavio Castro4c0165e2016-05-24 17:53:50 -070061 "routerMac" : "10:00:00:00:01:01",
Flavio Castrocc38a542016-03-03 13:15:46 -080062 "isEdgeRouter" : false,
63 "adjacencySids" : []
64 }
65 },
66 "of:0000000000000102" : {
67 "basic":{ "driver" : "ofdpa-cpqd" },
68 "segmentrouting" : {
69 "name" : "Spine-R2",
70 "nodeSid" : 102,
71 "routerIp" : "192.168.0.102",
Flavio Castro4c0165e2016-05-24 17:53:50 -070072 "routerMac" : "10:00:00:00:01:02",
Flavio Castrocc38a542016-03-03 13:15:46 -080073 "isEdgeRouter" : false,
74 "adjacencySids" : []
75 }
76 }
77 },
78 "hosts" : {
Flavio Castro4cd37c12016-03-28 07:39:16 -070079 "00:00:00:00:00:01/-1" : {
Flavio Castrocc38a542016-03-03 13:15:46 -080080 "basic": {
81 "ips": ["10.0.1.1"],
82 "location": "of:0000000000000001/3"
83 }
84 },
Flavio Castro4cd37c12016-03-28 07:39:16 -070085 "00:00:00:00:00:02/-1" : {
Flavio Castrocc38a542016-03-03 13:15:46 -080086 "basic": {
87 "ips": ["10.0.1.2"],
88 "location": "of:0000000000000001/4"
89 }
90 },
Flavio Castro4cd37c12016-03-28 07:39:16 -070091 "00:00:00:00:00:03/-1" : {
Flavio Castrocc38a542016-03-03 13:15:46 -080092 "basic": {
93 "ips": ["10.0.2.1"],
94 "location": "of:0000000000000002/3"
95 }
96 },
Flavio Castro4cd37c12016-03-28 07:39:16 -070097 "00:00:00:00:00:04/-1" : {
Flavio Castrocc38a542016-03-03 13:15:46 -080098 "basic": {
99 "ips": ["10.0.2.2"],
100 "location": "of:0000000000000002/4"
101 }
102 }
103 }
104}