nova/tools/config
liu-sheng 74f953a1d7 Remove vi modelines
We don't need to have the vi modelines in each source file,
it can be set in a user's vimrc if required.

Also a check is added to hacking to detect if they are re-added.

Change-Id: I347307a5145b2760c69085b6ca850d6a9137ffc6
Closes-Bug: #1229324
2014-02-03 14:19:44 +00:00
..
analyze_opts.py Remove vi modelines 2014-02-03 14:19:44 +00:00
check_uptodate.sh Sync latest config file generator from oslo-incubator 2014-01-31 22:03:01 +00:00
generate_sample.sh Sync latest config file generator from oslo-incubator 2014-01-31 22:03:01 +00:00
oslo.config.generator.rc Port to oslo.messaging 2014-02-01 09:53:24 +00:00
README Updates tools/config/README 2013-08-22 10:15:14 +08:00

This generate_sample.sh tool is used to generate etc/nova/nova.conf.sample

Run it from the top-level working directory i.e.

  $> ./tools/config/generate_sample.sh -b ./ -p nova -o etc/nova

Watch out for warnings about modules like libvirt, qpid and zmq not
being found - these warnings are significant because they result
in options not appearing in the generated config file.


The analyze_opts.py tool is used to find options which appear in
/etc/nova/nova.conf but not in etc/nova/nova.conf.sample
This helps identify options in the nova.conf file which are not used by nova.
The tool also identifies any options which are set to the default value.

Run it from the top-level working directory i.e.

  $> ./tools/config/analyze_opts.py