'Config version by cli'

def config_version_cli(self):

    if ('disable' in self.cur_cli_cfg['version']):
        cmd = ('snmp-agent    sys-info    version    %s' % self.version)
        self.updates_cmd.append(cmd)
        cmds = list()
        cmds.append(cmd)
        self.cli_load_config(cmds)
        self.changed = True
    elif (self.version != self.cur_cli_cfg['version']):
        cmd = ('snmp-agent    sys-info    version        %s    disable' % self.cur_cli_cfg['version'])
        self.updates_cmd.append(cmd)
        cmd = ('snmp-agent    sys-info    version        %s' % self.version)
        self.updates_cmd.append(cmd)
        cmds = list()
        cmds.append(cmd)
        self.cli_load_config(cmds)
        self.changed = True
