<s> from libcloud . compute . types import Provider <EOL> from libcloud . compute . providers import get_driver <EOL> RACKSPACE_USER = '<STR_LIT>' <EOL> RACKSPACE_KEY = '<STR_LIT>' <EOL> Driver = get_driver ( Provider . RACKSPACE ) <EOL> conn = Driver ( RACKSPACE_USER , RACKSPACE_KEY ) <EOL> images = conn . list_images ( ) <EOL> sizes = conn . list_sizes ( ) <EOL> node = conn . create_node ( name = '<STR_LIT:test>' , image = images [ <NUM_LIT:0> ] , size = sizes [ <NUM_LIT:0> ] ) </s>
