<s> from libcloud . compute . types import Provider <EOL> from libcloud . compute . providers import get_driver <EOL> import libcloud . security <EOL> libcloud . security . VERIFY_SSL_CERT = False <EOL> vcloud = get_driver ( Provider . VCLOUD ) <EOL> driver = vcloud ( '<STR_LIT>' , '<STR_LIT>' , <EOL> host = '<STR_LIT>' , api_version = '<STR_LIT>' ) <EOL> nodes = driver . list_nodes ( ) <EOL> print nodes [ <NUM_LIT:0> ] . extra [ '<STR_LIT>' ] <EOL> images = driver . list_images ( ) <EOL> image = [ i for i in images if i . name == '<STR_LIT>' ] [ <NUM_LIT:0> ] <EOL> node = driver . create_node ( name = '<STR_LIT>' , image = image ) <EOL> driver . destroy_node ( node ) <EOL> node = driver . create_node ( name = '<STR_LIT>' , image = image , ex_deploy = False ) <EOL> node = driver . create_node ( name = '<STR_LIT>' , image = image , ex_vm_cpu = <NUM_LIT:3> , <EOL> ex_vm_memory = <NUM_LIT> ) <EOL> node = driver . create_node ( name = '<STR_LIT>' , image = image , <EOL> ex_vm_network = '<STR_LIT>' , <EOL> ex_network = '<STR_LIT>' , <EOL> ex_vm_fence = '<STR_LIT>' , ex_vm_ipmode = '<STR_LIT>' ) <EOL> node = driver . create_node ( name = '<STR_LIT>' , image = image , <EOL> ex_vdc = '<STR_LIT>' ) <EOL> node = driver . create_node ( name = '<STR_LIT>' , image = image , <EOL> ex_vm_script = '<STR_LIT>' ) </s>
