Jon Hall | bc40125 | 2016-03-03 14:44:04 -0800 | [diff] [blame] | 1 | { |
Jon Hall | bc40125 | 2016-03-03 14:44:04 -0800 | [diff] [blame] | 2 | "hosts": { |
| 3 | "ports" : { |
| 4 | "of:00000000000000a8/5" : { |
| 5 | "interfaces" : [ |
| 6 | { |
| 7 | "ips" : [ "10.0.5.101/24" ], |
| 8 | "mac" : "00:00:00:00:00:01" |
| 9 | }, |
| 10 | { |
| 11 | "ips" : [ "10.0.15.101/24" ], |
| 12 | "mac" : "00:00:00:00:00:02" |
| 13 | } |
| 14 | ] |
| 15 | }, |
| 16 | "of:0000000000000a32/4" : { |
| 17 | "interfaces" : [ |
| 18 | { |
| 19 | "ips" : [ "10.0.4.101/24" ], |
| 20 | "mac" : "00:00:00:00:00:01" |
| 21 | }, |
| 22 | { |
| 23 | "ips" : [ "10.0.14.101/24" ], |
| 24 | "mac" : "00:00:00:00:00:02" |
| 25 | } |
| 26 | ] |
| 27 | }, |
| 28 | "of:0000000000000a28/3" : { |
| 29 | "interfaces" : [ |
| 30 | { |
| 31 | "ips" : [ "10.0.6.101/24" ], |
| 32 | "mac" : "00:00:00:00:00:01" |
| 33 | }, |
| 34 | { |
| 35 | "ips" : [ "10.0.16.101/24" ], |
| 36 | "mac" : "00:00:00:00:00:02" |
| 37 | } |
| 38 | ] |
| 39 | } |
| 40 | }, |
| 41 | "apps" : { |
| 42 | "org.onosproject.router" : { |
| 43 | "bgp" : { |
| 44 | "bgpSpeakers" : [ |
| 45 | { |
| 46 | "name" : "speaker1", |
| 47 | "connectPoint" : "of:0000000000000a24/1", |
| 48 | "peers" : [ |
| 49 | "10.0.4.1", |
| 50 | "10.0.5.1", |
| 51 | "10.0.6.1" |
| 52 | ] |
| 53 | }, |
| 54 | { |
| 55 | "name" : "speaker2", |
| 56 | "connectPoint" : "of:0000000000000a24/2", |
| 57 | "peers" : [ |
| 58 | "10.0.14.1", |
| 59 | "10.0.15.1", |
| 60 | "10.0.16.1" |
| 61 | ] |
| 62 | } |
| 63 | ] |
| 64 | } |
| 65 | } |
| 66 | } |
| 67 | } |