blob: 7908a78e66ca0d49188a5325261c52babf351dc9 [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-untagged":10
60 }
61 ]
62 },
63 "of:0000000000000001/4":{
64 "interfaces":[
65 {
66 "ips":[
67 "10.0.2.254/24"
68 ],
69 "vlan-untagged":20
70 }
71 ]
72 },
73 "of:0000000000000002/3":{
74 "interfaces":[
75 {
76 "ips":[
77 "10.0.3.254/24"
78 ],
79 "vlan-untagged":30
80 }
81 ]
82 },
83 "of:0000000000000002/4":{
84 "interfaces":[
85 {
86 "ips":[
87 "10.0.3.254/24"
88 ],
89 "vlan-untagged":40
90 }
91 ]
92 }
93 }
94}