public final class VTerminalInterface extends VInterface<Vterminal>
VTerminalInterface
describes a configuration and runtime status for
a virtual interface inside vTerminal.Constructor and Description |
---|
VTerminalInterface(VInterfaceIdentifier<Vterminal> ifId,
Vinterface vif)
Construct a new instance.
|
VTerminalInterface(VInterfaceIdentifier<Vterminal> ifId,
VtnVinterfaceConfig vifc,
VTNPortMapConfig pmap)
Construct a new instance.
|
Modifier and Type | Method and Description |
---|---|
protected org.slf4j.Logger |
getLogger()
Return a logger instance.
|
protected void |
purgePortCache(TxContext ctx,
SalPort sport,
int vid)
This method does nothing.
|
create, destroy, disableInput, filterPacket, filterPacket, getIdentifier, getIngressHop, getPortState, getState, getVinterface, getVinterfaceStatus, getVlanId, isEnabled, isFilterEmpty, match, notifyNode, notifyPort, purgeCache, redirect, removePortMap, resume, setEnabled, setPortMap, transmit
getFlowFilterList
getIdentifier, getInitialValue
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getIdentifier
public VTerminalInterface(VInterfaceIdentifier<Vterminal> ifId, VtnVinterfaceConfig vifc, VTNPortMapConfig pmap)
This constructor is used to resume runtime status of the virtual interface on bootstrap.
ifId
- The location of the virtual interface.vifc
- Configuration of the virtual interface.pmap
- Port mapping configuration.public VTerminalInterface(VInterfaceIdentifier<Vterminal> ifId, Vinterface vif)
ifId
- The location of the virtual interface.vif
- A Vinterface
instance read from the MD-SAL
datastore.protected void purgePortCache(TxContext ctx, SalPort sport, int vid)
purgePortCache
in class VInterface<Vterminal>
ctx
- MD-SAL datastore transaction context.sport
- A SalPort
instance that specifies the physical
switch port mapped by the port mapping.vid
- The VLAN ID specified by the port mapping configuration.protected org.slf4j.Logger getLogger()
getLogger
in class VirtualElement<Vinterface,VInterfaceIdentifier<Vterminal>>
Logger
instance.Copyright © 2018 OpenDaylight. All rights reserved.