docs: create a page which shows config options

Bug #1657701 reported by Markus Zoeller (markus_z)
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
nova-dpm
Fix Released
Critical
Andreas Scheuring

Bug Description

I think we should show our config options in our official docs. Nova does it like this: http://docs.openstack.org/developer/nova/sample_config.html

The use the oslo-config-generator for that in their "tox.ini" file:

    [testenv:genconfig]
    commands = oslo-config-generator --config-file=etc/nova/nova-config-generator.conf

https://github.com/openstack/nova/blob/master/tox.ini#L89

The rendered result should be at: http://nova-dpm.readthedocs.io/en/latest/

Our config options are already centrally available at: https://github.com/openstack/nova-dpm/blob/master/nova_dpm/conf/dpm.py

description: updated
Revision history for this message
Sreeram Vancheeswaran (sreeram-vancheeswaran) wrote :

Yes, agreed. I will work on it

Changed in nova-dpm:
status: New → In Progress
importance: Undecided → High
assignee: nobody → Sreeram Vancheeswaran (sreeram-vancheeswaran)
Changed in nova-dpm:
importance: High → Critical
Revision history for this message
Andreas Maier (maiera) wrote :

The documentation of the config options must clarify which options are required, and which options are optional and what their default is if not specified.

Changed in nova-dpm:
assignee: Sreeram Vancheeswaran (sreeram-vancheeswaran) → Markus Zoeller (markus_z) (mzoeller)
Revision history for this message
Andreas Scheuring (andreas-scheuring) wrote :

Had a brief chat with the powervm guys. Their option tables looks pretty nice [1] - but they created it manually.. :/

[1] http://nova-powervm.readthedocs.io/en/latest/devref/usage.html#configuration-file-options

Revision history for this message
Andreas Scheuring (andreas-scheuring) wrote :

FYI: This does the trick for networking-dpm: https://review.openstack.org/#/c/425279/

Changed in nova-dpm:
assignee: Markus Zoeller (markus_z) (mzoeller) → Andreas Scheuring (andreas-scheuring)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to nova-dpm (master)

Fix proposed to branch: master
Review: https://review.openstack.org/425575

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to nova-dpm (master)

Reviewed: https://review.openstack.org/425575
Committed: https://git.openstack.org/cgit/openstack/nova-dpm/commit/?id=8f82f0a442c39c0a70a17644ffa677a9f70b2b74
Submitter: Jenkins
Branch: master

commit 8f82f0a442c39c0a70a17644ffa677a9f70b2b74
Author: Andreas Scheuring <email address hidden>
Date: Thu Jan 26 09:05:21 2017 +0100

    Enable configfile autogeneration

    This patch enables configfile autogeneration. It is triggered

    * implicitly on every sphinx build
      output dir: doc/source/html/_static/nova_dpm.conf.sample
      for doc inclusion
    * explicilty by tox -egenconfig
      output dir: etc/nova/nova_dpm.conf.sample
    * explicitly by tox -edocs
      output dir: etc/nova/nova_dpm.conf.sample

    In addition the return type of nova_dpm.conf.dpm.list_opts needed
    to be changed to the default format (list of tuples).

    Change-Id: Ib298b274f877d651dd846cac6525789c458da407
    Closes-Bug: #1657701

Changed in nova-dpm:
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.