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