Options missing help strings

Bug #1094989 reported by Zhongyue Luo
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
neutron
Fix Released
Wishlist
Kyle Mestery

Bug Description

Options registered in quantum source code are mostly missing help strings.

e.g. quantum.common.config has options missing help strings.

core_opts = [
    cfg.StrOpt('bind_host', default='0.0.0.0'),
    cfg.IntOpt('bind_port', default=9696),
    cfg.StrOpt('api_paste_config', default="api-paste.ini"),
    cfg.StrOpt('api_extensions_path', default=""),
    cfg.StrOpt('policy_file', default="policy.json"),
    cfg.StrOpt('auth_strategy', default='keystone'),
    cfg.StrOpt('core_plugin',
               default='quantum.plugins.sample.SamplePlugin.FakePlugin'),
    cfg.ListOpt('service_plugins',
                default=[]),
    cfg.StrOpt('base_mac', default="fa:16:3e:00:00:00"),
    cfg.IntOpt('mac_generation_retries', default=16),
    cfg.BoolOpt('allow_bulk', default=True),
    cfg.IntOpt('max_dns_nameservers', default=5),
    cfg.IntOpt('max_subnet_host_routes', default=20),
    cfg.StrOpt('state_path', default='/var/lib/quantum'),
    cfg.IntOpt('dhcp_lease_duration', default=120),
    cfg.BoolOpt('allow_overlapping_ips', default=False),
    cfg.StrOpt('control_exchange',
               default='quantum',
               help='AMQP exchange to connect to if using RabbitMQ or Qpid'),
    cfg.StrOpt('host', default=utils.get_hostname()),
]

Gary Kotton (garyk)
Changed in quantum:
status: New → Confirmed
Kyle Mestery (mestery)
Changed in quantum:
assignee: nobody → Kyle Mestery (mestery)
Kyle Mestery (mestery)
Changed in quantum:
milestone: none → grizzly-3
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to quantum (master)

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

Changed in quantum:
status: Confirmed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to quantum (master)

Reviewed: https://review.openstack.org/19984
Committed: http://github.com/openstack/quantum/commit/e2891257b7c96af210fd7752621cbf37ed2c1aba
Submitter: Jenkins
Branch: master

commit e2891257b7c96af210fd7752621cbf37ed2c1aba
Author: Kyle Mestery <email address hidden>
Date: Thu Jan 17 11:46:59 2013 +0000

    Add help strings to config file options in Quantum code.

    Fixes bug 1094989

    Change-Id: Ic8f875b41871c79be6a26b829a5af6d3e95b6052

Changed in quantum:
status: In Progress → Fix Committed
Changed in quantum:
importance: Undecided → Wishlist
Thierry Carrez (ttx)
Changed in quantum:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in quantum:
milestone: grizzly-3 → 2013.1
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.