public final class XmlVBridge extends XmlAbstractBridge
XmlVBridge provides XML binding to the data model for vBridge.| Constructor and Description |
|---|
XmlVBridge(VtnVbridgeInfo vbr)
Construct a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o)
Determine whether the given object is identical to this object.
|
FlowFilterList |
getInputFilters()
Return a list of input flow filters.
|
VTNMacMapConfig |
getMacMap()
Return a MAC mapping configuration if present.
|
FlowFilterList |
getOutputFilters()
Return a list of output flow filters.
|
List<VTNVlanMapConfig> |
getVlanMaps()
Return a list of VLAN mapping configurations.
|
int |
hashCode()
Return the hash code of this object.
|
VbridgeBuilder |
toVbridgeBuilder(XmlLogger xlogger,
BridgeIdentifier<Vbridge> vbrId)
Convert this instance into a
VbridgeBuilder instance. |
getInterfacesgetDescription, getNamepublic XmlVBridge(VtnVbridgeInfo vbr) throws RpcException
vbr - A VtnVbridgeInfo instance.RpcException - The given instance is invalid.public List<VTNVlanMapConfig> getVlanMaps()
VTNVlanMapConfig instances or null.public VTNMacMapConfig getMacMap()
VTNMacMapConfig instance if MAC mapping is configured
in this vBridge. Otherwise null.public FlowFilterList getInputFilters()
FlowFilterList instance or null.public FlowFilterList getOutputFilters()
FlowFilterList instance or null.public VbridgeBuilder toVbridgeBuilder(XmlLogger xlogger, BridgeIdentifier<Vbridge> vbrId) throws RpcException
VbridgeBuilder instance.
Note that returned instance contains only configuration for the vBridge. Other information needs to be resumed by the caller.
xlogger - A XmlLogger instance.vbrId - An identifier for this vBridge.VbridgeBuilder instance.RpcException - Failed to convert this instance.public boolean equals(Object o)
equals in class XmlAbstractBridgeo - An object to be compared.true if identical. Otherwise false.public int hashCode()
hashCode in class XmlAbstractBridgeCopyright © 2018 OpenDaylight. All rights reserved.