Interface IdPools
-
- All Superinterfaces:
org.opendaylight.yangtools.yang.binding.Augmentable<IdPools>
,org.opendaylight.yangtools.yang.binding.BindingObject
,org.opendaylight.yangtools.yang.binding.ChildOf<IdManagerData>
,org.opendaylight.yangtools.yang.binding.DataContainer
,org.opendaylight.yangtools.yang.binding.DataObject
public interface IdPools extends org.opendaylight.yangtools.yang.binding.ChildOf<IdManagerData>, org.opendaylight.yangtools.yang.binding.Augmentable<IdPools>
Parent Id Pool is responsible allocating block (or) set of Ids to child Id Pools. The number of child pools are determined using some algorthimic approach inside IdManager. For example, spawning child pools based on Id allocation request rate for the given Pool, one child pool per blade in the cluster etcThis class represents the following YANG schema fragment defined in module id-manager
container id-pools { 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-poolsTo create instances of this class use
IdPoolsBuilder
.- See Also:
IdPoolsBuilder
-
-
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 java.util.Map<IdPoolKey,IdPool>
getIdPool()
default java.lang.Class<IdPools>
implementedInterface()
default @NonNull java.util.Map<IdPoolKey,IdPool>
nonnullIdPool()
-
-
-
Method Detail
-
implementedInterface
default java.lang.Class<IdPools> implementedInterface()
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataContainer
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataObject
-
getIdPool
@Nullable java.util.Map<IdPoolKey,IdPool> getIdPool()
- Returns:
java.util.Map
idPool
, ornull
if not present
-
-