public final class XmlPathCost extends Object implements VtnPathCostConfig
XmlPathCost provides XML binding to data model for the cost of using
specific inter-switch link.QNAME| Constructor and Description |
|---|
XmlPathCost(VtnPathCostConfig vpcc)
Construct a new instance from the given
VtnPathCostConfig
instance. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o)
Determine whether the given object is identical to this object.
|
Long |
getCost()
Return the cost of using physical switch port.
|
Class<VtnPathCostConfig> |
getImplementedInterface()
Return a class which indicates the data model type implemented by this
instance.
|
VtnPortDesc |
getPortDesc()
Return the location of the physical switch port.
|
int |
hashCode()
Return the hash code of this object.
|
String |
toString()
Return a string representation of this object.
|
public XmlPathCost(VtnPathCostConfig vpcc)
VtnPathCostConfig
instance.
Note that this constructor assumes that the given instance is valid.
vpcc - A VtnPathCostConfig instance.public Class<VtnPathCostConfig> getImplementedInterface()
getImplementedInterface in interface org.opendaylight.yangtools.yang.binding.DataContainerVtnPathCostConfig.public VtnPortDesc getPortDesc()
getPortDesc in interface VtnPathCostConfigVtnPortDesc instance which indicates the location of
the physical switch port.public Long getCost()
getCost in interface VtnPathCostConfigLong instance which represents the cost of using
physical switch port.public boolean equals(Object o)
public int hashCode()
Copyright © 2018 OpenDaylight. All rights reserved.