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-tagged": [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": [10] |
| 16 | } |
| 17 | ] |
| 18 | } |
| 19 | }, |
| 20 | "hosts" : { |
| 21 | "00:aa:00:00:00:01/10" : { |
| 22 | "basic": { |
| 23 | "locations": ["of:0000000000000001/1"] |
| 24 | } |
| 25 | }, |
| 26 | "00:aa:00:00:00:02/10" : { |
| 27 | "basic": { |
| 28 | "locations": ["of:0000000000000001/2"] |
| 29 | } |
| 30 | } |
| 31 | }, |
| 32 | "devices" : { |
| 33 | "of:0000000000000001" : { |
| 34 | "segmentrouting" : { |
| 35 | "ipv4NodeSid" : 1, |
| 36 | "ipv4Loopback" : "192.168.0.1", |
| 37 | "routerMac" : "00:00:00:00:00:01", |
| 38 | "isEdgeRouter" : true, |
| 39 | "adjacencySids" : [] |
| 40 | }, |
| 41 | "basic" : { |
| 42 | "driver" : "ofdpa-ovs" |
| 43 | } |
| 44 | } |
| 45 | } |
| 46 | } |