| { |
| "ports" : { |
| "of:0000000000000001/1" : { |
| "interfaces" : [ |
| { |
| "ips" : [ "10.0.1.254/24" ] |
| } |
| ] |
| }, |
| "of:0000000000000001/2" : { |
| "interfaces" : [ |
| { |
| "ips" : [ "10.0.1.254/24" ] |
| } |
| ] |
| }, |
| "of:0000000000000001/3" : { |
| "interfaces" : [ |
| { |
| "ips" : [ "10.0.1.254/24" ] |
| } |
| ] |
| }, |
| "of:0000000000000001/4" : { |
| "interfaces" : [ |
| { |
| "ips" : [ "10.0.1.254/24" ] |
| } |
| ] |
| } |
| }, |
| "devices" : { |
| "of:0000000000000001" : { |
| "basic":{ "driver" : "ofdpa-cpqd" }, |
| "segmentrouting" : { |
| "name" : "Leaf-R1", |
| "nodeSid" : 1, |
| "routerIp" : "192.168.0.1", |
| "routerMac" : "10:00:00:00:00:01", |
| "isEdgeRouter" : true, |
| "adjacencySids" : [] |
| } |
| } |
| }, |
| "hosts" : { |
| "00:00:00:00:00:01/-1" : { |
| "basic": { |
| "ips": ["10.0.1.1"], |
| "location": "of:0000000000000001/1" |
| } |
| }, |
| "00:00:00:00:00:02/-1" : { |
| "basic": { |
| "ips": ["10.0.1.2"], |
| "location": "of:0000000000000001/2" |
| } |
| } |
| }, |
| "apps": { |
| "org.onosproject.segmentrouting": { |
| "xconnect": { |
| "of:0000000000000001": [ |
| { |
| "vlan": 5, |
| "ports": [5, 7], |
| "name": "OLT 1" |
| }, |
| { |
| "vlan": 10, |
| "ports": [5, 8], |
| "name": "OLT 2" |
| } |
| ] |
| } |
| } |
| } |
| } |