'Merge hwtacacs global configure'

def merge_hwtacacs_global_cfg(self, **kwargs):

    enable = kwargs['isEnable']
    module = kwargs['module']
    conf_str = (CE_MERGE_HWTACACS_GLOBAL_CFG % enable)
    xml = self.netconf_set_config(module=module, conf_str=conf_str)
    if ('<ok/>' not in xml):
        module.fail_json(msg='Error:    Merge    hwtacacs    global    config    failed.')
    cmds = []
    if (enable == 'true'):
        cmd = 'hwtacacs    enable'
    else:
        cmd = 'undo    hwtacacs    enable'
    cmds.append(cmd)
    return cmds
