From 02ac3376939ea07b995cac777213712f1209fbc6 Mon Sep 17 00:00:00 2001 From: Moiz Raja Date: Wed, 18 Nov 2015 17:51:29 -0800 Subject: [PATCH] BUG 2187 : Add more parameters to RemoveShardReplica input Change-Id: I6e47fa31a04cb901d7495784e4c3590dbdddb520 Signed-off-by: Moiz Raja --- .../src/main/yang/cluster-admin.yang | 21 +++++++++++++++++++ 1 file changed, 21 insertions(+) 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 -- 2.36.6