All Superinterfaces:
org.opendaylight.yangtools.yang.binding.BindingContract<org.opendaylight.yangtools.yang.binding.DataContainer>, 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 Summary

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

    Modifier and Type
    Method
    Description
    Return endpointId, or null if it is not present.
    org.opendaylight.yangtools.yang.common.Uint16
    Return precedence, or null if it is not present.
     
    default @NonNull String
    Return endpointId, guaranteed to be non-null.
    default @NonNull org.opendaylight.yangtools.yang.common.Uint16
    Return precedence, guaranteed to be non-null.

    Methods inherited from interface org.opendaylight.yang.gen.v1.http.openconfig.net.yang.network.instance.rev151018.InstanceEndpointLocalRemote

    getLocalRemote
  • Field Details

    • QNAME

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

    • implementedInterface

      Class<? extends InstanceEndpointConfig> implementedInterface()
      Specified by:
      implementedInterface in interface org.opendaylight.yangtools.yang.binding.BindingContract<org.opendaylight.yangtools.yang.binding.DataContainer>
      Specified by:
      implementedInterface in interface org.opendaylight.yangtools.yang.binding.DataObject
      Specified by:
      implementedInterface in interface InstanceEndpointLocalRemote
    • 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