2 * Copyright (c) 2016 Ericsson India Global Services Pvt Ltd. 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
8 package org.opendaylight.vpnservice.interfacemgr.globals;
10 import java.math.BigInteger;
12 public class VlanInterfaceInfo extends InterfaceInfo {
17 private static final long serialVersionUID = 1L;
19 private boolean isVlanTransparent;
21 public VlanInterfaceInfo(BigInteger dpId,
22 String portName, short vlanId) {
23 super(dpId, portName);
27 public VlanInterfaceInfo(String portName, short vlanId) {
32 public short getVlanId() {
36 public void setVlanId(short vlanId) {
40 public boolean isVlanTransparent() {
41 return isVlanTransparent;
44 public void setVlanTransparent(boolean isVlanTransparent) {
45 this.isVlanTransparent = isVlanTransparent;