'Deletes all QOS policy groups that are marked for deletion.'

def remove_unused_qos_policy_groups(self):

    api_args = {'query': {'qos-policy-group-info': {'policy-group': ('%s*' % client_base.DELETED_PREFIX), 'vserver': self.vserver}}, 'max-records': 3500, 'continue-on-failure': 'true', 'return-success-list': 'false', 'return-failure-list': 'false'}
    try:
        self.send_request('qos-policy-group-delete-iter', api_args, False)
    except netapp_api.NaApiError as ex:
        msg = 'Could    not    delete    QOS    policy    groups.    Details:    %(ex)s'
        msg_args = {'ex': ex}
        LOG.debug(msg, msg_args)
