Closed
[Feature]:支持KAOT插件进行os配置 #9
zhanfeiranAdd on  Sep 1Closed at  Sep 2
zhanfeiran
zhanfeiran
Sep 1 Create

需求背景
为 msboost 引入 KAOT(Kunpeng Automatic Optimization Tool)能力,用于提供系统环境检测、优化项配置管理及公共工具支持,为后续自动化调优功能奠定基础。
当前现状
当前仓库缺少 KAOT 的基础框架,尚未提供统一的优化项模型、配置解析、环境信息采集、日志管理及数据库配置文件处理能力。
期望实现的功能

  • 引入 KAOT 基础目录和依赖配置。
  • 提供优化项基础模型及统一注册机制。
  • 支持 YAML 配置解析和参数校验。
  • 支持系统环境信息采集与配置比对。
  • 提供日志、命令执行及数据库配置文件处理等公共工具。
  • 不包含 WebUI 相关功能。
    设计方案
  • 在 KAOT/src/feature_manager 中定义优化项基础模型和注册映射。
  • 在 KAOT/src/utils/config.py 中实现配置模型、配置解析及校验。
  • 在 KAOT/src/utils/env.py 中实现系统环境信息采集与一致性检查。
  • 在 KAOT/src/utils/common.py 中提供通用校验和安全的命令执行能力。
  • 在 KAOT/src/utils/db_config_utils.py 中实现数据库配置文件读取、更新和备份。
  • 在 KAOT/src/utils/log.py 中提供统一日志初始化能力。
likedislike
ascend-robotascend-robotCollaborators
Sep 1 Added label: feature
zhanfeiranzhanfeiran
Sep 1 Modify description of issue
zhanfeiranzhanfeiran
Sep 1 Associated pull request
zhanfeiranzhanfeiran
Sep 1 Associated pull request
chrisffjxchrisffjxCollaborators
Sep 1 Associated pull request
chrisffjxchrisffjxCollaborators
Sep 2 Associated pull request
ascend-robotascend-robotCollaborators
Sep 2 Close issue
chrisffjxchrisffjxCollaborators
Sep 2 Associated pull request
chrisffjxchrisffjxCollaborators
Sep 2 Associated pull request
ascend-robotascend-robotCollaborators
Sep 2 Added label: resolved