From: Moiz Raja Date: Thu, 19 Nov 2015 01:51:29 +0000 (-0800) Subject: BUG 2187 : Add more parameters to RemoveShardReplica input X-Git-Tag: release/beryllium~111 X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?p=controller.git;a=commitdiff_plain;h=02ac3376939ea07b995cac777213712f1209fbc6;ds=inline BUG 2187 : Add more parameters to RemoveShardReplica input Change-Id: I6e47fa31a04cb901d7495784e4c3590dbdddb520 Signed-off-by: Moiz Raja --- diff --git a/opendaylight/md-sal/sal-distributed-datastore/src/main/yang/cluster-admin.yang b/opendaylight/md-sal/sal-distributed-datastore/src/main/yang/cluster-admin.yang index 51aeb8cfb2..967e5554df 100644 --- a/opendaylight/md-sal/sal-distributed-datastore/src/main/yang/cluster-admin.yang +++ b/opendaylight/md-sal/sal-distributed-datastore/src/main/yang/cluster-admin.yang @@ -10,6 +10,17 @@ module cluster-admin { description "Initial revision."; } + typedef data-store-type { + type enumeration { + enum config { + value 1; + } + enum operational { + value 2; + } + } + } + rpc add-shard-replica { input { leaf shard-name { @@ -31,6 +42,16 @@ module cluster-admin { type string; description "The name of the shard for which to remove the replica."; } + + leaf member-name { + type string; + description "The cluster member from which the shard replica should be removed"; + } + + leaf data-store-type { + type data-store-type; + description "The type of the data store to which the replica belongs"; + } } description "Removes an existing replica of a shard from this node via the RemoveServer mechanism as