tempest/services/compute/v3/xml/servers_client.py
def list_addresses(self, server_id):
        """Lists all addresses for a server."""
        resp, body = self.get("servers/%s/ips" % str(server_id), self.headers)

        networks = {}
        xml_list = etree.fromstring(body)
        for child in xml_list.getchildren():
            network = self._parse_network(child)
            networks.update(**network)

        return resp, networks
Lists all addresses for a server.
Lists all addresses for a server.
Lists all addresses for a server .
def list_addresses(self, server_id):
        resp, body = self.get("servers/%s/ips" % str(server_id), self.headers)
        networks = {}
        xml_list = etree.fromstring(body)
        for child in xml_list.getchildren():
            network = self._parse_network(child)
            networks.update(**network)
        return resp, networks
def list_addresses ( self , server_id ) : resp , body = self . get ( "servers/%s/ips" % str ( server_id ) , self . headers ) networks = { } xml_list = etree . fromstring ( body ) for child in xml_list . getchildren ( ) : network = self . _parse_network ( child ) networks . update ( ** network ) return resp , networks
Lists all addresses for a server.
Lists all addresses for a server .
"""Lists all addresses for a server."""
self
server_id