| { |
| "ports" : { |
| "of:00000000000000a1/1" : { |
| "interfaces" : [ |
| { |
| "name" : "AS1-conn1", |
| "ips" : [ "10.0.1.101/24" ], |
| "mac" : "00:00:00:00:00:01" |
| } |
| ] |
| }, |
| "of:00000000000000a2/1" : { |
| "interfaces" : [ |
| { |
| "name" : "AS1-conn2", |
| "ips" : [ "10.0.1.101/24" ], |
| "mac" : "00:00:00:00:00:01" |
| } |
| ] |
| }, |
| "of:00000000000000a5/1" : { |
| "interfaces" : [ |
| { |
| "name" : "AS3-conn1", |
| "ips" : [ "10.0.3.101/24" ], |
| "mac" : "00:00:00:00:00:01" |
| } |
| ] |
| }, |
| "of:00000000000000a6/1" : { |
| "interfaces" : [ |
| { |
| "name" : "AS4-conn1", |
| "ips" : [ "10.0.4.101/24" ], |
| "mac" : "00:00:00:00:00:01" |
| } |
| ] |
| } |
| }, |
| "apps" : { |
| "org.onosproject.sdxl3" : { |
| "bgpPeers" : [ |
| { |
| "name" : "AS1-Router1", |
| "ip" : "10.0.1.1", |
| "interface" : "AS1-conn1" |
| }, |
| { |
| "name" : "AS1-Router2", |
| "ip" : "10.0.1.129", |
| "interface" : "AS1-conn2" |
| } |
| ] |
| }, |
| "org.onosproject.router" : { |
| "bgp" : { |
| "bgpSpeakers" : [ |
| { |
| "name" : "bgp", |
| "connectPoint" : "of:00000000000000a3/1", |
| "peers" : [ |
| "10.0.1.1", |
| "10.0.1.129", |
| "10.0.3.1", |
| "10.0.4.1" |
| ] |
| } |
| ] |
| } |
| } |
| } |
| } |