'Disconnect all volume pairs to which the specified P-VOL belongs.'

def delete_pair_based_on_pvol(self, pair_info, all_split):

    svols = []
    restart = False
    try:
        for svol_info in pair_info['svol_info']:
            if (svol_info['is_thin'] or (not svol_info['is_psus'])):
                svols.append(six.text_type(svol_info['ldev']))
                continue
            self.delete_pair_from_storage(pair_info['pvol'], svol_info['ldev'], False)
            restart = True
            self._terminate_pair_connection(svol_info['ldev'])
        if (not svols):
            self._terminate_pair_connection(pair_info['pvol'])
    finally:
        if restart:
            self._restart_horcmgr(_PAIR_HORCMGR)
    if (all_split and svols):
        utils.output_log(MSG.UNABLE_TO_DELETE_PAIR, pvol=pair_info['pvol'], svol=',    '.join(svols))
        raise exception.VSPBusy()
