blob: 433b59434ea2d1b8316571ec019eaa5bfefea5e6 [file] [log] [blame]
Flavio Castrocc38a542016-03-03 13:15:46 -08001{
2 "ports" : {
Flavio Castroab163ca2016-07-07 14:05:00 -07003 "of:0000000000000001/1" : {
4 "interfaces" : [
5 {
6 "ips" : [ "10.0.1.254/24" ]
7 }
8 ]
9 },
10 "of:0000000000000001/2" : {
11 "interfaces" : [
12 {
13 "ips" : [ "10.0.1.254/24" ]
14 }
15 ]
16 },
Flavio Castrocc38a542016-03-03 13:15:46 -080017 "of:0000000000000001/3" : {
18 "interfaces" : [
19 {
20 "ips" : [ "10.0.1.254/24" ]
21 }
22 ]
23 },
24 "of:0000000000000001/4" : {
25 "interfaces" : [
26 {
27 "ips" : [ "10.0.1.254/24" ]
28 }
29 ]
30 },
Flavio Castroab163ca2016-07-07 14:05:00 -070031 "of:0000000000000002/1" : {
Flavio Castrocc38a542016-03-03 13:15:46 -080032 "interfaces" : [
33 {
34 "ips" : [ "10.0.2.254/24" ]
35 }
36 ]
37 },
Flavio Castroab163ca2016-07-07 14:05:00 -070038 "of:0000000000000002/2" : {
Flavio Castrocc38a542016-03-03 13:15:46 -080039 "interfaces" : [
40 {
41 "ips" : [ "10.0.2.254/24" ]
42 }
43 ]
44 }
45 },
46 "devices" : {
47 "of:0000000000000001" : {
48 "basic":{ "driver" : "ofdpa-cpqd" },
49 "segmentrouting" : {
50 "name" : "Leaf-R1",
51 "nodeSid" : 1,
52 "routerIp" : "192.168.0.1",
Flavio Castro4c0165e2016-05-24 17:53:50 -070053 "routerMac" : "10:00:00:00:00:01",
Flavio Castrocc38a542016-03-03 13:15:46 -080054 "isEdgeRouter" : true,
55 "adjacencySids" : []
56 }
57 },
58 "of:0000000000000002" : {
59 "basic":{ "driver" : "ofdpa-cpqd" },
60 "segmentrouting" : {
61 "name" : "Leaf-R2",
62 "nodeSid" : 2,
63 "routerIp" : "192.168.0.2",
Flavio Castro4c0165e2016-05-24 17:53:50 -070064 "routerMac" : "10:00:00:00:00:02",
Flavio Castrocc38a542016-03-03 13:15:46 -080065 "isEdgeRouter" : true,
66 "adjacencySids" : []
67 }
68 },
69 "of:0000000000000101" : {
70 "basic":{ "driver" : "ofdpa-cpqd" },
71 "segmentrouting" : {
72 "name" : "Spine-R1",
73 "nodeSid" : 101,
74 "routerIp" : "192.168.0.101",
Flavio Castro4c0165e2016-05-24 17:53:50 -070075 "routerMac" : "10:00:00:00:01:01",
Flavio Castrocc38a542016-03-03 13:15:46 -080076 "isEdgeRouter" : false,
77 "adjacencySids" : []
78 }
79 },
80 "of:0000000000000102" : {
81 "basic":{ "driver" : "ofdpa-cpqd" },
82 "segmentrouting" : {
83 "name" : "Spine-R2",
84 "nodeSid" : 102,
85 "routerIp" : "192.168.0.102",
Flavio Castro4c0165e2016-05-24 17:53:50 -070086 "routerMac" : "10:00:00:00:01:02",
Flavio Castrocc38a542016-03-03 13:15:46 -080087 "isEdgeRouter" : false,
88 "adjacencySids" : []
89 }
90 }
91 },
92 "hosts" : {
Flavio Castro4cd37c12016-03-28 07:39:16 -070093 "00:00:00:00:00:01/-1" : {
Flavio Castrocc38a542016-03-03 13:15:46 -080094 "basic": {
95 "ips": ["10.0.1.1"],
Flavio Castroab163ca2016-07-07 14:05:00 -070096 "location": "of:0000000000000001/1"
Flavio Castrocc38a542016-03-03 13:15:46 -080097 }
98 },
Flavio Castro4cd37c12016-03-28 07:39:16 -070099 "00:00:00:00:00:02/-1" : {
Flavio Castrocc38a542016-03-03 13:15:46 -0800100 "basic": {
101 "ips": ["10.0.1.2"],
Flavio Castroab163ca2016-07-07 14:05:00 -0700102 "location": "of:0000000000000001/2"
Flavio Castrocc38a542016-03-03 13:15:46 -0800103 }
104 },
Flavio Castro4cd37c12016-03-28 07:39:16 -0700105 "00:00:00:00:00:03/-1" : {
Flavio Castrocc38a542016-03-03 13:15:46 -0800106 "basic": {
107 "ips": ["10.0.2.1"],
Flavio Castroab163ca2016-07-07 14:05:00 -0700108 "location": "of:0000000000000002/1"
Flavio Castrocc38a542016-03-03 13:15:46 -0800109 }
110 },
Flavio Castro4cd37c12016-03-28 07:39:16 -0700111 "00:00:00:00:00:04/-1" : {
Flavio Castrocc38a542016-03-03 13:15:46 -0800112 "basic": {
113 "ips": ["10.0.2.2"],
Flavio Castroab163ca2016-07-07 14:05:00 -0700114 "location": "of:0000000000000002/2"
Flavio Castrocc38a542016-03-03 13:15:46 -0800115 }
116 }
Flavio Castroe168f7f2016-06-24 15:53:12 -0700117 },
118 "apps": {
119 "org.onosproject.segmentrouting": {
Flavio Castroab163ca2016-07-07 14:05:00 -0700120 "xconnect": {
121 "of:0000000000000001": [
122 {
123 "vlan": 5,
124 "ports": [5,7],
125 "name": "OLT 1"
126 },
127 {
128 "vlan": 10,
129 "ports": [5,8],
130 "name": "OLT 2"
131 }
132 ]
133 }
Flavio Castroe168f7f2016-06-24 15:53:12 -0700134 }
Flavio Castrocc38a542016-03-03 13:15:46 -0800135 }
136}