| { |
| "ports" : { |
| "of:0000000000000001/1" : { |
| "interfaces" : [ |
| { |
| "ips" : [ "10.0.2.254/24" ], |
| "vlan-tagged": [10] |
| } |
| ] |
| }, |
| "of:0000000000000001/2" : { |
| "interfaces" : [ |
| { |
| "ips" : [ "10.0.2.254/24" ], |
| "vlan-tagged": [20] |
| } |
| ] |
| } |
| }, |
| "hosts" : { |
| "00:aa:00:00:00:01/10" : { |
| "basic": { |
| "locations": ["of:0000000000000001/1"] |
| } |
| }, |
| "00:aa:00:00:00:02/20" : { |
| "basic": { |
| "locations": ["of:0000000000000001/2"] |
| } |
| } |
| }, |
| "devices" : { |
| "of:0000000000000001" : { |
| "segmentrouting" : { |
| "ipv4NodeSid" : 1, |
| "ipv4Loopback" : "192.168.0.1", |
| "routerMac" : "00:00:00:00:00:01", |
| "isEdgeRouter" : true, |
| "adjacencySids" : [] |
| }, |
| "basic" : { |
| "driver" : "ofdpa-ovs" |
| } |
| } |
| } |
| } |