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.util.List;
12 import javax.xml.bind.annotation.XmlElement;
14 public final class NeutronL2gatewayDevice extends NeutronID {
16 private static final long serialVersionUID = 1L;
18 @XmlElement(name = "interfaces")
19 List<NeutronL2gatewayDeviceInterface> l2gatewayDeviceInterfaces;
21 @XmlElement(name = "device_name")
24 public String getDeviceName() {
28 public void setDeviceName(String deviceName) {
29 this.deviceName = deviceName;
32 public List<NeutronL2gatewayDeviceInterface> getNeutronL2gatewayDeviceInterfaces() {
33 return l2gatewayDeviceInterfaces;
36 public void setNeutronL2gatewayDeviceInterfaces(
37 List<NeutronL2gatewayDeviceInterface> newL2gatewayDeviceInterfaces) {
38 this.l2gatewayDeviceInterfaces = newL2gatewayDeviceInterfaces;
42 public String toString() {
43 return "NeutronL2gatewayDevice [" + "id=" + uuid + ", l2gwDeviceInterfaces="
44 + l2gatewayDeviceInterfaces + ", deviceName=" + deviceName + "]";