跳转到主要内容

Python的Devstack辅助工具

项目描述

Python的Devstack辅助工具

这是一组支持devstack的cli工具。它将一些复杂度从bash移动到python中,使得行为测试更加全面。

目前包括 dsconf 工具,它提供了一个用于操作local.conf和ini文件的命令行界面。

usage: dsconf [-h]
            {iniset,inicomment,iniuncomment,inirm,extract-localrc,extract,setlc,setlc_raw,setlc_conf,merge_lc}
            ...

optional arguments:
  -h, --help            show this help message and exit

commands:
  {iniset,inicomment,iniuncomment,inirm,extract-localrc,extract,setlc,setlc_raw,setlc_conf,merge_lc}
                      sub-command help
  iniset              set item in ini file
  inicomment          comment item in ini file
  iniuncomment        uncomment item in ini file
  inirm               delete item from ini file
  extract-localrc     extract localrc from local.conf
  extract             extract and merge config from local.conf
  setlc               set variable in localrc of local.conf
  setlc_raw           set raw line at the end of localrc in local.conf
  setlc_conf          set variable in ini section of local.conf
  merge_lc            merge local.conf files

功能

  • 待办事项

项目详情


下载文件

下载您平台的文件。如果您不确定选择哪个,请了解更多关于 安装包 的信息。

源代码分发

devstack-tools-2.0.0.tar.gz (23.4 kB 查看散列)

上传于

构建分发

devstack_tools-2.0.0-py3-none-any.whl (23.3 kB 查看哈希值)

上传于 Python 3

由以下支持