public final class XmlVInterface extends XmlVNode
XmlVInterface provides XML binding to the data model for
virtual interface.| Constructor and Description |
|---|
XmlVInterface(VtnMappableVinterface vif)
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.
|
FlowFilterList |
getOutputFilters()
Return a list of output flow filters.
|
VTNPortMapConfig |
getPortMap()
Return a port mapping configuration if present.
|
int |
hashCode()
Return the hash code of this object.
|
static List<XmlVInterface> |
toList(List<Vinterface> list)
Convert the given virtual interface list into a list of
XmlVInterface instances. |
VinterfaceBuilder |
toVinterfaceBuilder(XmlLogger xlogger,
VInterfaceIdentifier<?> ifId)
Convert this instance into a
VinterfaceBuilder instance. |
getDescription, getNamepublic XmlVInterface(VtnMappableVinterface vif) throws RpcException
vif - A VtnMappableVinterface instance.RpcException - The given instance is invalid.public static List<XmlVInterface> toList(List<Vinterface> list) throws RpcException
XmlVInterface instances.list - A list of Vinterface instance.XmlVInterface instance if the given list
contains at least one virtual interface.
null otherwise.RpcException - The given list contains instance instance.public VTNPortMapConfig getPortMap()
VTNPortMapConfig instance if port mapping is
configured in this virtual interface.
Otherwise null.public FlowFilterList getInputFilters()
FlowFilterList instance or null.public FlowFilterList getOutputFilters()
FlowFilterList instance or null.public VinterfaceBuilder toVinterfaceBuilder(XmlLogger xlogger, VInterfaceIdentifier<?> ifId) throws RpcException
VinterfaceBuilder instance.
Note that returned instance contains only configuration. Runtime status needs to be resumed by the caller.
xlogger - A XmlLogger instance.ifId - A VInterfaceIdentifier instance which specifies
the virtual interface.VinterfaceBuilder instance.RpcException - Failed to convert this instance.public boolean equals(Object o)
Copyright © 2018 OpenDaylight. All rights reserved.