Andreas Papazois | a9964ea | 2016-01-08 15:58:22 +0200 | [diff] [blame] | 1 | { |
| 2 | "ports" : { |
| 3 | "of:00000000000000a1/1" : { |
| 4 | "interfaces" : [ |
| 5 | { |
| 6 | "name" : "AS 65001", |
| 7 | "ips" : [ "10.0.0.3/24" ], |
| 8 | "mac" : "00:00:00:00:00:01" |
| 9 | } |
| 10 | ] |
| 11 | }, |
| 12 | "of:00000000000000a1/2" : { |
| 13 | "interfaces" : [ |
| 14 | { |
| 15 | "name" : "AS 65002", |
| 16 | "ips" : [ "10.0.0.3/24" ], |
| 17 | "mac" : "00:00:00:00:00:01" |
| 18 | } |
| 19 | ] |
| 20 | } |
| 21 | }, |
| 22 | "apps" : { |
| 23 | "org.onosproject.sdxl3" : { |
| 24 | "bgpPeers" : [ |
| 25 | { |
| 26 | "name" : "AS65001-R1", |
| 27 | "ip" : "10.0.0.1", |
| 28 | "interface" : "AS 65001" |
| 29 | }, |
| 30 | { |
| 31 | "name" : "AS65002-R2", |
| 32 | "ip" : "10.0.0.2", |
| 33 | "interface" : "AS 65002" |
| 34 | } |
| 35 | ] |
| 36 | }, |
| 37 | "org.onosproject.router" : { |
| 38 | "bgp" : { |
| 39 | "bgpSpeakers" : [ |
| 40 | { |
| 41 | "name" : "bgp", |
| 42 | "connectPoint" : "of:00000000000000a1/3", |
| 43 | "peers" : [ |
| 44 | "10.0.0.1", |
| 45 | "10.0.0.2" |
| 46 | ] |
| 47 | } |
| 48 | ] |
| 49 | } |
| 50 | } |
| 51 | } |
| 52 | } |