public final class XmlPathPolicy extends Object implements VtnPathPolicyConfig
XmlPathPolicy provides XML binding to data model for path policy
configuration.QNAME| Constructor and Description |
|---|
XmlPathPolicy(VtnPathPolicyConfig vppc)
Consturct a new instance from the given
VtnPathPolicyConfig
instance. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o)
Determine whether the given object is identical to this object.
|
Long |
getDefaultCost()
Reurn the default cost for unspecified link.
|
Integer |
getId()
Return the identifier of this path policy.
|
Class<VtnPathPolicyConfig> |
getImplementedInterface()
Return a class which indicates the data model type implemented by this
instance.
|
List<VtnPathCost> |
getVtnPathCost()
Return a list of path costs configured in this path policy.
|
int |
hashCode()
Return the hash code of this object.
|
String |
toString()
Return a string representation of this object.
|
public XmlPathPolicy(VtnPathPolicyConfig vppc)
VtnPathPolicyConfig
instance.
Note that this constructor assumes that the given instance is valid.
vppc - A VtnPathPolicyConfig instance.public Class<VtnPathPolicyConfig> getImplementedInterface()
getImplementedInterface in interface org.opendaylight.yangtools.yang.binding.DataContainerVtnPathPolicyConfig.public Integer getId()
getId in interface VtnPathPolicyConfigInteger instance which indicates the path policy
identifier.public Long getDefaultCost()
getDefaultCost in interface VtnPathPolicyConfigLong instance which indicates the default cost.public List<VtnPathCost> getVtnPathCost()
getVtnPathCost in interface VtnPathPolicyConfigVtnPathCost instances.public boolean equals(Object o)
public int hashCode()
Copyright © 2018 OpenDaylight. All rights reserved.