blob: a00d226d57cab315c010083adfdab755a95ab3f7 [file] [log] [blame]
Jon Hall6e098702021-06-28 15:56:20 -07001{
2 "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"
13 }
14 },
15 "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"
49 }
50 }
51 },
52 "ports":{
53 "of:0000000000000001/3":{
54 "interfaces":[
55 {
56 "ips":[
57 "10.0.2.254/24"
58 ],
59 "vlan-native":20,
60 "vlan-tagged":[
61 10
62 ]
63 }
64 ]
65 },
66 "of:0000000000000001/4":{
67 "interfaces":[
68 {
69 "ips":[
70 "10.0.2.254/24"
71 ],
72 "vlan-native":20,
73 "vlan-tagged":[
74 10
75 ]
76 }
77 ]
78 },
79 "of:0000000000000002/3":{
80 "interfaces":[
81 {
82 "ips":[
83 "10.0.3.254/24"
84 ],
85 "vlan-native":40,
86 "vlan-tagged":[
87 30
88 ]
89 }
90 ]
91 },
92 "of:0000000000000002/4":{
93 "interfaces":[
94 {
95 "ips":[
96 "10.0.3.254/24"
97 ],
98 "vlan-native":40,
99 "vlan-tagged":[
100 30
101 ]
102 }
103 ]
104 }
105 }
106}