Jonghwan Hyun | 3731d6a | 2017-10-19 11:59:31 -0700 | [diff] [blame] | 1 | { |
| 2 | "ports" : { |
| 3 | "of:0000000000000001/1" : { |
| 4 | "interfaces" : [ |
| 5 | { |
You Wang | 57da9f9 | 2017-12-19 13:49:22 -0800 | [diff] [blame] | 6 | "ips" : [ "10.0.2.254/24" ], |
Jonghwan Hyun | 3731d6a | 2017-10-19 11:59:31 -0700 | [diff] [blame] | 7 | "vlan-untagged": 10 |
| 8 | } |
| 9 | ] |
| 10 | }, |
| 11 | "of:0000000000000001/2" : { |
| 12 | "interfaces" : [ |
| 13 | { |
You Wang | 57da9f9 | 2017-12-19 13:49:22 -0800 | [diff] [blame] | 14 | "ips" : [ "10.0.2.254/24" ], |
Jonghwan Hyun | 3731d6a | 2017-10-19 11:59:31 -0700 | [diff] [blame] | 15 | "vlan-tagged": [20] |
| 16 | } |
| 17 | ] |
| 18 | } |
| 19 | }, |
| 20 | "hosts" : { |
| 21 | "00:aa:00:00:00:02/20" : { |
| 22 | "basic": { |
| 23 | "locations": ["of:0000000000000001/2"] |
| 24 | } |
| 25 | } |
| 26 | }, |
| 27 | "devices" : { |
| 28 | "of:0000000000000001" : { |
| 29 | "segmentrouting" : { |
| 30 | "ipv4NodeSid" : 1, |
| 31 | "ipv4Loopback" : "192.168.0.1", |
| 32 | "routerMac" : "00:00:00:00:00:01", |
| 33 | "isEdgeRouter" : true, |
| 34 | "adjacencySids" : [] |
| 35 | }, |
| 36 | "basic" : { |
| 37 | "driver" : "ofdpa-ovs" |
| 38 | } |
| 39 | } |
| 40 | } |
| 41 | } |