| { |
| "ports" : { |
| "of:0000000000000001/3" : { |
| "interfaces" : [ |
| { |
| "ips" : [ "10.0.1.254/24" ] |
| } |
| ] |
| }, |
| "of:0000000000000001/4" : { |
| "interfaces" : [ |
| { |
| "ips" : [ "10.0.1.254/24" ] |
| } |
| ] |
| }, |
| "of:0000000000000002/3" : { |
| "interfaces" : [ |
| { |
| "ips" : [ "10.0.2.254/24" ] |
| } |
| ] |
| }, |
| "of:0000000000000002/4" : { |
| "interfaces" : [ |
| { |
| "ips" : [ "10.0.2.254/24" ] |
| } |
| ] |
| } |
| }, |
| "devices" : { |
| "of:0000000000000001" : { |
| "basic":{ "driver" : "ofdpa-cpqd" }, |
| "segmentrouting" : { |
| "name" : "Leaf-R1", |
| "nodeSid" : 1, |
| "routerIp" : "192.168.0.1", |
| "routerMac" : "00:00:00:00:00:01", |
| "isEdgeRouter" : true, |
| "adjacencySids" : [] |
| } |
| }, |
| "of:0000000000000002" : { |
| "basic":{ "driver" : "ofdpa-cpqd" }, |
| "segmentrouting" : { |
| "name" : "Leaf-R2", |
| "nodeSid" : 2, |
| "routerIp" : "192.168.0.2", |
| "routerMac" : "00:00:00:00:00:02", |
| "isEdgeRouter" : true, |
| "adjacencySids" : [] |
| } |
| }, |
| "of:0000000000000101" : { |
| "basic":{ "driver" : "ofdpa-cpqd" }, |
| "segmentrouting" : { |
| "name" : "Spine-R1", |
| "nodeSid" : 101, |
| "routerIp" : "192.168.0.101", |
| "routerMac" : "00:00:00:00:01:01", |
| "isEdgeRouter" : false, |
| "adjacencySids" : [] |
| } |
| }, |
| "of:0000000000000102" : { |
| "basic":{ "driver" : "ofdpa-cpqd" }, |
| "segmentrouting" : { |
| "name" : "Spine-R2", |
| "nodeSid" : 102, |
| "routerIp" : "192.168.0.102", |
| "routerMac" : "00:00:00:00:01:02", |
| "isEdgeRouter" : false, |
| "adjacencySids" : [] |
| } |
| } |
| }, |
| "hosts" : { |
| "00:00:00:00:00:01/4093" : { |
| "basic": { |
| "ips": ["10.0.1.1"], |
| "location": "of:0000000000000001/3" |
| } |
| }, |
| "00:00:00:00:00:02/4093" : { |
| "basic": { |
| "ips": ["10.0.1.2"], |
| "location": "of:0000000000000001/4" |
| } |
| }, |
| "00:00:00:00:00:03/4093" : { |
| "basic": { |
| "ips": ["10.0.2.1"], |
| "location": "of:0000000000000002/3" |
| } |
| }, |
| "00:00:00:00:00:04/4093" : { |
| "basic": { |
| "ips": ["10.0.2.2"], |
| "location": "of:0000000000000002/4" |
| } |
| } |
| } |
| } |