All Superinterfaces:
org.opendaylight.yangtools.binding.BindingContract<org.opendaylight.yangtools.binding.DataContainer>, org.opendaylight.yangtools.binding.BindingObject, org.opendaylight.yangtools.binding.DataContainer, org.opendaylight.yangtools.binding.Grouping
All Known Subinterfaces:
Prefix

@Generated("mdsal-binding-generator") public interface Prefix extends org.opendaylight.yangtools.binding.Grouping

This class represents the following YANG schema fragment defined in module graph

 grouping prefix {
   leaf prefix {
     type inet:ip-prefix;
   }
   leaf prefix-sid {
     type uint32;
   }
   leaf node-sid {
     type boolean;
   }
   leaf vertex-id {
     type uint64;
   }
 }
 
  • Method Summary

    Modifier and Type
    Method
    Description
    Return nodeSid, or null if it is not present.
    org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.IpPrefix
    Return prefix, or null if it is not present.
    org.opendaylight.yangtools.yang.common.Uint32
    Return prefixSid, or null if it is not present.
    org.opendaylight.yangtools.yang.common.Uint64
    Return vertexId, or null if it is not present.
    default @NonNull Boolean
    Return nodeSid, guaranteed to be non-null.
    default @NonNull org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.IpPrefix
    Return prefix, guaranteed to be non-null.
    default @NonNull org.opendaylight.yangtools.yang.common.Uint32
    Return prefixSid, guaranteed to be non-null.
    default @NonNull org.opendaylight.yangtools.yang.common.Uint64
    Return vertexId, guaranteed to be non-null.

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

    implementedInterface
  • Method Details

    • getPrefix

      org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.IpPrefix getPrefix()
      Return prefix, or null if it is not present.
           
               IP (v4 or v6) Prefix.
           
       
      Returns:
      IpPrefix prefix, or null if it is not present.
    • requirePrefix

      default @NonNull org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.IpPrefix requirePrefix()
      Return prefix, guaranteed to be non-null.
           
               IP (v4 or v6) Prefix.
           
       
      Returns:
      IpPrefix prefix, guaranteed to be non-null.
      Throws:
      NoSuchElementException - if prefix is not present
    • getPrefixSid

      org.opendaylight.yangtools.yang.common.Uint32 getPrefixSid()
      Return prefixSid, or null if it is not present.
           
               Segment Routing prefix Identifier. Unit MPLS label
           
       
      Returns:
      Uint32 prefixSid, or null if it is not present.
    • requirePrefixSid

      default @NonNull org.opendaylight.yangtools.yang.common.Uint32 requirePrefixSid()
      Return prefixSid, guaranteed to be non-null.
           
               Segment Routing prefix Identifier. Unit MPLS label
           
       
      Returns:
      Uint32 prefixSid, guaranteed to be non-null.
      Throws:
      NoSuchElementException - if prefixSid is not present
    • getNodeSid

      Boolean getNodeSid()
      Return nodeSid, or null if it is not present.
           
               Prefix is a Node Segment Routing Identifier (Node-SID)
           
       
      Returns:
      Boolean nodeSid, or null if it is not present.
    • requireNodeSid

      default @NonNull Boolean requireNodeSid()
      Return nodeSid, guaranteed to be non-null.
           
               Prefix is a Node Segment Routing Identifier (Node-SID)
           
       
      Returns:
      Boolean nodeSid, guaranteed to be non-null.
      Throws:
      NoSuchElementException - if nodeSid is not present
    • getVertexId

      org.opendaylight.yangtools.yang.common.Uint64 getVertexId()
      Return vertexId, or null if it is not present.
           
               Reference to the Vertex where the prefix is attached
           
       
      Returns:
      Uint64 vertexId, or null if it is not present.
    • requireVertexId

      default @NonNull org.opendaylight.yangtools.yang.common.Uint64 requireVertexId()
      Return vertexId, guaranteed to be non-null.
           
               Reference to the Vertex where the prefix is attached
           
       
      Returns:
      Uint64 vertexId, guaranteed to be non-null.
      Throws:
      NoSuchElementException - if vertexId is not present