from the main config that do not apply during clean-up.
"""
+ cli_opts = [
+ cfg.BoolOpt('force',
+ default=False,
+ 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.")),
- cfg.BoolOpt('force',
- default=False,
- help=_('Delete the namespace by removing all devices.')),
]
conf = cfg.CONF
+ conf.register_cli_opts(cli_opts)
conf.register_opts(opts)
agent_config.register_root_helper(conf)
conf.register_opts(dhcp.OPTS)