DevStack supporting tools in python
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Doug Hellmann 4f1ca7601f fix tox python3 overrides 7 months ago
devstack Insert the right content at end of files 2 years ago
doc/source Initial Cookiecutter Commit. 2 years ago
releasenotes Initial Cookiecutter Commit. 2 years ago
.coveragerc Initial Cookiecutter Commit. 2 years ago
.gitignore Initial Cookiecutter Commit. 2 years ago
.gitreview Initial Cookiecutter Commit. 2 years ago
.mailmap Initial Cookiecutter Commit. 2 years ago
.testr.conf Initial Cookiecutter Commit. 2 years ago
.zuul.yaml add python 3.6 unit test job 8 months ago
CONTRIBUTING.rst Initial Cookiecutter Commit. 2 years ago
HACKING.rst Initial Cookiecutter Commit. 2 years ago
LICENSE Initial Cookiecutter Commit. 2 years ago
MANIFEST.in Initial Cookiecutter Commit. 2 years ago
README.rst update help for dsconf 2 years ago
babel.cfg Initial Cookiecutter Commit. 2 years ago
requirements.txt Initial Cookiecutter Commit. 2 years ago
setup.cfg start adding parser, only support python3 2 years ago
setup.py Initial Cookiecutter Commit. 2 years ago
test-requirements.txt add inifile add/remove code 2 years ago
tox.ini fix tox python3 overrides 7 months ago

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_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

Features

  • TODO