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:01/10":{ | ||||
18 | "basic":{ | ||||
19 | "locations":[ | ||||
20 | "of:0000000000000001/1" | ||||
21 | ] | ||||
22 | } | ||||
23 | }, | ||||
24 | "00:aa:00:00:00:02/20":{ | ||||
25 | "basic":{ | ||||
26 | "locations":[ | ||||
27 | "of:0000000000000001/2" | ||||
28 | ] | ||||
29 | } | ||||
30 | } | ||||
31 | }, | ||||
32 | "ports":{ | ||||
33 | "of:0000000000000001/1":{ | ||||
34 | "interfaces":[ | ||||
35 | { | ||||
36 | "ips":[ | ||||
37 | "10.0.2.254/24" | ||||
38 | ], | ||||
39 | "vlan-tagged":[ | ||||
40 | 10 | ||||
41 | ] | ||||
42 | } | ||||
43 | ] | ||||
44 | }, | ||||
45 | "of:0000000000000001/2":{ | ||||
46 | "interfaces":[ | ||||
47 | { | ||||
48 | "ips":[ | ||||
49 | "10.0.2.254/24" | ||||
50 | ], | ||||
51 | "vlan-tagged":[ | ||||
52 | 20 | ||||
53 | ] | ||||
54 | } | ||||
55 | ] | ||||
56 | } | ||||
57 | } | ||||
58 | } |