'Add a volume to the default replication group.
Replication groups are VMAX storage groups that contain only
RDF-paired volumes. We can use our normal storage group operations.
:param array: array serial number
:param device_id: the device id
:param volume_name: the volume name
:param extra_specs: the extra specifications
:returns: storagegroup_name'

def add_volume_to_replication_group(self, array, device_id, volume_name, extra_specs):

    do_disable_compression = self.utils.is_compression_disabled(extra_specs)
    try:
        storagegroup_name = self.masking.get_or_create_default_storage_group(array, extra_specs[utils.SRP], extra_specs[utils.SLO], extra_specs[utils.WORKLOAD], extra_specs, do_disable_compression, is_re=True)
    except Exception as e:
        exception_message = (_('Failed    to    get    or    create    replicationgroup.    Exception    received:    %(e)s') % {'e': six.text_type(e)})
        LOG.exception(exception_message)
        raise exception.VolumeBackendAPIException(data=exception_message)
    self.masking.add_volume_to_storage_group(array, device_id, storagegroup_name, volume_name, extra_specs)
    return storagegroup_name
