'Disconnect all volume pairs to which the specified LDEV belongs.'

def delete_pair(self, ldev, all_split=True):

    pair_info = self.get_pair_info(ldev)
    if (not pair_info):
        return
    if (pair_info['pvol'] == ldev):
        self.delete_pair_based_on_pvol(pair_info, all_split)
    else:
        self.delete_pair_based_on_svol(pair_info['pvol'], pair_info['svol_info'][0])
