| { |
| "ports" : { |
| "of:0000000000000001/3" : { |
| "interfaces" : [ |
| { |
| "ips" : [ "10.1.0.254/24" ], |
| "vlan-untagged": 10 |
| } |
| ] |
| }, |
| "of:0000000000000002/6" : { |
| "interfaces" : [ |
| { |
| "ips" : [ "10.2.0.254/24" ], |
| "vlan-untagged": 10 |
| } |
| ] |
| }, |
| "of:0000000000000002/7" : { |
| "interfaces" : [ |
| { |
| "ips" : [ "10.2.30.254/24" ], |
| "vlan-untagged": 15 |
| } |
| ] |
| }, |
| "of:0000000000000002/8" : { |
| "interfaces" : [ |
| { |
| "ips" : [ "10.2.20.254/24" ], |
| "vlan-tagged": [30] |
| } |
| ] |
| }, |
| "of:0000000000000003/8" : { |
| "interfaces" : [ |
| { |
| "ips" : [ "10.2.10.254/24" ], |
| "vlan-tagged": [20] |
| } |
| ] |
| }, |
| "of:0000000000000003/6" : { |
| "interfaces" : [ |
| { |
| "ips" : [ "10.2.30.254/24" ], |
| "vlan-untagged": 15 |
| } |
| ] |
| }, |
| "of:0000000000000003/7" : { |
| "interfaces" : [ |
| { |
| "ips" : [ "10.2.20.254/24" ], |
| "vlan-tagged": [30] |
| } |
| ] |
| }, |
| "of:0000000000000004/6" : { |
| "interfaces" : [ |
| { |
| "ips" : [ "10.3.0.254/24" ], |
| "vlan-tagged": [30] |
| } |
| ] |
| }, |
| "of:0000000000000004/7" : { |
| "interfaces" : [ |
| { |
| "ips" : [ "10.3.10.254/24" ], |
| "vlan-tagged": [40] |
| } |
| ] |
| }, |
| "of:0000000000000004/8" : { |
| "interfaces" : [ |
| { |
| "ips" : [ "10.3.30.254/24" ], |
| "vlan-tagged": [40] |
| } |
| ] |
| }, |
| "of:0000000000000005/8" : { |
| "interfaces" : [ |
| { |
| "ips" : [ "10.3.20.254/24" ], |
| "vlan-tagged": [40] |
| } |
| ] |
| }, |
| "of:0000000000000005/6" : { |
| "interfaces" : [ |
| { |
| "ips" : [ "10.3.10.254/24" ], |
| "vlan-tagged": [40] |
| } |
| ] |
| }, |
| "of:0000000000000005/7" : { |
| "interfaces" : [ |
| { |
| "ips" : [ "10.3.30.254/24" ], |
| "vlan-tagged": [40] |
| } |
| ] |
| } |
| }, |
| "hosts" : { |
| "00:aa:00:00:00:01/10" : { |
| "basic": { |
| "locations": ["of:0000000000000001/3"], |
| "ips": ["10.1.0.1"] |
| } |
| }, |
| "00:aa:00:00:00:02/None" : { |
| "basic": { |
| "locations": ["of:0000000000000002/6"], |
| "ips": ["10.2.0.1"] |
| } |
| }, |
| "00:aa:00:00:00:03/None" : { |
| "basic": { |
| "locations": ["of:0000000000000002/7", "of:0000000000000003/6"], |
| "ips": ["10.2.30.1"] |
| } |
| }, |
| "00:aa:00:00:00:04/30" : { |
| "basic": { |
| "locations": ["of:0000000000000003/7","of:0000000000000002/8"], |
| "ips": ["10.2.20.1"] |
| } |
| }, |
| "00:aa:00:00:00:05/20" : { |
| "basic": { |
| "locations": ["of:0000000000000003/8"], |
| "ips": ["10.2.10.1"] |
| } |
| }, |
| "00:aa:00:00:00:06/30" : { |
| "basic": { |
| "locations": ["of:0000000000000004/6"], |
| "ips": ["10.3.0.1"] |
| } |
| }, |
| "00:aa:00:00:00:07/40" : { |
| "basic": { |
| "locations": ["of:0000000000000005/6", "of:0000000000000004/7"], |
| "ips": ["10.3.10.1"] |
| } |
| }, |
| "00:aa:00:00:00:08/40" : { |
| "basic": { |
| "locations": ["of:0000000000000004/8","of:0000000000000005/7"], |
| "ips": ["10.3.30.1"] |
| } |
| }, |
| "00:aa:00:00:00:0A/40" : { |
| "basic": { |
| "locations": ["of:0000000000000005/8"], |
| "ips": ["10.3.20.1"] |
| } |
| } |
| }, |
| "devices" : { |
| "of:0000000000000001" : { |
| "segmentrouting" : { |
| "name" : "s001", |
| "ipv4NodeSid" : 1, |
| "ipv4Loopback" : "192.168.0.1", |
| "routerMac" : "00:00:00:00:00:01", |
| "isEdgeRouter" : true, |
| "adjacencySids" : [] |
| }, |
| "basic" : { |
| "driver" : "ofdpa-ovs", |
| "latitude":34, |
| "longitude":-105 |
| } |
| }, |
| "of:0000000000000002" : { |
| "segmentrouting" : { |
| "name" : "s002", |
| "ipv4NodeSid" : 2, |
| "ipv4Loopback" : "192.168.0.2", |
| "routerMac" : "00:00:00:00:00:02", |
| "isEdgeRouter" : true, |
| "pairLocalPort" : 5, |
| "pairDeviceId": "of:0000000000000003", |
| "adjacencySids" : [] |
| }, |
| "basic" : { |
| "driver" : "ofdpa-ovs", |
| "latitude":34, |
| "longitude":-95 |
| } |
| }, |
| "of:0000000000000003" : { |
| "segmentrouting" : { |
| "name" : "s003", |
| "ipv4NodeSid" : 3, |
| "ipv4Loopback" : "192.168.0.3", |
| "routerMac" : "00:00:00:00:00:03", |
| "isEdgeRouter" : true, |
| "pairLocalPort" : 5, |
| "pairDeviceId": "of:0000000000000002", |
| "adjacencySids" : [] |
| }, |
| "basic" : { |
| "driver" : "ofdpa-ovs", |
| "latitude":34, |
| "longitude":-90 |
| } |
| }, |
| "of:0000000000000004" : { |
| "segmentrouting" : { |
| "name" : "s004", |
| "ipv4NodeSid" : 4, |
| "ipv4Loopback" : "192.168.0.4", |
| "routerMac" : "00:00:00:00:00:04", |
| "isEdgeRouter" : true, |
| "pairLocalPort" : 5, |
| "pairDeviceId": "of:0000000000000005", |
| "adjacencySids" : [] |
| }, |
| "basic" : { |
| "driver" : "ofdpa-ovs", |
| "latitude":34, |
| "longitude":-85 |
| } |
| }, |
| "of:0000000000000005" : { |
| "segmentrouting" : { |
| "name" : "s005", |
| "ipv4NodeSid" : 5, |
| "ipv4Loopback" : "192.168.0.5", |
| "routerMac" : "00:00:00:00:00:05", |
| "isEdgeRouter" : true, |
| "pairLocalPort" : 5, |
| "pairDeviceId": "of:0000000000000004", |
| "adjacencySids" : [] |
| }, |
| "basic" : { |
| "driver" : "ofdpa-ovs", |
| "latitude":34, |
| "longitude":-80 |
| } |
| }, |
| "of:0000000000000101" : { |
| "segmentrouting" : { |
| "name" : "s101", |
| "ipv4NodeSid" : 101, |
| "ipv4Loopback" : "192.168.0.101", |
| "routerMac" : "00:00:00:00:01:01", |
| "isEdgeRouter" : false, |
| "adjacencySids" : [] |
| }, |
| "basic" : { |
| "driver" : "ofdpa-ovs", |
| "latitude":42, |
| "longitude":-100 |
| } |
| }, |
| "of:0000000000000102" : { |
| "segmentrouting" : { |
| "name" : "s102", |
| "ipv4NodeSid" : 102, |
| "ipv4Loopback" : "192.168.0.102", |
| "routerMac" : "00:00:00:00:01:02", |
| "isEdgeRouter" : false, |
| "adjacencySids" : [] |
| }, |
| "basic" : { |
| "driver" : "ofdpa-ovs", |
| "latitude":42, |
| "longitude":-95 |
| } |
| } |
| } |
| } |