'Break the rdf relationship between a pair of devices.
:param array: the array serial number
:param device_id: the source device id
:param target_device: target device id
:param rdf_group: the rdf group number
:param rep_extra_specs: replication extra specs
:param state: the state of the rdf pair'

def break_rdf_relationship(self, array, device_id, target_device, rdf_group, rep_extra_specs, state):

    LOG.info('Splitting    rdf    pair:    source    device:    %(src)s    target    device:    %(tgt)s.', {'src': device_id, 'tgt': target_device})
    if (state == 'Synchronized'):
        self.rest.modify_rdf_device_pair(array, device_id, rdf_group, rep_extra_specs, split=True)
    LOG.info('Deleting    rdf    pair:    source    device:    %(src)s    target    device:    %(tgt)s.', {'src': device_id, 'tgt': target_device})
    self.rest.delete_rdf_pair(array, device_id, rdf_group)
