2 * Copyright IBM Corporation, 2013. All rights reserved.
\r
4 * This program and the accompanying materials are made available under the
\r
5 * terms of the Eclipse Public License v1.0 which accompanies this distribution,
\r
6 * and is available at http://www.eclipse.org/legal/epl-v10.html
\r
9 package org.opendaylight.controller.networkconfig.neutron;
\r
11 import javax.xml.bind.annotation.XmlAccessType;
\r
12 import javax.xml.bind.annotation.XmlAccessorType;
\r
13 import javax.xml.bind.annotation.XmlElement;
\r
14 import javax.xml.bind.annotation.XmlRootElement;
\r
17 @XmlAccessorType(XmlAccessType.NONE)
\r
18 public class NeutronRouter_Interface {
\r
19 // See OpenStack Network API v2.0 Reference for description of
\r
20 // annotated attributes
\r
22 @XmlElement (name="subnet_id")
\r
25 @XmlElement (name="port_id")
\r
28 @XmlElement (name="id")
\r
31 @XmlElement (name="tenant_id")
\r
34 public NeutronRouter_Interface() {
\r
37 public NeutronRouter_Interface(String subnetUUID, String portUUID) {
\r
38 this.subnetUUID = subnetUUID;
\r
39 this.portUUID = portUUID;
\r
42 public String getSubnetUUID() {
\r
46 public void setSubnetUUID(String subnetUUID) {
\r
47 this.subnetUUID = subnetUUID;
\r
50 public String getPortUUID() {
\r
54 public void setPortUUID(String portUUID) {
\r
55 this.portUUID = portUUID;
\r
58 public void setID(String id) {
\r
62 public void setTenantID(String tenantID) {
\r
63 this.tenantID = tenantID;
\r