<s> from pprint import pprint <EOL> from libcloud . compute . types import Provider <EOL> from libcloud . compute . providers import get_driver <EOL> apikey = '<STR_LIT>' <EOL> secretkey = '<STR_LIT>' <EOL> Driver = get_driver ( Provider . IKOULA ) <EOL> driver = Driver ( key = apikey , secret = secretkey ) <EOL> nets = driver . ex_list_networks ( ) <EOL> images = driver . list_images ( ) <EOL> sizes = driver . list_sizes ( ) <EOL> node = driver . create_node ( name = '<STR_LIT>' , image = images [ <NUM_LIT:0> ] , <EOL> size = sizes [ <NUM_LIT:0> ] , networks = [ nets [ <NUM_LIT:0> ] ] ) <EOL> pprint ( node . extra ) <EOL> pprint ( node . private_ips ) </s>
