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-instanceTo 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
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description @Nullable org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.IpAddress
getAllocatedIp()
allocated ip address@Nullable org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.PhysAddress
getMac()
requesting macdefault java.lang.Class<AllocationInstance>
implementedInterface()
AllocationInstanceKey
key()
-
-
-
Method Detail
-
implementedInterface
default java.lang.Class<AllocationInstance> implementedInterface()
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataContainer
- Specified by:
implementedInterface
in interfaceorg.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
, ornull
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
, ornull
if not present
-
key
AllocationInstanceKey key()
- Specified by:
key
in interfaceorg.opendaylight.yangtools.yang.binding.Identifiable<AllocationInstanceKey>
-
-