X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=opendaylight%2Fnetworkconfiguration%2Fneutron%2Fsrc%2Fmain%2Fjava%2Forg%2Fopendaylight%2Fcontroller%2Fnetworkconfig%2Fneutron%2FNeutronRouter_Interface.java;h=c7ae4eb1726e33d82213f5bced6064eb68a79a52;hb=67d58d1ab50f3c3bbe19a96fb6f0d9d94211829f;hp=307789c8cf2433311dd5f435b34527baa01c2900;hpb=f39735ca424bb6a64b46505c9c2b25cbe4940c24;p=controller.git diff --git a/opendaylight/networkconfiguration/neutron/src/main/java/org/opendaylight/controller/networkconfig/neutron/NeutronRouter_Interface.java b/opendaylight/networkconfiguration/neutron/src/main/java/org/opendaylight/controller/networkconfig/neutron/NeutronRouter_Interface.java index 307789c8cf..c7ae4eb172 100644 --- a/opendaylight/networkconfiguration/neutron/src/main/java/org/opendaylight/controller/networkconfig/neutron/NeutronRouter_Interface.java +++ b/opendaylight/networkconfiguration/neutron/src/main/java/org/opendaylight/controller/networkconfig/neutron/NeutronRouter_Interface.java @@ -1,65 +1,73 @@ -/* - * Copyright IBM Corporation, 2013. All rights reserved. - * - * This program and the accompanying materials are made available under the - * terms of the Eclipse Public License v1.0 which accompanies this distribution, - * and is available at http://www.eclipse.org/legal/epl-v10.html - */ - -package org.opendaylight.controller.networkconfig.neutron; - -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlRootElement; - -@XmlRootElement -@XmlAccessorType(XmlAccessType.NONE) -public class NeutronRouter_Interface { - // See OpenStack Network API v2.0 Reference for description of - // annotated attributes - - @XmlElement (name="subnet_id") - String subnetUUID; - - @XmlElement (name="port_id") - String portUUID; - - @XmlElement (name="id") - String id; - - @XmlElement (name="tenant_id") - String tenantID; - - public NeutronRouter_Interface() { - } - - public NeutronRouter_Interface(String subnetUUID, String portUUID) { - this.subnetUUID = subnetUUID; - this.portUUID = portUUID; - } - - public String getSubnetUUID() { - return subnetUUID; - } - - public void setSubnetUUID(String subnetUUID) { - this.subnetUUID = subnetUUID; - } - - public String getPortUUID() { - return portUUID; - } - - public void setPortUUID(String portUUID) { - this.portUUID = portUUID; - } - - public void setID(String id) { - this.id = id; - } - - public void setTenantID(String tenantID) { - this.tenantID = tenantID; - } -} +/* + * Copyright IBM Corporation, 2013. All rights reserved. + * + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License v1.0 which accompanies this distribution, + * and is available at http://www.eclipse.org/legal/epl-v10.html + */ + +package org.opendaylight.controller.networkconfig.neutron; + +import java.io.Serializable; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlRootElement; + +@XmlRootElement +@XmlAccessorType(XmlAccessType.NONE) +public class NeutronRouter_Interface implements Serializable { + private static final long serialVersionUID = 1L; + + // See OpenStack Network API v2.0 Reference for description of + // annotated attributes + + @XmlElement (name="subnet_id") + String subnetUUID; + + @XmlElement (name="port_id") + String portUUID; + + @XmlElement (name="id") + String id; + + @XmlElement (name="tenant_id") + String tenantID; + + public NeutronRouter_Interface() { + } + + public NeutronRouter_Interface(String subnetUUID, String portUUID) { + this.subnetUUID = subnetUUID; + this.portUUID = portUUID; + } + + public String getSubnetUUID() { + return subnetUUID; + } + + public void setSubnetUUID(String subnetUUID) { + this.subnetUUID = subnetUUID; + } + + public String getPortUUID() { + return portUUID; + } + + public void setPortUUID(String portUUID) { + this.portUUID = portUUID; + } + + public String getID() { + return id; + } + + public void setID(String id) { + this.id = id; + } + + public void setTenantID(String tenantID) { + this.tenantID = tenantID; + } +}