'Return IP associated with given nsp.'

def _get_ip_using_nsp(self, nsp, common):

    iscsi_ips = self.iscsi_ips[common._client_conf['hpe3par_api_url']]
    for (key, value) in iscsi_ips.items():
        if (value['nsp'] == nsp):
            return key
