Merge "Added support to update flows for induvidual security rule add/remove , after...
[ovsdb.git] / openstack / net-virt / src / main / java / org / opendaylight / ovsdb / openstack / netvirt / translator / NeutronRouter_NetworkReference.java
1 /*
2  * Copyright (c) 2013, 2015 IBM Corporation and others.  All rights reserved.
3  *
4  * This program and the accompanying materials are made available under the
5  * terms of the Eclipse Public License v1.0 which accompanies this distribution,
6  * and is available at http://www.eclipse.org/legal/epl-v10.html
7  */
8
9 package org.opendaylight.ovsdb.openstack.netvirt.translator;
10
11 import java.io.Serializable;
12
13 import java.util.List;
14
15 import javax.xml.bind.annotation.XmlAccessType;
16 import javax.xml.bind.annotation.XmlAccessorType;
17 import javax.xml.bind.annotation.XmlElement;
18 import javax.xml.bind.annotation.XmlRootElement;
19
20 @XmlRootElement
21 @XmlAccessorType(XmlAccessType.NONE)
22
23 public class NeutronRouter_NetworkReference implements Serializable {
24     private static final long serialVersionUID = 1L;
25
26     // See OpenStack Network API v2.0 Reference for description of
27     // annotated attributes
28
29     @XmlElement(name = "network_id")
30     String networkID;
31
32     @XmlElement(name = "enable_snat")
33     Boolean enableSNAT;
34
35     @XmlElement(name = "external_fixed_ips")
36     List<Neutron_IPs> externalFixedIPs;
37
38     public NeutronRouter_NetworkReference() {
39     }
40
41     public String getNetworkID() {
42         return networkID;
43     }
44
45     public void setNetworkID(String networkID) {
46         this.networkID = networkID;
47     }
48
49     public Boolean getEnableSNAT() {
50         return enableSNAT;
51     }
52
53     public void setEnableSNAT(Boolean enableSNAT) {
54         this.enableSNAT = enableSNAT;
55     }
56
57     public List<Neutron_IPs> getExternalFixedIPs() {
58         return externalFixedIPs;
59     }
60
61     public void setExternalFixedIPs(List<Neutron_IPs> externalFixedIPs) {
62         this.externalFixedIPs = externalFixedIPs;
63     }
64
65     @Override
66     public String toString() {
67         return "NeutronRouterNetworkReference [networkID=" + networkID +
68             " enableSNAT=" + enableSNAT +
69             " externalFixedIPs=" + externalFixedIPs + "]";
70     }
71
72 }