{ | |
"ports" : { | |
"of:00000000000000a1/1" : { | |
"interfaces" : [ | |
{ | |
"name" : "sw1-1", | |
"ips" : [ "10.0.1.101/24" ], | |
"mac" : "00:00:00:00:00:01" | |
} | |
] | |
}, | |
"of:00000000000000a2/1" : { | |
"interfaces" : [ | |
{ | |
"name" : "sw2-1", | |
"ips" : [ "10.0.2.101/24" ], | |
"mac" : "00:00:00:00:00:01" | |
} | |
] | |
}, | |
"of:00000000000000a5/1" : { | |
"interfaces" : [ | |
{ | |
"name" : "sw5-1", | |
"ips" : [ "10.0.3.101/24" ], | |
"mac" : "00:00:00:00:00:01" | |
} | |
] | |
}, | |
"of:00000000000000a6/1" : { | |
"interfaces" : [ | |
{ | |
"name" : "sw6-1", | |
"ips" : [ "10.0.4.101/24" ], | |
"mac" : "00:00:00:00:00:01" | |
} | |
] | |
} | |
}, | |
"apps" : { | |
"org.onosproject.router" : { | |
"bgp" : { | |
"bgpSpeakers" : [ | |
{ | |
"name" : "speaker1", | |
"connectPoint" : "of:00000000000000a3/1", | |
"peers" : [ | |
"10.0.1.1", | |
"10.0.2.1", | |
"10.0.3.1", | |
"10.0.4.1" | |
] | |
} | |
] | |
} | |
} | |
} | |
} |