'Delete acl operation'

def delete_acl(self):

    conf_str = (CE_DELETE_ACL_HEADER % self.acl_name)
    if self.acl_type:
        conf_str += ('<aclType>%s</aclType>' % self.acl_type)
    if self.acl_num:
        conf_str += ('<aclNumber>%s</aclNumber>' % self.acl_num)
    if self.acl_step:
        conf_str += ('<aclStep>%s</aclStep>' % self.acl_step)
    if self.acl_description:
        conf_str += ('<aclDescription>%s</aclDescription>' % self.acl_description)
    conf_str += CE_DELETE_ACL_TAIL
    recv_xml = self.netconf_set_config(conf_str=conf_str)
    if ('<ok/>' not in recv_xml):
        self.module.fail_json(msg='Error:    Delete    acl    failed.')
    if self.acl_description:
        cmd = 'undo    description'
        self.updates_cmd.append(cmd)
    if self.acl_step:
        cmd = 'undo    step'
        self.updates_cmd.append(cmd)
    if self.acl_name.isdigit():
        cmd = ('undo    acl    number    %s' % self.acl_name)
    else:
        cmd = ('undo    acl    name    %s' % self.acl_name)
    self.updates_cmd.append(cmd)
    self.changed = True
