Jonghwan Hyun | 3731d6a | 2017-10-19 11:59:31 -0700 | [diff] [blame] | 1 | { |
Jon Hall | 2161a21 | 2020-09-16 11:29:27 -0700 | [diff] [blame] | 2 | "devices":{ |
Jon Hall | 3957026 | 2020-11-17 12:18:19 -0800 | [diff] [blame] | 3 | "device:tofino:leaf1":{ |
4 | "basic":{}, | ||||
Jon Hall | 2161a21 | 2020-09-16 11:29:27 -0700 | [diff] [blame] | 5 | "segmentrouting":{ |
6 | "adjacencySids":[], | ||||
7 | "ipv4Loopback":"192.168.0.1", | ||||
8 | "ipv4NodeSid":201, | ||||
9 | "isEdgeRouter":true, | ||||
10 | "routerMac":"00:00:00:00:00:01" | ||||
11 | } | ||||
12 | } | ||||
13 | }, | ||||
14 | "ports":{ | ||||
15 | "of:0000000000000001/1":{ | ||||
16 | "interfaces":[ | ||||
Jonghwan Hyun | 3731d6a | 2017-10-19 11:59:31 -0700 | [diff] [blame] | 17 | { |
Jon Hall | 2161a21 | 2020-09-16 11:29:27 -0700 | [diff] [blame] | 18 | "ips":[ |
19 | "10.0.2.254/24" | ||||
20 | ], | ||||
21 | "vlan-untagged":10 | ||||
Jonghwan Hyun | 3731d6a | 2017-10-19 11:59:31 -0700 | [diff] [blame] | 22 | } |
23 | ] | ||||
24 | }, | ||||
Jon Hall | 2161a21 | 2020-09-16 11:29:27 -0700 | [diff] [blame] | 25 | "of:0000000000000001/2":{ |
26 | "interfaces":[ | ||||
Jonghwan Hyun | 3731d6a | 2017-10-19 11:59:31 -0700 | [diff] [blame] | 27 | { |
Jon Hall | 2161a21 | 2020-09-16 11:29:27 -0700 | [diff] [blame] | 28 | "ips":[ |
29 | "10.0.2.254/24" | ||||
30 | ], | ||||
31 | "vlan-untagged":10 | ||||
Jonghwan Hyun | 3731d6a | 2017-10-19 11:59:31 -0700 | [diff] [blame] | 32 | } |
33 | ] | ||||
34 | } | ||||
Jonghwan Hyun | 3731d6a | 2017-10-19 11:59:31 -0700 | [diff] [blame] | 35 | } |
Jon Hall | 2161a21 | 2020-09-16 11:29:27 -0700 | [diff] [blame] | 36 | } |