2 * Copyright (c) 2013, 2015 IBM Corporation and others. All rights reserved.
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
9 package org.opendaylight.ovsdb.openstack.netvirt.translator;
11 import java.io.Serializable;
13 import java.util.List;
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;
21 @XmlAccessorType(XmlAccessType.NONE)
23 public class NeutronRouter_NetworkReference implements Serializable {
24 private static final long serialVersionUID = 1L;
26 // See OpenStack Network API v2.0 Reference for description of
27 // annotated attributes
29 @XmlElement(name = "network_id")
32 @XmlElement(name = "enable_snat")
35 @XmlElement(name = "external_fixed_ips")
36 List<Neutron_IPs> externalFixedIPs;
38 public NeutronRouter_NetworkReference() {
41 public String getNetworkID() {
45 public void setNetworkID(String networkID) {
46 this.networkID = networkID;
49 public Boolean getEnableSNAT() {
53 public void setEnableSNAT(Boolean enableSNAT) {
54 this.enableSNAT = enableSNAT;
57 public List<Neutron_IPs> getExternalFixedIPs() {
58 return externalFixedIPs;
61 public void setExternalFixedIPs(List<Neutron_IPs> externalFixedIPs) {
62 this.externalFixedIPs = externalFixedIPs;
66 public String toString() {
67 return "NeutronRouterNetworkReference [networkID=" + networkID +
68 " enableSNAT=" + enableSNAT +
69 " externalFixedIPs=" + externalFixedIPs + "]";