Interface InterfaceNameMacAddresses

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

    public interface InterfaceNameMacAddresses
    extends org.opendaylight.yangtools.yang.binding.ChildOf<DhcpserviceApiData>, org.opendaylight.yangtools.yang.binding.Augmentable<InterfaceNameMacAddresses>
    Container to hold list of interface names and MAC address

    This class represents the following YANG schema fragment defined in module dhcpservice-api

     container interface-name-mac-addresses {
       config false;
       list interface-name-mac-address {
         key interface-name;
         leaf interface-name {
           type string;
         }
         leaf mac-address {
           type string;
         }
       }
     }
     
    The schema path to identify an instance is dhcpservice-api/interface-name-mac-addresses

    To create instances of this class use InterfaceNameMacAddressesBuilder.

    See Also:
    InterfaceNameMacAddressesBuilder
    • Field Detail

      • QNAME

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

      • implementedInterface

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

        @Nullable java.util.List<InterfaceNameMacAddress> getInterfaceNameMacAddress()
        Specifies the name of the interface
        Returns:
        java.util.List interfaceNameMacAddress, or null if not present
      • nonnullInterfaceNameMacAddress

        default @NonNull java.util.List<InterfaceNameMacAddress> nonnullInterfaceNameMacAddress()
        Returns:
        java.util.List interfaceNameMacAddress, or an empty list if it is not present