

def _get_target_name(self, port):
    param = {
        'svrid': port['device_id'],
        'addr': port['fixed_ips'][0]['ip_address'],
    }
    return ('server_%(svrid)s: %(addr)s' % param)

dataset/ETHPy150Open CiscoSystems/avos/openstack_dashboard/test/api_tests/network_tests.py NetworkApiNeutronFloatingIpTests._get_target_name/original