'"Return a list of storage groups.
:param array: the array serial number
:param params: optional filter parameters
:returns: storage group list'

def get_storage_group_list(self, array, params=None):

    sg_list = []
    sg_details = self.get_resource(array, SLOPROVISIONING, 'storagegroup', params=params)
    if sg_details:
        sg_list = sg_details['storageGroupId']
    return sg_list
