Updated Host.State enum for Cloudstack 2.2.12

This commit is contained in:
andreisavu 2011-12-12 23:01:44 +02:00
parent 3f9f392941
commit 37cba62459
1 changed files with 9 additions and 6 deletions

View File

@ -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) {