blob: a971ba7eea0c7b63ef6b37abea55e37065150da2 [file] [log] [blame]
Jonghwan Hyun3731d6a2017-10-19 11:59:31 -07001{
2 "ports" : {
3 "of:0000000000000001/3" : {
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-tagged": [10]
8 }
9 ]
10 },
11 "of:0000000000000001/4" : {
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-tagged": [20]
16 }
17 ]
18 },
19 "of:0000000000000002/3" : {
20 "interfaces" : [
21 {
You Wang57da9f92017-12-19 13:49:22 -080022 "ips" : [ "10.0.3.254/24" ],
Jonghwan Hyun3731d6a2017-10-19 11:59:31 -070023 "vlan-tagged": [30]
24 }
25 ]
26 },
27 "of:0000000000000002/4" : {
28 "interfaces" : [
29 {
You Wang57da9f92017-12-19 13:49:22 -080030 "ips" : [ "10.0.3.254/24" ],
Jonghwan Hyun3731d6a2017-10-19 11:59:31 -070031 "vlan-tagged": [40]
32 }
33 ]
34 }
35 },
36 "hosts" : {
37 "00:aa:00:00:00:01/10": {
38 "basic": {
39 "locations": ["of:0000000000000001/3"]
40 }
41 },
42 "00:aa:00:00:00:02/20": {
43 "basic": {
44 "locations": ["of:0000000000000001/4"]
45 }
46 },
47 "00:aa:00:00:00:03/30": {
48 "basic": {
49 "locations": ["of:0000000000000002/3"]
50 }
51 },
52 "00:aa:00:00:00:04/40": {
53 "basic": {
54 "locations": ["of:0000000000000002/4"]
55 }
56 }
57 },
58 "devices" : {
59 "of:0000000000000001" : {
60 "segmentrouting" : {
61 "ipv4NodeSid" : 1,
62 "ipv4Loopback" : "192.168.0.1",
63 "routerMac" : "00:00:00:00:00:01",
64 "isEdgeRouter" : true,
65 "adjacencySids" : []
66 },
67 "basic" : {
68 "driver" : "ofdpa-ovs"
69 }
70 },
71 "of:0000000000000002" : {
72 "segmentrouting" : {
73 "ipv4NodeSid" : 2,
74 "ipv4Loopback" : "192.168.0.2",
75 "routerMac" : "00:00:00:00:00:02",
76 "isEdgeRouter" : true,
77 "adjacencySids" : []
78 },
79 "basic" : {
80 "driver" : "ofdpa-ovs"
81 }
82 },
83 "of:0000000000000101" : {
84 "segmentrouting" : {
85 "ipv4NodeSid" : 101,
86 "ipv4Loopback" : "192.168.0.101",
87 "routerMac" : "00:00:00:00:01:01",
88 "isEdgeRouter" : false,
89 "adjacencySids" : []
90 },
91 "basic" : {
92 "driver" : "ofdpa-ovs"
93 }
94 },
95 "of:0000000000000102" : {
96 "segmentrouting" : {
97 "ipv4NodeSid" : 102,
98 "ipv4Loopback" : "192.168.0.102",
99 "routerMac" : "00:00:00:00:01:02",
100 "isEdgeRouter" : false,
101 "adjacencySids" : []
102 },
103 "basic" : {
104 "driver" : "ofdpa-ovs"
105 }
106 }
107 }
108}