blob: 78255215eeffe1cee4dec31621609e9513f30342 [file] [log] [blame]
Jonghwan Hyun3731d6a2017-10-19 11:59:31 -07001{
Jon Hall2161a212020-09-16 11:29:27 -07002 "devices":{
3 "of:0000000000000001":{
4 "basic":{
5 "driver":"ofdpa-ovs"
6 },
7 "segmentrouting":{
8 "adjacencySids":[],
9 "ipv4Loopback":"192.168.0.1",
10 "ipv4NodeSid":201,
11 "isEdgeRouter":true,
12 "routerMac":"00:00:00:00:00:01"
Jonghwan Hyun3731d6a2017-10-19 11:59:31 -070013 }
14 },
Jon Hall2161a212020-09-16 11:29:27 -070015 "of:0000000000000002":{
16 "basic":{
17 "driver":"ofdpa-ovs"
18 },
19 "segmentrouting":{
20 "adjacencySids":[],
21 "ipv4Loopback":"192.168.0.2",
22 "ipv4NodeSid":202,
23 "isEdgeRouter":true,
24 "routerMac":"00:00:00:00:00:02"
25 }
26 },
27 "of:0000000000000101":{
28 "basic":{
29 "driver":"ofdpa-ovs"
30 },
31 "segmentrouting":{
32 "adjacencySids":[],
33 "ipv4Loopback":"192.168.0.101",
34 "ipv4NodeSid":101,
35 "isEdgeRouter":false,
36 "routerMac":"00:00:00:00:01:01"
37 }
38 },
39 "of:0000000000000102":{
40 "basic":{
41 "driver":"ofdpa-ovs"
42 },
43 "segmentrouting":{
44 "adjacencySids":[],
45 "ipv4Loopback":"192.168.0.102",
46 "ipv4NodeSid":102,
47 "isEdgeRouter":false,
48 "routerMac":"00:00:00:00:01:02"
Jonghwan Hyun3731d6a2017-10-19 11:59:31 -070049 }
50 }
51 },
Jon Hall2161a212020-09-16 11:29:27 -070052 "hosts":{
53 "00:aa:00:00:00:02/20":{
54 "basic":{
55 "locations":[
56 "of:0000000000000001/4"
57 ]
Jonghwan Hyun3731d6a2017-10-19 11:59:31 -070058 }
59 },
Jon Hall2161a212020-09-16 11:29:27 -070060 "00:aa:00:00:00:04/40":{
61 "basic":{
62 "locations":[
63 "of:0000000000000002/4"
64 ]
Jonghwan Hyun3731d6a2017-10-19 11:59:31 -070065 }
Jon Hall2161a212020-09-16 11:29:27 -070066 }
67 },
68 "ports":{
69 "of:0000000000000001/3":{
70 "interfaces":[
71 {
72 "ips":[
73 "10.0.2.254/24"
74 ],
75 "vlan-untagged":10
76 }
77 ]
Jonghwan Hyun3731d6a2017-10-19 11:59:31 -070078 },
Jon Hall2161a212020-09-16 11:29:27 -070079 "of:0000000000000001/4":{
80 "interfaces":[
81 {
82 "ips":[
83 "10.0.2.254/24"
84 ],
85 "vlan-tagged":[
86 20
87 ]
88 }
89 ]
Jonghwan Hyun3731d6a2017-10-19 11:59:31 -070090 },
Jon Hall2161a212020-09-16 11:29:27 -070091 "of:0000000000000002/3":{
92 "interfaces":[
93 {
94 "ips":[
95 "10.0.3.254/24"
96 ],
97 "vlan-untagged":30
98 }
99 ]
100 },
101 "of:0000000000000002/4":{
102 "interfaces":[
103 {
104 "ips":[
105 "10.0.3.254/24"
106 ],
107 "vlan-tagged":[
108 40
109 ]
110 }
111 ]
Jonghwan Hyun3731d6a2017-10-19 11:59:31 -0700112 }
113 }
Jon Hall2161a212020-09-16 11:29:27 -0700114}