blob: 36955e17f76053c6cdbc668d70b174a57c865549 [file] [log] [blame]
Flavio Castro02b43632016-06-20 17:07:27 -07001{
2 "ports" : {
3 "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 ]
Flavio Castroab163ca2016-07-07 14:05:00 -070016 },
17 "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 ]
Flavio Castro02b43632016-06-20 17:07:27 -070030 }
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",
39 "routerMac" : "10:00:00:00:00:01",
40 "isEdgeRouter" : true,
41 "adjacencySids" : []
42 }
43 }
44 },
Flavio Castro02b43632016-06-20 17:07:27 -070045 "hosts" : {
46 "00:00:00:00:00:01/-1" : {
47 "basic": {
48 "ips": ["10.0.1.1"],
49 "location": "of:0000000000000001/1"
50 }
51 },
52 "00:00:00:00:00:02/-1" : {
53 "basic": {
54 "ips": ["10.0.1.2"],
55 "location": "of:0000000000000001/2"
56 }
57 }
Flavio Castroe168f7f2016-06-24 15:53:12 -070058 },
59 "apps": {
60 "org.onosproject.segmentrouting": {
Flavio Castroab163ca2016-07-07 14:05:00 -070061 "xconnect": {
62 "of:0000000000000001": [
63 {
64 "vlan": 5,
65 "ports": [5, 7],
66 "name": "OLT 1"
67 },
68 {
69 "vlan": 10,
70 "ports": [5, 8],
71 "name": "OLT 2"
72 }
73 ]
74 }
Flavio Castroe168f7f2016-06-24 15:53:12 -070075 }
Flavio Castro02b43632016-06-20 17:07:27 -070076 }
Flavio Castro02b43632016-06-20 17:07:27 -070077}