blob: 52625c79c2d44648bc9f4b151ed3bb839123a420 [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 {
Jonghwan Hyun76a02b72018-01-30 16:40:48 +09006 "ips" : [ "10.0.1.254/24" ],
7 "vlan-untagged" : 100
Flavio Castroab163ca2016-07-07 14:05:00 -07008 }
9 ]
10 },
11 "of:0000000000000001/2" : {
12 "interfaces" : [
13 {
Jonghwan Hyun76a02b72018-01-30 16:40:48 +090014 "ips" : [ "10.0.1.254/24" ],
15 "vlan-untagged" : 100
Flavio Castroab163ca2016-07-07 14:05:00 -070016 }
17 ]
18 },
Flavio Castrocc38a542016-03-03 13:15:46 -080019 "of:0000000000000001/3" : {
20 "interfaces" : [
21 {
Jonghwan Hyun76a02b72018-01-30 16:40:48 +090022 "ips" : [ "10.0.1.254/24" ],
23 "vlan-untagged" : 100
Flavio Castrocc38a542016-03-03 13:15:46 -080024 }
25 ]
26 },
27 "of:0000000000000001/4" : {
28 "interfaces" : [
29 {
Jonghwan Hyun76a02b72018-01-30 16:40:48 +090030 "ips" : [ "10.0.1.254/24" ],
31 "vlan-untagged" : 100
Flavio Castrocc38a542016-03-03 13:15:46 -080032 }
33 ]
34 },
Flavio Castroab163ca2016-07-07 14:05:00 -070035 "of:0000000000000002/1" : {
Flavio Castrocc38a542016-03-03 13:15:46 -080036 "interfaces" : [
37 {
Jonghwan Hyun76a02b72018-01-30 16:40:48 +090038 "ips" : [ "10.0.2.254/24" ],
39 "vlan-untagged" : 200
Flavio Castrocc38a542016-03-03 13:15:46 -080040 }
41 ]
42 },
Flavio Castroab163ca2016-07-07 14:05:00 -070043 "of:0000000000000002/2" : {
Flavio Castrocc38a542016-03-03 13:15:46 -080044 "interfaces" : [
45 {
Jonghwan Hyun76a02b72018-01-30 16:40:48 +090046 "ips" : [ "10.0.2.254/24" ],
47 "vlan-untagged" : 200
Flavio Castrocc38a542016-03-03 13:15:46 -080048 }
49 ]
50 }
51 },
52 "devices" : {
53 "of:0000000000000001" : {
Jonghwan Hyun76a02b72018-01-30 16:40:48 +090054 "basic":{ "driver" : "ofdpa-ovs" },
Flavio Castrocc38a542016-03-03 13:15:46 -080055 "segmentrouting" : {
56 "name" : "Leaf-R1",
Jonghwan Hyun76a02b72018-01-30 16:40:48 +090057 "ipv4NodeSid" : 1,
58 "ipv4Loopback" : "192.168.0.1",
Flavio Castro4c0165e2016-05-24 17:53:50 -070059 "routerMac" : "10:00:00:00:00:01",
Flavio Castrocc38a542016-03-03 13:15:46 -080060 "isEdgeRouter" : true,
61 "adjacencySids" : []
62 }
63 },
64 "of:0000000000000002" : {
Jonghwan Hyun76a02b72018-01-30 16:40:48 +090065 "basic":{ "driver" : "ofdpa-ovs" },
Flavio Castrocc38a542016-03-03 13:15:46 -080066 "segmentrouting" : {
67 "name" : "Leaf-R2",
Jonghwan Hyun76a02b72018-01-30 16:40:48 +090068 "ipv4NodeSid" : 2,
69 "ipv4Loopback" : "192.168.0.2",
Flavio Castro4c0165e2016-05-24 17:53:50 -070070 "routerMac" : "10:00:00:00:00:02",
Flavio Castrocc38a542016-03-03 13:15:46 -080071 "isEdgeRouter" : true,
72 "adjacencySids" : []
73 }
74 },
75 "of:0000000000000101" : {
Jonghwan Hyun76a02b72018-01-30 16:40:48 +090076 "basic":{ "driver" : "ofdpa-ovs" },
Flavio Castrocc38a542016-03-03 13:15:46 -080077 "segmentrouting" : {
78 "name" : "Spine-R1",
Jonghwan Hyun76a02b72018-01-30 16:40:48 +090079 "ipv4NodeSid" : 101,
80 "ipv4Loopback" : "192.168.0.101",
Flavio Castro4c0165e2016-05-24 17:53:50 -070081 "routerMac" : "10:00:00:00:01:01",
Flavio Castrocc38a542016-03-03 13:15:46 -080082 "isEdgeRouter" : false,
83 "adjacencySids" : []
84 }
85 },
86 "of:0000000000000102" : {
Jonghwan Hyun76a02b72018-01-30 16:40:48 +090087 "basic":{ "driver" : "ofdpa-ovs" },
Flavio Castrocc38a542016-03-03 13:15:46 -080088 "segmentrouting" : {
89 "name" : "Spine-R2",
Jonghwan Hyun76a02b72018-01-30 16:40:48 +090090 "ipv4NodeSid" : 102,
91 "ipv4Loopback" : "192.168.0.102",
Flavio Castro4c0165e2016-05-24 17:53:50 -070092 "routerMac" : "10:00:00:00:01:02",
Flavio Castrocc38a542016-03-03 13:15:46 -080093 "isEdgeRouter" : false,
94 "adjacencySids" : []
95 }
96 }
97 },
98 "hosts" : {
Flavio Castro4cd37c12016-03-28 07:39:16 -070099 "00:00:00:00:00:01/-1" : {
Flavio Castrocc38a542016-03-03 13:15:46 -0800100 "basic": {
101 "ips": ["10.0.1.1"],
Jonghwan Hyun76a02b72018-01-30 16:40:48 +0900102 "locations": ["of:0000000000000001/1"]
Flavio Castrocc38a542016-03-03 13:15:46 -0800103 }
104 },
Flavio Castro4cd37c12016-03-28 07:39:16 -0700105 "00:00:00:00:00:02/-1" : {
Flavio Castrocc38a542016-03-03 13:15:46 -0800106 "basic": {
107 "ips": ["10.0.1.2"],
Jonghwan Hyun76a02b72018-01-30 16:40:48 +0900108 "locations": ["of:0000000000000001/2"]
Flavio Castrocc38a542016-03-03 13:15:46 -0800109 }
110 },
Flavio Castro4cd37c12016-03-28 07:39:16 -0700111 "00:00:00:00:00:03/-1" : {
Flavio Castrocc38a542016-03-03 13:15:46 -0800112 "basic": {
113 "ips": ["10.0.2.1"],
Jonghwan Hyun76a02b72018-01-30 16:40:48 +0900114 "locations": ["of:0000000000000002/1"]
Flavio Castrocc38a542016-03-03 13:15:46 -0800115 }
116 },
Flavio Castro4cd37c12016-03-28 07:39:16 -0700117 "00:00:00:00:00:04/-1" : {
Flavio Castrocc38a542016-03-03 13:15:46 -0800118 "basic": {
119 "ips": ["10.0.2.2"],
Jonghwan Hyun76a02b72018-01-30 16:40:48 +0900120 "locations": ["of:0000000000000002/2"]
Flavio Castrocc38a542016-03-03 13:15:46 -0800121 }
122 }
Flavio Castroe168f7f2016-06-24 15:53:12 -0700123 },
124 "apps": {
125 "org.onosproject.segmentrouting": {
Flavio Castroab163ca2016-07-07 14:05:00 -0700126 "xconnect": {
127 "of:0000000000000001": [
128 {
129 "vlan": 5,
130 "ports": [5,7],
131 "name": "OLT 1"
132 },
133 {
134 "vlan": 10,
135 "ports": [5,8],
136 "name": "OLT 2"
137 }
138 ]
139 }
Flavio Castroe168f7f2016-06-24 15:53:12 -0700140 }
Flavio Castrocc38a542016-03-03 13:15:46 -0800141 }
142}