Andreas Papazois | a9964ea | 2016-01-08 15:58:22 +0200 | [diff] [blame^] | 1 | { |
| 2 | "ports" : { |
| 3 | "of:00000000000000a1/1" : { |
| 4 | "interfaces" : [ |
| 5 | { |
| 6 | "name" : "AS1-conn1", |
| 7 | "ips" : [ "10.0.1.101/24" ], |
| 8 | "mac" : "00:00:00:00:00:01" |
| 9 | } |
| 10 | ] |
| 11 | }, |
| 12 | "of:00000000000000a2/1" : { |
| 13 | "interfaces" : [ |
| 14 | { |
| 15 | "name" : "AS1-conn2", |
| 16 | "ips" : [ "10.0.1.101/24" ], |
| 17 | "mac" : "00:00:00:00:00:01" |
| 18 | } |
| 19 | ] |
| 20 | }, |
| 21 | "of:00000000000000a5/1" : { |
| 22 | "interfaces" : [ |
| 23 | { |
| 24 | "name" : "AS3-conn1", |
| 25 | "ips" : [ "10.0.3.101/24" ], |
| 26 | "mac" : "00:00:00:00:00:01" |
| 27 | } |
| 28 | ] |
| 29 | }, |
| 30 | "of:00000000000000a6/1" : { |
| 31 | "interfaces" : [ |
| 32 | { |
| 33 | "name" : "AS4-conn1", |
| 34 | "ips" : [ "10.0.4.101/24" ], |
| 35 | "mac" : "00:00:00:00:00:01" |
| 36 | } |
| 37 | ] |
| 38 | } |
| 39 | }, |
| 40 | "apps" : { |
| 41 | "org.onosproject.sdxl3" : { |
| 42 | "bgpPeers" : [ |
| 43 | { |
| 44 | "name" : "AS1-Router1", |
| 45 | "ip" : "10.0.1.1", |
| 46 | "interface" : "AS1-conn1" |
| 47 | }, |
| 48 | { |
| 49 | "name" : "AS1-Router2", |
| 50 | "ip" : "10.0.1.129", |
| 51 | "interface" : "AS1-conn2" |
| 52 | } |
| 53 | ] |
| 54 | }, |
| 55 | "org.onosproject.router" : { |
| 56 | "bgp" : { |
| 57 | "bgpSpeakers" : [ |
| 58 | { |
| 59 | "name" : "bgp", |
| 60 | "connectPoint" : "of:00000000000000a3/1", |
| 61 | "peers" : [ |
| 62 | "10.0.1.1", |
| 63 | "10.0.1.129", |
| 64 | "10.0.3.1", |
| 65 | "10.0.4.1" |
| 66 | ] |
| 67 | } |
| 68 | ] |
| 69 | } |
| 70 | } |
| 71 | } |
| 72 | } |