'config out direct'

def config_merge_out_direct(self, out_direct, channel_id):

    if (not self.is_exist_out_direct(out_direct, channel_id)):
        conf_str = CE_NC_MERGE_CHANNEL_DIRECT_HEADER
        if out_direct:
            conf_str += ('<icOutDirect>%s</icOutDirect>' % out_direct)
        if channel_id:
            conf_str += ('<icCfgChnlId>%s</icCfgChnlId>' % channel_id)
        conf_str += CE_NC_MERGE_CHANNEL_DIRECT_TAIL
        recv_xml = set_nc_config(self.module, conf_str)
        if ('<ok/>' not in recv_xml):
            self.module.fail_json(msg='Error:    Merge    syslog    channel    out    direct    failed.')
        self.updates_cmd.append(('info-center    %s    channel    %s' % (out_direct, channel_id)))
        self.changed = True
