tempest/scenario/test_cross_tenant_connectivity.py
def _get_server_ip(self, server, floating=False):
        '''
        returns the ip (floating/internal) of a server
        '''
        if floating:
            return self.floating_ips[server].floating_ip_address
        else:
            network_name = self.tenants[server.tenant_id].network.name
            return server.networks[network_name][0]

        returns the ip (floating/internal) of a server
        
returns the ip (floating/internal) of a server
returns the ip ( floating / internal ) of a server
def _get_server_ip(self, server, floating=False):
        if floating:
            return self.floating_ips[server].floating_ip_address
        else:
            network_name = self.tenants[server.tenant_id].network.name
            return server.networks[network_name][0]
def _get_server_ip ( self , server , floating = False ) : if floating : return self . floating_ips [ server ] . floating_ip_address else : network_name = self . tenants [ server . tenant_id ] . network . name return server . networks [ network_name ] [ 0 ]
returns the ip (floating/internal) of a server
returns the ip ( floating / internal ) of a server
'''
        returns the ip (floating/internal) of a server
        '''
self
server
floating