public interface IdPool extends org.opendaylight.yangtools.yang.binding.ChildOf<IdPools>, org.opendaylight.yangtools.yang.binding.Augmentable<IdPool>, org.opendaylight.yangtools.yang.binding.Identifiable<IdPoolKey>
This class represents the following YANG schema fragment defined in module id-manager
list id-pool { key pool-name; leaf pool-name { type string; } leaf block-size { type uint16; } leaf parent-pool-name { type string; } list child-pools { key child-pool-name; leaf child-pool-name { type string; } leaf last-access-time { type uint32; } } list id-entries { key id-key; leaf id-key { type string; } leaf-list id-value { type uint32; } } container available-ids-holder { uses available-ids; } container released-ids-holder { uses released-ids; } }The schema path to identify an instance is id-manager/id-pools/id-pool
To create instances of this class use IdPoolBuilder
.
IdPoolBuilder
,
IdPoolKey
Modifier and Type | Field and Description |
---|---|
static @NonNull org.opendaylight.yangtools.yang.common.QName |
QNAME |
Modifier and Type | Method and Description |
---|---|
@Nullable AvailableIdsHolder |
getAvailableIdsHolder() |
@Nullable Integer |
getBlockSize() |
@Nullable List<ChildPools> |
getChildPools() |
@Nullable List<IdEntries> |
getIdEntries()
Id entry for the given Id Pool, where id-key is used to identify the id entry
|
@Nullable String |
getParentPoolName() |
@Nullable String |
getPoolName() |
@Nullable ReleasedIdsHolder |
getReleasedIdsHolder() |
IdPoolKey |
key() |
default @NonNull List<ChildPools> |
nonnullChildPools() |
default @NonNull List<IdEntries> |
nonnullIdEntries() |
@Nullable String getPoolName()
java.lang.String
poolName
, or null
if not present@Nullable Integer getBlockSize()
java.lang.Integer
blockSize
, or null
if not present@Nullable String getParentPoolName()
java.lang.String
parentPoolName
, or null
if not present@Nullable List<ChildPools> getChildPools()
java.util.List
childPools
, or null
if not presentdefault @NonNull List<ChildPools> nonnullChildPools()
java.util.List
childPools
, or an empty list if it is not present@Nullable List<IdEntries> getIdEntries()
java.util.List
idEntries
, or null
if not presentdefault @NonNull List<IdEntries> nonnullIdEntries()
java.util.List
idEntries
, or an empty list if it is not present@Nullable AvailableIdsHolder getAvailableIdsHolder()
org.opendaylight.yang.gen.v1.urn.opendaylight.genius.idmanager.rev160406.id.pools.id.pool.AvailableIdsHolder
availableIdsHolder
, or null
if not present@Nullable ReleasedIdsHolder getReleasedIdsHolder()
org.opendaylight.yang.gen.v1.urn.opendaylight.genius.idmanager.rev160406.id.pools.id.pool.ReleasedIdsHolder
releasedIdsHolder
, or null
if not presentCopyright © 2019 OpenDaylight. All rights reserved.