<s> """<STR_LIT>""" <EOL> class Provider ( object ) : <EOL> """<STR_LIT>""" <EOL> DUMMY = <NUM_LIT:0> <EOL> EC2 = <NUM_LIT:1> <EOL> EC2_US_EAST = <NUM_LIT:1> <EOL> EC2_EU = <NUM_LIT:2> <EOL> EC2_EU_WEST = <NUM_LIT:2> <EOL> RACKSPACE = <NUM_LIT:3> <EOL> SLICEHOST = <NUM_LIT:4> <EOL> GOGRID = <NUM_LIT:5> <EOL> VPSNET = <NUM_LIT:6> <EOL> LINODE = <NUM_LIT:7> <EOL> VCLOUD = <NUM_LIT:8> <EOL> RIMUHOSTING = <NUM_LIT:9> <EOL> EC2_US_WEST = <NUM_LIT:10> <EOL> VOXEL = <NUM_LIT:11> <EOL> SOFTLAYER = <NUM_LIT:12> <EOL> EUCALYPTUS = <NUM_LIT> <EOL> ECP = <NUM_LIT> <EOL> IBM = <NUM_LIT:15> <EOL> OPENNEBULA = <NUM_LIT:16> <EOL> DREAMHOST = <NUM_LIT> <EOL> class NodeState ( object ) : <EOL> """<STR_LIT>""" <EOL> RUNNING = <NUM_LIT:0> <EOL> REBOOTING = <NUM_LIT:1> <EOL> TERMINATED = <NUM_LIT:2> <EOL> PENDING = <NUM_LIT:3> <EOL> UNKNOWN = <NUM_LIT:4> <EOL> class InvalidCredsException ( Exception ) : <EOL> """<STR_LIT>""" <EOL> def __init__ ( self , value = '<STR_LIT>' ) : <EOL> self . value = value <EOL> def __str__ ( self ) : <EOL> return repr ( self . value ) <EOL> class DeploymentException ( Exception ) : <EOL> """<STR_LIT>""" <EOL> def __init__ ( self , node , original_exception = None ) : <EOL> self . node = node <EOL> self . value = original_exception <EOL> def __str__ ( self ) : <EOL> return repr ( self . value ) </s>
