blob: 443975dc787f9a50107547ff9556beeae5aa8d00 [file] [log] [blame]
Jonghwan Hyun3731d6a2017-10-19 11:59:31 -07001{
2 "ports" : {
3 "of:0000000000000001/6" : {
4 "interfaces" : [
5 {
You Wang57da9f92017-12-19 13:49:22 -08006 "ips" : [ "10.0.2.254/24" ],
Jonghwan Hyun3731d6a2017-10-19 11:59:31 -07007 "vlan-untagged": 10
8 }
9 ]
10 },
11 "of:0000000000000001/7" : {
12 "interfaces" : [
13 {
You Wang57da9f92017-12-19 13:49:22 -080014 "ips" : [ "10.0.2.254/24" ],
Jonghwan Hyun3731d6a2017-10-19 11:59:31 -070015 "vlan-untagged": 10
16 }
17 ]
18 },
19 "of:0000000000000002/6" : {
20 "interfaces" : [
21 {
You Wang57da9f92017-12-19 13:49:22 -080022 "ips" : [ "10.0.2.254/24" ],
Jonghwan Hyun3731d6a2017-10-19 11:59:31 -070023 "vlan-untagged": 10
24 }
25 ]
26 },
27 "of:0000000000000002/7" : {
28 "interfaces" : [
29 {
You Wang57da9f92017-12-19 13:49:22 -080030 "ips" : [ "10.0.2.254/24" ],
Jonghwan Hyun3731d6a2017-10-19 11:59:31 -070031 "vlan-untagged": 10
32 }
33 ]
34 },
35 "of:0000000000000003/6" : {
36 "interfaces" : [
37 {
You Wang57da9f92017-12-19 13:49:22 -080038 "ips" : [ "10.0.3.254/24" ],
Jonghwan Hyun3731d6a2017-10-19 11:59:31 -070039 "vlan-untagged": 20
40 }
41 ]
42 },
43 "of:0000000000000003/7" : {
44 "interfaces" : [
45 {
You Wang57da9f92017-12-19 13:49:22 -080046 "ips" : [ "10.0.3.254/24" ],
Jonghwan Hyun3731d6a2017-10-19 11:59:31 -070047 "vlan-untagged": 20
48 }
49 ]
50 },
51 "of:0000000000000004/6" : {
52 "interfaces" : [
53 {
You Wang57da9f92017-12-19 13:49:22 -080054 "ips" : [ "10.0.3.254/24" ],
Jonghwan Hyun3731d6a2017-10-19 11:59:31 -070055 "vlan-untagged": 20
56 }
57 ]
58 },
59 "of:0000000000000004/7" : {
60 "interfaces" : [
61 {
You Wang57da9f92017-12-19 13:49:22 -080062 "ips" : [ "10.0.3.254/24" ],
Jonghwan Hyun3731d6a2017-10-19 11:59:31 -070063 "vlan-untagged": 20
64 }
65 ]
66 }
67 },
68 "hosts": {
69 "00:AA:00:00:00:01/None": {
70 "basic": {
71 "ips": ["10.0.2.1"],
72 "locations": ["of:0000000000000001/6", "of:0000000000000002/6"]
73 }
74 },
75 "00:AA:00:00:00:02/None": {
76 "basic": {
77 "ips": ["10.0.2.2"],
78 "locations": ["of:0000000000000001/7", "of:0000000000000002/7"]
79 }
80 },
81 "00:AA:00:00:00:03/None": {
82 "basic": {
83 "ips": ["10.0.3.1"],
84 "locations": ["of:0000000000000003/6", "of:0000000000000004/6"]
85 }
86 },
87 "00:AA:00:00:00:04/None": {
88 "basic": {
89 "ips": ["10.0.3.2"],
90 "locations": ["of:0000000000000003/7", "of:0000000000000004/7"]
91 }
92 }
93 },
94 "devices" : {
95 "of:0000000000000001" : {
96 "segmentrouting" : {
97 "ipv4NodeSid" : 1,
98 "ipv4Loopback" : "192.168.0.1",
99 "routerMac" : "00:00:00:00:00:01",
100 "isEdgeRouter" : true,
101 "pairDeviceId" : "of:0000000000000002",
102 "pairLocalPort" : 5,
103 "adjacencySids" : []
104 },
105 "basic" : {
106 "driver" : "ofdpa-ovs"
107 }
108 },
109 "of:0000000000000002" : {
110 "segmentrouting" : {
111 "ipv4NodeSid" : 1,
112 "ipv4Loopback" : "192.168.0.2",
113 "routerMac" : "00:00:00:00:00:01",
114 "isEdgeRouter" : true,
115 "pairDeviceId" : "of:0000000000000001",
116 "pairLocalPort" : 5,
117 "adjacencySids" : []
118 },
119 "basic" : {
120 "driver" : "ofdpa-ovs"
121 }
122 },
123 "of:0000000000000003" : {
124 "segmentrouting" : {
125 "ipv4NodeSid" : 2,
126 "ipv4Loopback" : "192.168.0.3",
127 "routerMac" : "00:00:00:00:00:02",
128 "isEdgeRouter" : true,
129 "pairDeviceId" : "of:0000000000000004",
130 "pairLocalPort" : 5,
131 "adjacencySids" : []
132 },
133 "basic" : {
134 "driver" : "ofdpa-ovs"
135 }
136 },
137 "of:0000000000000004" : {
138 "segmentrouting" : {
139 "ipv4NodeSid" : 2,
140 "ipv4Loopback" : "192.168.0.4",
141 "routerMac" : "00:00:00:00:00:02",
142 "isEdgeRouter" : true,
Jonghwan Hyun98fb40a2018-01-04 16:16:28 -0800143 "pairDeviceId" : "of:0000000000000003",
Jonghwan Hyun3731d6a2017-10-19 11:59:31 -0700144 "pairLocalPort" : 5,
145 "adjacencySids" : []
146 },
147 "basic" : {
148 "driver" : "ofdpa-ovs"
149 }
150 },
151 "of:0000000000000101" : {
152 "segmentrouting" : {
153 "ipv4NodeSid" : 101,
154 "ipv4Loopback" : "192.168.0.101",
155 "routerMac" : "00:00:00:00:01:01",
156 "isEdgeRouter" : false,
157 "adjacencySids" : []
158 },
159 "basic" : {
160 "driver" : "ofdpa-ovs"
161 }
162 },
163 "of:0000000000000102" : {
164 "segmentrouting" : {
165 "ipv4NodeSid" : 102,
166 "ipv4Loopback" : "192.168.0.102",
167 "routerMac" : "00:00:00:00:01:02",
168 "isEdgeRouter" : false,
169 "adjacencySids" : []
170 },
171 "basic" : {
172 "driver" : "ofdpa-ovs"
173 }
174 }
175 }
176}