Interface Endpoints

  • All Superinterfaces:
    org.opendaylight.yangtools.yang.binding.Augmentable<Endpoints>, org.opendaylight.yangtools.yang.binding.BindingObject, org.opendaylight.yangtools.yang.binding.ChildOf<ConnectionPoint>, org.opendaylight.yangtools.yang.binding.DataContainer, org.opendaylight.yangtools.yang.binding.DataObject

    public interface Endpoints
    extends org.opendaylight.yangtools.yang.binding.ChildOf<ConnectionPoint>, org.opendaylight.yangtools.yang.binding.Augmentable<Endpoints>
    The set of endpoints which are grouped within the connection point

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

     container endpoints {
       when "../config/type = 'L2P2P' or ../config/type = 'L2VSI'" {
       }
       list endpoint {
         key endpoint-id;
         leaf endpoint-id {
           type leafref {
             path ../config/endpoint-id;
           }
         }
         container config {
           uses instance-endpoint-config;
         }
         container state {
           config false;
           uses instance-endpoint-config;
           uses instance-endpoint-state;
         }
       }
     }
     
    The schema path to identify an instance is openconfig-network-instance/network-instance-top/network-instances/network-instance/connection-points/connection-point/endpoints

    To create instances of this class use EndpointsBuilder.

    See Also:
    EndpointsBuilder
    • Field Detail

      • QNAME

        static final @NonNull org.opendaylight.yangtools.yang.common.QName QNAME
    • Method Detail

      • implementedInterface

        default Class<Endpoints> implementedInterface()
        Specified by:
        implementedInterface in interface org.opendaylight.yangtools.yang.binding.DataContainer
        Specified by:
        implementedInterface in interface org.opendaylight.yangtools.yang.binding.DataObject
      • getEndpoint

        @Nullable List<Endpoint> getEndpoint()
        A list of the endpoints (interfaces or remote connection points that can be used for this connection point). The active endpoint is selected based on the precedence that it is configured with
        Returns:
        java.util.List endpoint, or null if not present
      • nonnullEndpoint

        default @NonNull List<Endpoint> nonnullEndpoint()
        Returns:
        java.util.List endpoint, or an empty list if it is not present