Interface AllocationInstance

  • All Superinterfaces:
    org.opendaylight.yangtools.yang.binding.Augmentable<AllocationInstance>, org.opendaylight.yangtools.yang.binding.BindingObject, org.opendaylight.yangtools.yang.binding.ChildOf<Allocations>, org.opendaylight.yangtools.yang.binding.DataContainer, org.opendaylight.yangtools.yang.binding.DataObject, org.opendaylight.yangtools.yang.binding.Identifiable<AllocationInstanceKey>

    public interface AllocationInstance
    extends org.opendaylight.yangtools.yang.binding.ChildOf<Allocations>, org.opendaylight.yangtools.yang.binding.Augmentable<AllocationInstance>, org.opendaylight.yangtools.yang.binding.Identifiable<AllocationInstanceKey>

    This class represents the following YANG schema fragment defined in module dhcp_allocation_pool

     list allocation-instance {
       key mac;
       leaf mac {
         type yang:phys-address;
       }
       leaf allocated-ip {
         type inet:ip-address;
       }
     }
     
    The schema path to identify an instance is dhcp_allocation_pool/dhcp_allocation_pool/network/allocations/allocation-instance

    To create instances of this class use AllocationInstanceBuilder.

    See Also:
    AllocationInstanceBuilder, AllocationInstanceKey
    • 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<AllocationInstance> implementedInterface()
        Specified by:
        implementedInterface in interface org.opendaylight.yangtools.yang.binding.DataContainer
        Specified by:
        implementedInterface in interface org.opendaylight.yangtools.yang.binding.DataObject
      • getMac

        @Nullable org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.PhysAddress getMac()
        requesting mac
        Returns:
        org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.PhysAddress mac, or null if not present
      • getAllocatedIp

        @Nullable org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.IpAddress getAllocatedIp()
        allocated ip address
        Returns:
        org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.IpAddress allocatedIp, or null if not present