Interface Endpoint

  • All Superinterfaces:
    org.opendaylight.yangtools.yang.binding.BindingObject, org.opendaylight.yangtools.yang.binding.DataContainer, org.opendaylight.yangtools.yang.binding.DataObject
    All Known Subinterfaces:
    Destination, Source

    @Generated("mdsal-binding-generator")
    public interface Endpoint
    extends org.opendaylight.yangtools.yang.binding.DataObject

    This class represents the following YANG schema fragment defined in module aliveness-monitor

     grouping endpoint {
       choice endpoint-type {
         case ip-address {
           leaf ip-address {
             type inet:ip-address;
           }
         }
         case interface {
           leaf mac-address {
             type yang:phys-address;
           }
           leaf interface-ip {
             type inet:ip-address;
           }
           leaf interface-name {
             type string;
           }
         }
         case host-name {
           leaf host-name {
             type string;
           }
         }
       }
     }
     
    The schema path to identify an instance is aliveness-monitor/endpoint
    • Field Detail

      • QNAME

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

      • implementedInterface

        java.lang.Class<? extends Endpoint> implementedInterface()
        Specified by:
        implementedInterface in interface org.opendaylight.yangtools.yang.binding.DataContainer
        Specified by:
        implementedInterface in interface org.opendaylight.yangtools.yang.binding.DataObject
      • getEndpointType

        EndpointType getEndpointType()
        Return endpointType, or null if it is not present.
        Returns:
        org.opendaylight.yang.gen.v1.urn.opendaylight.genius.alivenessmonitor.rev160411.endpoint.EndpointType endpointType, or null if it is not present.