Package org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.ospf.topology.rev131021.ospf.node.attributes
Interface OspfNodeAttributes
-
- All Superinterfaces:
org.opendaylight.yangtools.yang.binding.Augmentable<OspfNodeAttributes>
,org.opendaylight.yangtools.yang.binding.BindingObject
,org.opendaylight.yangtools.yang.binding.ChildOf<OspfNodeAttributes>
,org.opendaylight.yangtools.yang.binding.DataContainer
,org.opendaylight.yangtools.yang.binding.DataObject
@Generated("mdsal-binding-generator") public interface OspfNodeAttributes extends org.opendaylight.yangtools.yang.binding.ChildOf<OspfNodeAttributes>, org.opendaylight.yangtools.yang.binding.Augmentable<OspfNodeAttributes>
This class represents the following YANG schema fragment defined in module ospf-topology
container ospf-node-attributes { choice router-type { case abr { leaf abr { type empty; } } case asbr { leaf asbr { type empty; } } case internal { leaf internal { type empty; } } case pseudonode { leaf pseudonode { type empty; } } } leaf dr-interface-id { when ../router-type/pseudonode; default 0; type uint32; } leaf-list multi-topology-id { max-elements 128; type uint8 { range 0..127; } } leaf capabilities { type bits { bit graceful-restart-capable { position 0; } bit graceful-restart-helper { position 1; } bit stub-router-support { position 2; } bit traffic-engineering-support { position 3; } bit point-to-point-over-lan { position 4; } bit experimental-te { position 5; } } } container ted { uses ted:ted-node-attributes; } }
The schema path to identify an instance is ospf-topology/ospf-node-attributes/ospf-node-attributesTo create instances of this class use
OspfNodeAttributesBuilder
.- See Also:
OspfNodeAttributesBuilder
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
OspfNodeAttributes.Capabilities
-
Field Summary
Fields Modifier and Type Field Description static @NonNull org.opendaylight.yangtools.yang.common.QName
QNAME
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description static boolean
bindingEquals(@NonNull OspfNodeAttributes thisObj, Object obj)
Default implementation ofObject.equals(Object)
contract for this interface.static int
bindingHashCode(@NonNull OspfNodeAttributes obj)
Default implementation ofObject.hashCode()
contract for this interface.static String
bindingToString(@NonNull OspfNodeAttributes obj)
Default implementation ofObject.toString()
contract for this interface.OspfNodeAttributes.Capabilities
getCapabilities()
Return capabilities, ornull
if it is not present.org.opendaylight.yangtools.yang.common.Uint32
getDrInterfaceId()
Return drInterfaceId, ornull
if it is not present.@Nullable List<org.opendaylight.yangtools.yang.common.Uint8>
getMultiTopologyId()
Return multiTopologyId, ornull
if it is not present.RouterType
getRouterType()
Return routerType, ornull
if it is not present.Ted
getTed()
Return ted, ornull
if it is not present.default Class<OspfNodeAttributes>
implementedInterface()
-
-
-
Method Detail
-
implementedInterface
default Class<OspfNodeAttributes> implementedInterface()
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataContainer
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataObject
-
bindingHashCode
static int bindingHashCode(@NonNull OspfNodeAttributes obj)
Default implementation ofObject.hashCode()
contract for this interface. Implementations of this interface are encouraged to defer to this method to get consistent hashing results across all implementations.- Parameters:
obj
- Object for which to generate hashCode() result.- Returns:
- Hash code value of data modeled by this interface.
- Throws:
NullPointerException
- ifobj
is null
-
bindingEquals
static boolean bindingEquals(@NonNull OspfNodeAttributes thisObj, Object obj)
Default implementation ofObject.equals(Object)
contract for this interface. Implementations of this interface are encouraged to defer to this method to get consistent equality results across all implementations.- Parameters:
thisObj
- Object acting as the receiver of equals invocationobj
- Object acting as argument to equals invocation- Returns:
- True if thisObj and obj are considered equal
- Throws:
NullPointerException
- ifthisObj
is null
-
bindingToString
static String bindingToString(@NonNull OspfNodeAttributes obj)
Default implementation ofObject.toString()
contract for this interface. Implementations of this interface are encouraged to defer to this method to get consistent string representations across all implementations.- Parameters:
obj
- Object for which to generate toString() result.- Returns:
String
value of data modeled by this interface.- Throws:
NullPointerException
- ifobj
is null
-
getRouterType
RouterType getRouterType()
Return routerType, ornull
if it is not present.- Returns:
org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.ospf.topology.rev131021.ospf.node.attributes.ospf.node.attributes.RouterType
routerType, ornull
if it is not present.
-
getDrInterfaceId
org.opendaylight.yangtools.yang.common.Uint32 getDrInterfaceId()
Return drInterfaceId, ornull
if it is not present.For pseudonodes, DR interface-id
- Returns:
org.opendaylight.yangtools.yang.common.Uint32
drInterfaceId, ornull
if it is not present.
-
getMultiTopologyId
@Nullable List<org.opendaylight.yangtools.yang.common.Uint8> getMultiTopologyId()
Return multiTopologyId, ornull
if it is not present.List of Multi-Topology Identifier up-to 128 (0-127). RFC 4915
- Returns:
java.util.List
multiTopologyId, ornull
if it is not present.
-
getCapabilities
OspfNodeAttributes.Capabilities getCapabilities()
Return capabilities, ornull
if it is not present.OSPF capabilities as bit vector. RFC 4970
- Returns:
org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.ospf.topology.rev131021.ospf.node.attributes.OspfNodeAttributes.Capabilities
capabilities, ornull
if it is not present.
-
getTed
Ted getTed()
Return ted, ornull
if it is not present.- Returns:
org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.ospf.topology.rev131021.ospf.node.attributes.ospf.node.attributes.Ted
ted, ornull
if it is not present.
-
-