blob: 867785a6e5532a3fe0c3664be8e688d1afb7ec2e [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 ]
16 }
17 },
18 "devices" : {
19 "of:0000000000000001" : {
20 "basic":{ "driver" : "ofdpa-cpqd" },
21 "segmentrouting" : {
22 "name" : "Leaf-R1",
23 "nodeSid" : 1,
24 "routerIp" : "192.168.0.1",
25 "routerMac" : "10:00:00:00:00:01",
26 "isEdgeRouter" : true,
27 "adjacencySids" : []
28 }
29 }
30 },
Flavio Castro02b43632016-06-20 17:07:27 -070031 "hosts" : {
32 "00:00:00:00:00:01/-1" : {
33 "basic": {
34 "ips": ["10.0.1.1"],
35 "location": "of:0000000000000001/1"
36 }
37 },
38 "00:00:00:00:00:02/-1" : {
39 "basic": {
40 "ips": ["10.0.1.2"],
41 "location": "of:0000000000000001/2"
42 }
43 }
Flavio Castroe168f7f2016-06-24 15:53:12 -070044 },
45 "apps": {
46 "org.onosproject.segmentrouting": {
47 "xconnect": {
48 "of:0000000000000001": [
49 {
50 "vlan": 5,
51 "ports": [3, 4],
52 "name": "OLT 1"
53 },
54 {
55 "vlan": 10,
56 "ports": [3, 5],
57 "name": "OLT 2"
58 }
59 ]
60 }
61 }
Flavio Castro02b43632016-06-20 17:07:27 -070062 }
63
64}