BUG 2817 - Basic implementation of RemoveServer in the Raft code
[controller.git] / opendaylight / md-sal / sal-akka-raft / src / main / java / org / opendaylight / controller / cluster / raft / messages / ServerChangeStatus.java
index ca2f35cbf6a7a50542e22cc3e6fc336f17b8fb0e..64a0f66fc2643b4d8c0227483ad2be84b22f860b 100644 (file)
@@ -16,5 +16,8 @@ public enum ServerChangeStatus {
     OK,
     NO_LEADER,
     TIMEOUT,
-    ALREADY_EXISTS
+    ALREADY_EXISTS,
+    DOES_NOT_EXIST,  // Server with the specified address does not exist
+    NOT_SUPPORTED,   // Some types of RemoveServer for example Removing the current Leader may not be
+                     // supported (at least initially)
 }