2 * Copyright (c) 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 javax.xml.bind.annotation.XmlAccessType;
14 import javax.xml.bind.annotation.XmlAccessorType;
15 import javax.xml.bind.annotation.XmlElement;
16 import javax.xml.bind.annotation.XmlRootElement;
19 @XmlAccessorType(XmlAccessType.NONE)
20 public class NeutronPort_AllowedAddressPairs implements Serializable {
21 private static final long serialVersionUID = 1L;
23 @XmlElement (name = "port_id")
26 @XmlElement (name = "mac_address")
29 @XmlElement (name = "ip_address")
32 public NeutronPort_AllowedAddressPairs() {
35 public NeutronPort_AllowedAddressPairs(String portID, String macAddress, String ipAddress) {
37 this.macAddress = macAddress;
38 this.ipAddress = ipAddress;
41 public String getPortID() { return(portID); }
43 public void setPortID(String portID) { this.portID = portID; }
45 public String getMacAddress() { return(macAddress); }
47 public void setMacAddress(String macAddress) { this.macAddress = macAddress; }
49 public String getIpAddress() { return(ipAddress); }
51 public void setIpAddress(String ipAddress) { this.ipAddress = ipAddress; }