'Determine default storage group from extra_specs.
:param srp_name: the name of the srp on the array
:param slo: the service level string e.g Bronze
:param workload: the workload string e.g DSS
:param is_compression_disabled:  flag for disabling compression
:param is_re: flag for replication
:returns: storage_group_name'

@staticmethod
def get_default_storage_group_name(srp_name, slo, workload, is_compression_disabled=False, is_re=False):

    if (slo and workload):
        prefix = ('OS-%(srpName)s-%(slo)s-%(workload)s' % {'srpName': srp_name, 'slo': slo, 'workload': workload})
        if is_compression_disabled:
            prefix += '-CD'
    else:
        prefix = 'OS-no_SLO'
    if is_re:
        prefix += '-RE'
    storage_group_name = ('%(prefix)s-SG' % {'prefix': prefix})
    return storage_group_name
