public interface Shard extends org.opendaylight.yangtools.yang.binding.ChildOf<PrefixShards>, org.opendaylight.yangtools.yang.binding.Augmentable<Shard>, org.opendaylight.yangtools.yang.binding.Identifiable<ShardKey>
This class represents the following YANG schema fragment defined in module prefix-shard-configuration
list shard {
key "prefix";
leaf prefix {
type instance-identifier;
}
container replicas {
leaf-list replica {
type string;
}
}
}
The schema path to identify an instance is
prefix-shard-configuration/prefix-shards/shard
To create instances of this class use ShardBuilder.
ShardBuilder,
ShardKey| Modifier and Type | Field and Description |
|---|---|
static org.opendaylight.yangtools.yang.common.QName |
QNAME |
| Modifier and Type | Method and Description |
|---|---|
ShardKey |
getKey()
Returns Primary Key of Yang List Type
|
org.opendaylight.yangtools.yang.binding.InstanceIdentifier<?> |
getPrefix()
Prefix that this shard is rooted at.
|
Replicas |
getReplicas()
List of cluster member nodes that this shard is replicated on
|
org.opendaylight.yangtools.yang.binding.InstanceIdentifier<?> getPrefix()
org.opendaylight.yangtools.yang.binding.InstanceIdentifier prefix, or null if not presentReplicas getReplicas()
org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.controller.md.sal.clustering.prefix.shard.configuration.rev170110.prefix.shards.shard.Replicas replicas, or null if not presentShardKey getKey()
getKey in interface org.opendaylight.yangtools.yang.binding.Identifiable<ShardKey>org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.controller.md.sal.clustering.prefix.shard.configuration.rev170110.prefix.shards.ShardKey key, or null if not presentCopyright © 2018 OpenDaylight. All rights reserved.