Jonathan Hart | 1236a9b | 2013-06-18 22:10:05 +1200 | [diff] [blame] | 1 | package net.onrc.onos.ofcontroller.bgproute; |
| 2 | |
| 3 | import java.util.List; |
| 4 | import java.util.Map; |
| 5 | |
| 6 | import org.codehaus.jackson.annotate.JsonProperty; |
| 7 | |
| 8 | public class Configuration { |
| 9 | List<String> switches; |
| 10 | Map<String, GatewayRouter> gateways; |
| 11 | |
| 12 | public Configuration() { |
| 13 | // TODO Auto-generated constructor stub |
| 14 | } |
| 15 | |
| 16 | public List<String> getSwitches() { |
| 17 | return switches; |
| 18 | } |
| 19 | |
| 20 | @JsonProperty("switches") |
| 21 | public void setSwitches(List<String> switches) { |
| 22 | this.switches = switches; |
| 23 | } |
| 24 | |
| 25 | public Map<String, GatewayRouter> getGateways() { |
| 26 | return gateways; |
| 27 | } |
| 28 | |
| 29 | @JsonProperty("gateways") |
| 30 | public void setGateways(Map<String, GatewayRouter> gateways) { |
| 31 | this.gateways = gateways; |
| 32 | } |
| 33 | |
| 34 | } |