DevStack supporting tools in python
Go to file
Sean Dague 1384ec992d add tests for merging lines beyond a=b
Change-Id: Id2af3b86e19c02fee4058d61e15eb6dd462c6e73
2017-01-19 09:18:11 -05:00
devstack add tests for merging lines beyond a=b 2017-01-19 09:18:11 -05:00
doc/source Initial Cookiecutter Commit. 2017-01-16 08:06:54 -05:00
releasenotes Initial Cookiecutter Commit. 2017-01-16 08:06:54 -05:00
.coveragerc Initial Cookiecutter Commit. 2017-01-16 08:06:54 -05:00
.gitignore Initial Cookiecutter Commit. 2017-01-16 08:06:54 -05:00
.gitreview Initial Cookiecutter Commit. 2017-01-16 08:06:54 -05:00
.mailmap Initial Cookiecutter Commit. 2017-01-16 08:06:54 -05:00
.testr.conf Initial Cookiecutter Commit. 2017-01-16 08:06:54 -05:00
CONTRIBUTING.rst Initial Cookiecutter Commit. 2017-01-16 08:06:54 -05:00
HACKING.rst Initial Cookiecutter Commit. 2017-01-16 08:06:54 -05:00
LICENSE Initial Cookiecutter Commit. 2017-01-16 08:06:54 -05:00
MANIFEST.in Initial Cookiecutter Commit. 2017-01-16 08:06:54 -05:00
README.rst add dsconf help to README 2017-01-18 16:22:46 -05:00
babel.cfg Initial Cookiecutter Commit. 2017-01-16 08:06:54 -05:00
requirements.txt Initial Cookiecutter Commit. 2017-01-16 08:06:54 -05:00
setup.cfg start adding parser, only support python3 2017-01-16 16:38:07 -05:00
setup.py Initial Cookiecutter Commit. 2017-01-16 08:06:54 -05:00
test-requirements.txt add inifile add/remove code 2017-01-16 09:37:39 -05:00
tox.ini start adding parser, only support python3 2017-01-16 16:38:07 -05:00

README.rst

devstack-tools

Devstack Helper Tools in Python

This is a set of cli tools for supporting devstack. It moves some of the complexity out of bash and into python where it's easier to have comprehensive testing of behavior.

Currently this includes the dsconf tool, which provides a cli for manipulating local.conf and ini files.

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

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

commands:
  {iniset,inicomment,iniuncomment,inirm,extract-localrc,extract,setlc,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_conf          set variable in localrc of local.conf
  merge_lc            merge local.conf files

Features

  • TODO