Interface Interfaces

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

    public interface Interfaces
    extends org.opendaylight.yangtools.yang.binding.DataObject

    This class represents the following YANG schema fragment defined in module odl-arputil

     grouping interfaces {
       list interface-address {
         key interface;
         leaf interface {
           type leafref {
             path /if:interfaces/if:interface/if:name;
           }
         }
         leaf ip-address {
           type inet:ip-address;
         }
         leaf macaddress {
           type yang:phys-address;
         }
       }
     }
     
    The schema path to identify an instance is odl-arputil/interfaces
    • Field Detail

      • QNAME

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

      • implementedInterface

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

        @Nullable java.util.List<InterfaceAddress> getInterfaceAddress()
        Returns:
        java.util.List interfaceAddress, or null if not present
      • nonnullInterfaceAddress

        default @NonNull java.util.List<InterfaceAddress> nonnullInterfaceAddress()
        Returns:
        java.util.List interfaceAddress, or an empty list if it is not present