mirror of https://github.com/apache/jclouds.git
Updated Host.State enum for Cloudstack 2.2.12
This commit is contained in:
parent
3f9f392941
commit
37cba62459
|
@ -20,6 +20,7 @@ package org.jclouds.cloudstack.domain;
|
||||||
|
|
||||||
import com.google.common.collect.Maps;
|
import com.google.common.collect.Maps;
|
||||||
import com.google.gson.annotations.SerializedName;
|
import com.google.gson.annotations.SerializedName;
|
||||||
|
import org.omg.CORBA.UNKNOWN;
|
||||||
|
|
||||||
import java.util.Date;
|
import java.util.Date;
|
||||||
import java.util.Map;
|
import java.util.Map;
|
||||||
|
@ -73,15 +74,17 @@ public class Host implements Comparable<Host> {
|
||||||
}
|
}
|
||||||
|
|
||||||
public static enum State {
|
public static enum State {
|
||||||
CREATING,
|
CONNECTING,
|
||||||
ENABLED,
|
UP,
|
||||||
DISABLED,
|
DOWN,
|
||||||
|
DISCONNECTED,
|
||||||
|
UPDATING,
|
||||||
PREPARE_FOR_MAINTENANCE,
|
PREPARE_FOR_MAINTENANCE,
|
||||||
ERROR_IN_MAINTENANCE,
|
ERROR_IN_MAINTENANCE,
|
||||||
MAINTENANCE,
|
MAINTENANCE,
|
||||||
ERROR,
|
ALERT,
|
||||||
UP, // seen in response - waiting from confirmation by cloud.com
|
REMOVED,
|
||||||
ALERT, // seen in response - waiting from confirmation cloud.com
|
REBALANCING,
|
||||||
UNKNOWN;
|
UNKNOWN;
|
||||||
|
|
||||||
public static State fromValue(String value) {
|
public static State fromValue(String value) {
|
||||||
|
|
Loading…
Reference in New Issue