Interface Interface

  • All Superinterfaces:
    org.opendaylight.yangtools.yang.binding.Augmentable<Interface>, org.opendaylight.yangtools.yang.binding.BindingObject, org.opendaylight.yangtools.yang.binding.ChoiceIn<Endpoint>, org.opendaylight.yangtools.yang.binding.DataContainer, org.opendaylight.yangtools.yang.binding.DataObject, EndpointType

    public interface Interface
    extends org.opendaylight.yangtools.yang.binding.DataObject, org.opendaylight.yangtools.yang.binding.Augmentable<Interface>, EndpointType

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

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

      Fields 
      Modifier and Type Field Description
      static @NonNull org.opendaylight.yangtools.yang.common.QName QNAME  
    • Field Detail

      • QNAME

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

      • implementedInterface

        default java.lang.Class<Interface> implementedInterface()
        Specified by:
        implementedInterface in interface org.opendaylight.yangtools.yang.binding.DataContainer
        Specified by:
        implementedInterface in interface org.opendaylight.yangtools.yang.binding.DataObject
      • getMacAddress

        @Nullable org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.PhysAddress getMacAddress()
        Returns:
        org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.PhysAddress macAddress, or null if not present
      • getInterfaceIp

        @Nullable org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.IpAddress getInterfaceIp()
        Returns:
        org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.IpAddress interfaceIp, or null if not present
      • getInterfaceName

        @Nullable java.lang.String getInterfaceName()
        Returns:
        java.lang.String interfaceName, or null if not present