Goutham Pacha Ravi de912aef55 Add console_scripts entry point
dsconf is a CLI utility, and it needs
to be exposed as a console_script during
installation.

Change-Id: I46af013b85753bfdb3a0a3c4cedf261a8f53ecb2
2021-04-08 12:27:31 -07:00
2020-03-31 02:57:23 +00:00
2017-01-16 08:06:54 -05:00
2017-01-16 08:06:54 -05:00
2019-04-19 19:32:58 +00:00
2017-01-16 08:06:54 -05:00
2017-01-16 08:06:54 -05:00
2017-01-16 08:06:54 -05:00
2017-01-16 08:06:54 -05:00
2017-01-19 16:25:51 -05:00
2017-01-16 08:06:54 -05:00
2021-04-08 12:27:31 -07:00
2020-05-31 16:46:56 +02:00
2021-02-25 23:01:07 +05:30

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
Description
DevStack supporting tools in python
Readme 410 KiB
Languages
Python 100%