def connect_to_rackspace(region,<EOL>access_key_id,<EOL>secret_access_key):
pyrax.set_setting('<STR_LIT>', '<STR_LIT>')<EOL>pyrax.set_default_region(region)<EOL>pyrax.set_credentials(access_key_id, secret_access_key)<EOL>nova = pyrax.connect_to_cloudservers(region=region)<EOL>return nova<EOL>
returns a connection object to Rackspace