| { |
| "ports" : { |
| "of:00000000000000a1/1" : { |
| "interfaces" : [ |
| { |
| "name" : "AS 65001", |
| "ips" : [ "10.0.0.3/24" ], |
| "mac" : "00:00:00:00:00:01" |
| } |
| ] |
| }, |
| "of:00000000000000a1/2" : { |
| "interfaces" : [ |
| { |
| "name" : "AS 65002", |
| "ips" : [ "10.0.0.3/24" ], |
| "mac" : "00:00:00:00:00:01" |
| } |
| ] |
| } |
| }, |
| "apps" : { |
| "org.onosproject.sdxl3" : { |
| "providers" : { |
| "bgpPeers": [ |
| { |
| "name": "AS65001-R1", |
| "ip": "10.0.0.1", |
| "connectPoint": "of:00000000000000a1/1", |
| "intfName": "AS 65001" |
| }, |
| { |
| "name": "AS65002-R2", |
| "ip": "10.0.0.2", |
| "connectPoint": "of:00000000000000a1/2", |
| "intfName": "AS 65002" |
| } |
| ] |
| } |
| }, |
| "org.onosproject.router" : { |
| "bgp" : { |
| "bgpSpeakers" : [ |
| { |
| "name" : "bgp", |
| "connectPoint" : "of:00000000000000a1/3", |
| "peers" : [ |
| "10.0.0.1", |
| "10.0.0.2" |
| ] |
| } |
| ] |
| } |
| } |
| } |
| } |