public final class VTNPortMapConfig extends Object implements VtnSwitchPort
VTNPortMapConfig describes configuration information about a
port mapping configured in a virtual interface.QNAME| Constructor and Description |
|---|
VTNPortMapConfig(VtnPortMapConfig vpmc)
Construct a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o)
Determine whether the given object is identical to this object.
|
Class<VtnSwitchPort> |
getImplementedInterface()
Return a class which indicates the data model type implemented by this
instance.
|
PortVlan |
getMappedVlan(SalPort mapped)
Return a
PortVlan instance that indicates the VLAN mapped by
the port mapping. |
String |
getPortId()
Return the target switch port identifier.
|
String |
getPortName()
Return the name of the target switch port.
|
SalNode |
getTargetNode()
Return the target switch identifier.
|
int |
getVlanId()
Return the VLAN ID to be mapped.
|
int |
hashCode()
Return the hash code of this object.
|
boolean |
match(SalPort sport,
VtnPort vport)
Determine whether the given switch port satisfies the condition
specified by this instance.
|
PortMapConfig |
toPortMapConfig()
Convert this instance into a
PortMapConfig instance. |
void |
verify()
Verify the contents of this instance.
|
public VTNPortMapConfig(VtnPortMapConfig vpmc) throws RpcException
vpmc - A VtnPortMapConfig instance.RpcException - vpmc contains invalid configuration.public SalNode getTargetNode()
SalNode instance.public int getVlanId()
public void verify()
throws RpcException
RpcException - Verification failed.public PortMapConfig toPortMapConfig()
PortMapConfig instance.PortMapConfig instance.public boolean match(SalPort sport, VtnPort vport)
public PortVlan getMappedVlan(SalPort mapped)
PortVlan instance that indicates the VLAN mapped by
the port mapping.public Class<VtnSwitchPort> getImplementedInterface()
getImplementedInterface in interface org.opendaylight.yangtools.yang.binding.DataContainerVtnSwitchPort.public String getPortName()
getPortName in interface VtnSwitchPortnull if not configured.public String getPortId()
getPortId in interface VtnSwitchPortnull if not configured.public boolean equals(Object o)
Copyright © 2018 OpenDaylight. All rights reserved.