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
1 /*
2  * Copyright (c) 2015 Brocade Communications Systems, Inc. and others.  All rights reserved.
3  *
4  * This program and the accompanying materials are made available under the
5  * terms of the Eclipse Public License v1.0 which accompanies this distribution,
6  * and is available at http://www.eclipse.org/legal/epl-v10.html
7  */
8 package org.opendaylight.controller.cluster.raft.messages;
9
10 /**
11  * Enumerates server configuration change status reply codes.
12  *
13  * @author Thomas Pantelis
14  */
15 public enum ServerChangeStatus {
16     OK,
17     NO_LEADER,
18     TIMEOUT,
19     ALREADY_EXISTS,
20     DOES_NOT_EXIST,  // Server with the specified address does not exist
21     NOT_SUPPORTED,   // Some types of RemoveServer for example Removing the current Leader may not be
22                      // supported (at least initially)
23 }