Commit 98d9d9d3 authored by Timothy Stack's avatar Timothy Stack
Browse files

Allow modify_reswap as an acceptable state.

parent 27a6fb66
...@@ -329,6 +329,8 @@ RPC_expt_state(char *pid, char *eid) ...@@ -329,6 +329,8 @@ RPC_expt_state(char *pid, char *eid)
retval = ES_ACTIVATING; retval = ES_ACTIVATING;
else if (strcmp(state, "active") == 0) else if (strcmp(state, "active") == 0)
retval = ES_ACTIVE; retval = ES_ACTIVE;
else if (strcmp(state, "modify_reswap") == 0)
retval = ES_MODIFY_RESWAP;
} }
return retval; return retval;
......
...@@ -58,6 +58,7 @@ typedef enum { ...@@ -58,6 +58,7 @@ typedef enum {
ES_UNKNOWN, ES_UNKNOWN,
ES_ACTIVATING, ES_ACTIVATING,
ES_ACTIVE, ES_ACTIVE,
ES_MODIFY_RESWAP,
} expt_state_t; } expt_state_t;
int RPC_init(const char *certpath, const char *host, unsigned short port); int RPC_init(const char *certpath, const char *host, unsigned short port);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment