]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commitdiff
Remove duplicated option state_path from netns cleanup
authorAkihiro MOTOKI <motoki@da.jp.nec.com>
Tue, 12 Feb 2013 08:01:09 +0000 (17:01 +0900)
committerAkihiro MOTOKI <motoki@da.jp.nec.com>
Tue, 12 Feb 2013 08:01:09 +0000 (17:01 +0900)
state_path is already declared in quantum/common/config.py,
so we need to remove state_path option from netns_cleanup_util.

Fixes bug 1122822

Change-Id: Ifc1c0290c00c1fe5e2fc1833144da05615a782ef

quantum/agent/netns_cleanup_util.py

index 9c6660d52456b3452dcc80b50925ac1b16e8e550..b3442c8db32356fdee853cec1455ac3a1d2e45eb 100644 (file)
@@ -60,9 +60,6 @@ def setup_conf():
         cfg.StrOpt('dhcp_driver',
                    default='quantum.agent.linux.dhcp.Dnsmasq',
                    help=_("The driver used to manage the DHCP server.")),
-        cfg.StrOpt('state_path',
-                   default='.',
-                   help=_('Top-level directory for maintaining dhcp state')),
         cfg.BoolOpt('force',
                     default=False,
                     help=_('Delete the namespace by removing all devices.')),