Interface InstanceEndpointConfig

  • All Superinterfaces:
    org.opendaylight.yangtools.yang.binding.BindingObject, org.opendaylight.yangtools.yang.binding.DataContainer, org.opendaylight.yangtools.yang.binding.DataObject, InstanceEndpointLocalRemote
    All Known Subinterfaces:
    Config, State

    @Generated("mdsal-binding-generator")
    public interface InstanceEndpointConfig
    extends org.opendaylight.yangtools.yang.binding.DataObject, InstanceEndpointLocalRemote
    Configuration data relating to an forwarding-instance endpoint

    This class represents the following YANG schema fragment defined in module openconfig-network-instance

     grouping instance-endpoint-config {
       leaf endpoint-id {
         type string;
       }
       uses instance-endpoint-local-remote;
       leaf precedence {
         type uint16;
       }
     }
     
    • Field Detail

      • QNAME

        static final @NonNull org.opendaylight.yangtools.yang.common.QName QNAME
        YANG identifier of the statement represented by this class.
    • Method Detail

      • getEndpointId

        String getEndpointId()
        Return endpointId, or null if it is not present.
             
                 An identifier for the endpoint
             
         
        Returns:
        String endpointId, or null if it is not present.
      • requireEndpointId

        default @NonNull String requireEndpointId()
        Return endpointId, guaranteed to be non-null.
             
                 An identifier for the endpoint
             
         
        Returns:
        String endpointId, guaranteed to be non-null.
        Throws:
        NoSuchElementException - if endpointId is not present
      • getPrecedence

        org.opendaylight.yangtools.yang.common.Uint16 getPrecedence()
        Return precedence, or null if it is not present.
             
                 The precedence of the endpoint - the lowest precendence viable endpoint will be
                 utilised as the active endpoint within a connection
             
         
        Returns:
        Uint16 precedence, or null if it is not present.
      • requirePrecedence

        default @NonNull org.opendaylight.yangtools.yang.common.Uint16 requirePrecedence()
        Return precedence, guaranteed to be non-null.
             
                 The precedence of the endpoint - the lowest precendence viable endpoint will be
                 utilised as the active endpoint within a connection
             
         
        Returns:
        Uint16 precedence, guaranteed to be non-null.
        Throws:
        NoSuchElementException - if precedence is not present