Jon Hall | 6e09870 | 2021-06-28 15:56:20 -0700 | [diff] [blame] | 1 | { |
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 | }, | ||||
16 | "hosts":{ | ||||
17 | "00:aa:00:00:00:02/20":{ | ||||
18 | "basic":{ | ||||
19 | "locations":[ | ||||
20 | "of:0000000000000001/2" | ||||
21 | ] | ||||
22 | } | ||||
23 | } | ||||
24 | }, | ||||
25 | "ports":{ | ||||
26 | "of:0000000000000001/1":{ | ||||
27 | "interfaces":[ | ||||
28 | { | ||||
29 | "ips":[ | ||||
30 | "10.0.2.254/24" | ||||
31 | ], | ||||
32 | "vlan-untagged":10 | ||||
33 | } | ||||
34 | ] | ||||
35 | }, | ||||
36 | "of:0000000000000001/2":{ | ||||
37 | "interfaces":[ | ||||
38 | { | ||||
39 | "ips":[ | ||||
40 | "10.0.2.254/24" | ||||
41 | ], | ||||
42 | "vlan-tagged":[ | ||||
43 | 20 | ||||
44 | ] | ||||
45 | } | ||||
46 | ] | ||||
47 | } | ||||
48 | } | ||||
49 | } |