BUG 8447: Add shard getRole rpcs
[controller.git] / opendaylight / md-sal / sal-distributed-datastore / src / main / java / org / opendaylight / controller / cluster / datastore / shardmanager / ShardInformation.java
index a487ff1564e9cd2b892a928b10edc82948e87010..0c892295a77888d5c635c380183db1b2fa67d10b 100644 (file)
@@ -209,6 +209,10 @@ final class ShardInformation {
         notifyOnShardInitializedCallbacks();
     }
 
+    String getRole() {
+        return role;
+    }
+
     void setFollowerSyncStatus(boolean syncStatus) {
         this.followerSyncStatus = syncStatus;
     }