2 * Copyright (c) 2015 Hewlett-Packard Development Company, L.P. 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.neutron.spi;
11 import java.io.Serializable;
12 import java.util.List;
13 import javax.xml.bind.annotation.XmlElement;
15 public final class NeutronL2gatewayDevice extends NeutronID implements Serializable {
17 private static final long serialVersionUID = 1L;
19 @XmlElement(name = "interfaces")
20 List<NeutronL2gatewayDeviceInterface> l2gatewayDeviceInterfaces;
22 @XmlElement(name = "device_name")
25 public String getDeviceName() {
29 public void setDeviceName(String deviceName) {
30 this.deviceName = deviceName;
33 public List<NeutronL2gatewayDeviceInterface> getNeutronL2gatewayDeviceInterfaces() {
34 return l2gatewayDeviceInterfaces;
37 public void setNeutronL2gatewayDeviceInterfaces(
38 List<NeutronL2gatewayDeviceInterface> l2gatewayDeviceInterfaces) {
39 this.l2gatewayDeviceInterfaces = l2gatewayDeviceInterfaces;
43 public String toString() {
44 return "NeutronL2gatewayDevice [" + "id=" + uuid + ", neutronL2gwDeviceInterfaces="
45 + l2gatewayDeviceInterfaces + ", deviceName=" + deviceName + "]";