Enable quantum-netns-cleanup to receive force as cli parameter
Fixes bug 1180767 Change-Id: Icd58fbe995129806426b70ea54d98f213988dbe5
This commit is contained in:
parent
9523672ce1
commit
7c82107f0a
@ -56,16 +56,20 @@ def setup_conf():
|
|||||||
from the main config that do not apply during clean-up.
|
from the main config that do not apply during clean-up.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
opts = [
|
cli_opts = [
|
||||||
cfg.StrOpt('dhcp_driver',
|
|
||||||
default='quantum.agent.linux.dhcp.Dnsmasq',
|
|
||||||
help=_("The driver used to manage the DHCP server.")),
|
|
||||||
cfg.BoolOpt('force',
|
cfg.BoolOpt('force',
|
||||||
default=False,
|
default=False,
|
||||||
help=_('Delete the namespace by removing all devices.')),
|
help=_('Delete the namespace by removing all devices.')),
|
||||||
]
|
]
|
||||||
|
|
||||||
|
opts = [
|
||||||
|
cfg.StrOpt('dhcp_driver',
|
||||||
|
default='quantum.agent.linux.dhcp.Dnsmasq',
|
||||||
|
help=_("The driver used to manage the DHCP server.")),
|
||||||
|
]
|
||||||
|
|
||||||
conf = cfg.CONF
|
conf = cfg.CONF
|
||||||
|
conf.register_cli_opts(cli_opts)
|
||||||
conf.register_opts(opts)
|
conf.register_opts(opts)
|
||||||
agent_config.register_root_helper(conf)
|
agent_config.register_root_helper(conf)
|
||||||
conf.register_opts(dhcp.OPTS)
|
conf.register_opts(dhcp.OPTS)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user