| { |
| "hosts": { |
| "ports" : { |
| "of:00000000000000a8/5" : { |
| "interfaces" : [ |
| { |
| "ips" : [ "10.0.5.101/24" ], |
| "mac" : "00:00:00:00:00:01" |
| }, |
| { |
| "ips" : [ "10.0.15.101/24" ], |
| "mac" : "00:00:00:00:00:02" |
| } |
| ] |
| }, |
| "of:0000000000000a32/4" : { |
| "interfaces" : [ |
| { |
| "ips" : [ "10.0.4.101/24" ], |
| "mac" : "00:00:00:00:00:01" |
| }, |
| { |
| "ips" : [ "10.0.14.101/24" ], |
| "mac" : "00:00:00:00:00:02" |
| } |
| ] |
| }, |
| "of:0000000000000a28/3" : { |
| "interfaces" : [ |
| { |
| "ips" : [ "10.0.6.101/24" ], |
| "mac" : "00:00:00:00:00:01" |
| }, |
| { |
| "ips" : [ "10.0.16.101/24" ], |
| "mac" : "00:00:00:00:00:02" |
| } |
| ] |
| } |
| }, |
| "apps" : { |
| "org.onosproject.router" : { |
| "bgp" : { |
| "bgpSpeakers" : [ |
| { |
| "name" : "speaker1", |
| "connectPoint" : "of:0000000000000a24/1", |
| "peers" : [ |
| "10.0.4.1", |
| "10.0.5.1", |
| "10.0.6.1" |
| ] |
| }, |
| { |
| "name" : "speaker2", |
| "connectPoint" : "of:0000000000000a24/2", |
| "peers" : [ |
| "10.0.14.1", |
| "10.0.15.1", |
| "10.0.16.1" |
| ] |
| } |
| ] |
| } |
| } |
| } |
| } |