Saurav Das | 428ebc9 | 2015-09-30 10:00:49 -0700 | [diff] [blame] | 1 | { |
| 2 | "ports" : { |
| 3 | "of:0000000000000002/1" : { |
| 4 | "interfaces" : [ |
| 5 | { |
| 6 | "ips" : [ "192.168.10.101/24" ], |
| 7 | "mac" : "08:9e:01:82:38:68", |
| 8 | "vlan" : "100" |
| 9 | } |
| 10 | ] |
| 11 | }, |
| 12 | "of:0000000000000002/20" : { |
| 13 | "interfaces" : [ |
| 14 | { |
| 15 | "ips" : [ "192.168.20.101/24" ], |
| 16 | "mac" : "08:9e:01:82:38:68", |
| 17 | "vlan" : "200" |
| 18 | } |
| 19 | ] |
| 20 | } |
| 21 | }, |
| 22 | "apps" : { |
| 23 | "org.onosproject.router" : { |
| 24 | "bgp" : { |
| 25 | "bgpSpeakers" : [ |
| 26 | { |
| 27 | "connectPoint" : "of:00000000000000aa/10", |
| 28 | "peers" : [ |
| 29 | "192.168.10.1" |
| 30 | ] |
| 31 | }, |
| 32 | { |
| 33 | "connectPoint" : "of:00000000000000aa/20", |
| 34 | "peers" : [ |
| 35 | "192.168.20.1" |
| 36 | ] |
| 37 | } |
| 38 | ] |
| 39 | } |
| 40 | } |
| 41 | } |
| 42 | } |