Initial push of Neutron interface
[controller.git] / opendaylight / networkconfiguration / neutron / src / main / java / org / opendaylight / controller / networkconfig / neutron / NeutronRouter_Interface.java
1 /*\r
2  * Copyright IBM Corporation, 2013.  All rights reserved.\r
3  *\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
7  */\r
8 \r
9 package org.opendaylight.controller.networkconfig.neutron;\r
10 \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
15 \r
16 @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
21 \r
22     @XmlElement (name="subnet_id")\r
23     String subnetUUID;\r
24 \r
25     @XmlElement (name="port_id")\r
26     String portUUID;\r
27 \r
28     @XmlElement (name="id")\r
29     String id;\r
30 \r
31     @XmlElement (name="tenant_id")\r
32     String tenantID;\r
33 \r
34     public NeutronRouter_Interface() {\r
35     }\r
36 \r
37     public NeutronRouter_Interface(String subnetUUID, String portUUID) {\r
38         this.subnetUUID = subnetUUID;\r
39         this.portUUID = portUUID;\r
40     }\r
41 \r
42     public String getSubnetUUID() {\r
43         return subnetUUID;\r
44     }\r
45 \r
46     public void setSubnetUUID(String subnetUUID) {\r
47         this.subnetUUID = subnetUUID;\r
48     }\r
49 \r
50     public String getPortUUID() {\r
51         return portUUID;\r
52     }\r
53 \r
54     public void setPortUUID(String portUUID) {\r
55         this.portUUID = portUUID;\r
56     }\r
57 \r
58     public void setID(String id) {\r
59         this.id = id;\r
60     }\r
61 \r
62     public void setTenantID(String tenantID) {\r
63         this.tenantID = tenantID;\r
64     }\r
65 }\r