All Superinterfaces:
org.opendaylight.yangtools.binding.Augmentable<OspfNodeAttributes>, org.opendaylight.yangtools.binding.BindingContract<org.opendaylight.yangtools.binding.DataContainer>, org.opendaylight.yangtools.binding.BindingObject, org.opendaylight.yangtools.binding.ChildOf<OspfNodeAttributes>, org.opendaylight.yangtools.binding.ContainerObject<OspfNodeAttributes,OspfNodeAttributes>, org.opendaylight.yangtools.binding.DataContainer, org.opendaylight.yangtools.binding.DataObject, org.opendaylight.yangtools.binding.lib.ImplementedInterface<org.opendaylight.yangtools.binding.DataContainer>, org.opendaylight.yangtools.binding.lib.JavaContract<org.opendaylight.yangtools.binding.DataContainer,OspfNodeAttributes>, org.opendaylight.yangtools.binding.lib.JavaDataContainer<OspfNodeAttributes>, org.opendaylight.yangtools.binding.ParentObject<OspfNodeAttributes>

@Generated("mdsal-binding-generator") public interface OspfNodeAttributes extends org.opendaylight.yangtools.binding.ContainerObject<OspfNodeAttributes,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;
   }
 }
 

To create instances of this class use OspfNodeAttributesBuilder.

See Also:
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static final class 
    This class represents the following YANG schema fragment defined in module ospf-topology
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final @NonNull org.opendaylight.yangtools.yang.common.QName
    The YANG identifier of the container statement represented by this interface.
  • Method Summary

    Modifier and Type
    Method
    Description
    Return capabilities, or null if it is not present.
    org.opendaylight.yangtools.yang.common.Uint32
    Return drInterfaceId, or null if it is not present.
    @Nullable Set<org.opendaylight.yangtools.yang.common.Uint8>
    Return multiTopologyId, or null if it is not present.
    Returns RouterType routerType, or null if it is not present.
    Returns Ted ted, or null if it is not present.
     
    default boolean
     
    default int
     
    default String
     
    @NonNull Ted
    Returns Ted ted, or an empty instance if it is not present.
    Return capabilities, guaranteed to be non-null.
    default @NonNull org.opendaylight.yangtools.yang.common.Uint32
    Return drInterfaceId, guaranteed to be non-null.
    default @NonNull Set<org.opendaylight.yangtools.yang.common.Uint8>
    Return multiTopologyId, guaranteed to be non-null.

    Methods inherited from interface org.opendaylight.yangtools.binding.Augmentable

    augmentation, augmentationOrElseThrow, augmentationOrElseThrow, augmentations

    Methods inherited from interface org.opendaylight.yangtools.binding.lib.JavaContract

    equals, hashCode, toString
  • Field Details

    • QNAME

      static final @NonNull org.opendaylight.yangtools.yang.common.QName QNAME
      The YANG identifier of the container statement represented by this interface.
  • Method Details

    • getRouterType

      RouterType getRouterType()
      Returns RouterType routerType, or null if it is not present.
      Returns:
      RouterType routerType, or null if it is not present
    • getDrInterfaceId

      org.opendaylight.yangtools.yang.common.Uint32 getDrInterfaceId()
      Return drInterfaceId, or null if it is not present.
           
               For pseudonodes, DR interface-id
           
       
      Returns:
      Uint32 drInterfaceId, or null if it is not present.
    • requireDrInterfaceId

      default @NonNull org.opendaylight.yangtools.yang.common.Uint32 requireDrInterfaceId()
      Return drInterfaceId, guaranteed to be non-null.
           
               For pseudonodes, DR interface-id
           
       
      Returns:
      Uint32 drInterfaceId, guaranteed to be non-null.
      Throws:
      NoSuchElementException - if drInterfaceId is not present
    • getMultiTopologyId

      @Nullable Set<org.opendaylight.yangtools.yang.common.Uint8> getMultiTopologyId()
      Return multiTopologyId, or null if it is not present.
           
               List of Multi-Topology Identifier up-to 128 (0-127). RFC 4915
           
       
      Returns:
      Set<Uint8> multiTopologyId, or null if it is not present.
    • requireMultiTopologyId

      default @NonNull Set<org.opendaylight.yangtools.yang.common.Uint8> requireMultiTopologyId()
      Return multiTopologyId, guaranteed to be non-null.
           
               List of Multi-Topology Identifier up-to 128 (0-127). RFC 4915
           
       
      Returns:
      Set<Uint8> multiTopologyId, guaranteed to be non-null.
      Throws:
      NoSuchElementException - if multiTopologyId is not present
    • getCapabilities

      Return capabilities, or null if it is not present.
           
               OSPF capabilities as bit vector. RFC 4970
           
       
      Returns:
      Capabilities capabilities, or null if it is not present.
    • requireCapabilities

      default @NonNull OspfNodeAttributes.Capabilities requireCapabilities()
      Return capabilities, guaranteed to be non-null.
           
               OSPF capabilities as bit vector. RFC 4970
           
       
      Returns:
      Capabilities capabilities, guaranteed to be non-null.
      Throws:
      NoSuchElementException - if capabilities is not present
    • getTed

      Ted getTed()
      Returns Ted ted, or null if it is not present.
      Returns:
      Ted ted, or null if it is not present
    • nonnullTed

      @NonNull Ted nonnullTed()
      Returns Ted ted, or an empty instance if it is not present.
      Returns:
      Ted ted, or an empty instance if it is not present
    • implementedInterface

      default Class<OspfNodeAttributes> implementedInterface()
      Specified by:
      implementedInterface in interface org.opendaylight.yangtools.binding.BindingContract<org.opendaylight.yangtools.binding.DataContainer>
      Specified by:
      implementedInterface in interface org.opendaylight.yangtools.binding.DataObject
      Specified by:
      implementedInterface in interface org.opendaylight.yangtools.binding.lib.ImplementedInterface<org.opendaylight.yangtools.binding.DataContainer>
      Specified by:
      implementedInterface in interface org.opendaylight.yangtools.binding.ParentObject<OspfNodeAttributes>
    • javaHC

      default int javaHC()
      Specified by:
      javaHC in interface org.opendaylight.yangtools.binding.lib.JavaContract<org.opendaylight.yangtools.binding.DataContainer,OspfNodeAttributes>
      Specified by:
      javaHC in interface org.opendaylight.yangtools.binding.lib.JavaDataContainer<OspfNodeAttributes>
    • javaEQ

      default boolean javaEQ(OspfNodeAttributes obj)
      Specified by:
      javaEQ in interface org.opendaylight.yangtools.binding.lib.JavaContract<org.opendaylight.yangtools.binding.DataContainer,OspfNodeAttributes>
      Specified by:
      javaEQ in interface org.opendaylight.yangtools.binding.lib.JavaDataContainer<OspfNodeAttributes>
    • javaTS

      default String javaTS()
      Specified by:
      javaTS in interface org.opendaylight.yangtools.binding.lib.JavaContract<org.opendaylight.yangtools.binding.DataContainer,OspfNodeAttributes>
      Specified by:
      javaTS in interface org.opendaylight.yangtools.binding.lib.JavaDataContainer<OspfNodeAttributes>