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 Neutron_IPs {
\r
19 // See OpenStack Network API v2.0 Reference for description of
\r
20 // annotated attributes
\r
22 @XmlElement(name="ip_address")
\r
25 @XmlElement(name="subnet_id")
\r
28 public Neutron_IPs() { }
\r
30 public Neutron_IPs(String uuid) {
\r
31 this.subnetUUID = uuid;
\r
34 public String getIpAddress() {
\r
38 public void setIpAddress(String ipAddress) {
\r
39 this.ipAddress = ipAddress;
\r
42 public String getSubnetUUID() {
\r
46 public void setSubnetUUID(String subnetUUID) {
\r
47 this.subnetUUID = subnetUUID;
\r