Add help strings to Config Options
Add an help string to the config options Change-Id: I9248a335db961aa5d776a545dcfba0ddb0f08bb2
This commit is contained in:
parent
ded31acb89
commit
36818aa2df
@ -28,7 +28,8 @@ SG_RPC_VERSION = "1.1"
|
||||
security_group_opts = [
|
||||
cfg.StrOpt(
|
||||
'firewall_driver',
|
||||
default='neutron.agent.firewall.NoopFirewallDriver')
|
||||
default='neutron.agent.firewall.NoopFirewallDriver',
|
||||
help=_('Driver for Security Groups Firewall'))
|
||||
]
|
||||
cfg.CONF.register_opts(security_group_opts, 'SECURITYGROUP')
|
||||
|
||||
|
@ -86,7 +86,10 @@ core_opts = [
|
||||
]
|
||||
|
||||
core_cli_opts = [
|
||||
cfg.StrOpt('state_path', default='/var/lib/neutron'),
|
||||
cfg.StrOpt('state_path',
|
||||
default='/var/lib/neutron',
|
||||
help=_("Where to store Neutron state files. "
|
||||
"This directory must be writable by the agent.")),
|
||||
]
|
||||
|
||||
# Register the configuration options
|
||||
|
@ -136,7 +136,9 @@ for i in portbindings.VIF_TYPES:
|
||||
nova_opts.append(opt)
|
||||
|
||||
# Add the vif types for reference later
|
||||
nova_opts.append(cfg.ListOpt('vif_types', default=portbindings.VIF_TYPES))
|
||||
nova_opts.append(cfg.ListOpt('vif_types',
|
||||
default=portbindings.VIF_TYPES,
|
||||
help=_('List of allowed vif_type values.')))
|
||||
|
||||
cfg.CONF.register_opts(nova_opts, "NOVA")
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user