def get_ip_address_from_rackspace_server(connection, server_id):
server = connection.servers.get(server_id)<EOL>ip_address = None<EOL>for network in server.networks['<STR_LIT>']:<EOL><INDENT>if re.match('<STR_LIT>', network):<EOL><INDENT>ip_address = network<EOL>break<EOL><DEDENT><DEDENT>if ip_address is None:<EOL><INDENT>log_red('<STR_LIT>')<EOL>return False<EOL><DEDENT>else:<EOL><INDENT>return ip_address<EOL><DEDENT>
returns an ipaddress for a rackspace instance