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