Merge "Add RPC to read per xtrId mappings for an EID."
[lispflowmapping.git] / mappingservice / api / src / main / java / org / opendaylight / lispflowmapping / interfaces / mapcache / IMappingSystem.java
index 5b39e4d8343ef1f078093bf057d1462448f6b625..c280064b0b4e7bc2c788db999bf6504d2f12260c 100644 (file)
@@ -202,4 +202,20 @@ public interface IMappingSystem {
      * @return String consisting of all mappings
      */
     String printMappings();
+
+    /**
+     * Set cluster master status.
+     *
+     * @param isMaster
+     *            is|isn't master
+     */
+    void setIsMaster(final boolean isMaster);
+
+    /**
+     * Get cluster master status.
+     *
+     * @return isMaster
+     *            is|isn't master
+     */
+    boolean isMaster();
 }