Interface PrefixShardConfigurationData

  • All Superinterfaces:
    org.opendaylight.yangtools.yang.binding.DataRoot

    public interface PrefixShardConfigurationData
    extends org.opendaylight.yangtools.yang.binding.DataRoot
    This module contains the base YANG definitions for shards based on prefix configuration

    This class represents the following YANG schema fragment defined in module prefix-shard-configuration

     module prefix-shard-configuration {
       yang-version 1;
       namespace urn:opendaylight:params:xml:ns:yang:controller:md:sal:clustering:prefix-shard-configuration;
       prefix prefix-config;
       revision 2017-01-10 {
       }
       container prefix-shards {
         list shard {
           key prefix;
           leaf prefix {
             type instance-identifier;
           }
           container replicas {
             leaf-list replica {
               type string;
             }
           }
         }
       }
     }
     
    • Method Detail

      • getPrefixShards

        @Nullable PrefixShards getPrefixShards()
        Returns:
        org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.controller.md.sal.clustering.prefix.shard.configuration.rev170110.PrefixShards prefixShards, or null if not present