From: Jakub Libosvar Date: Wed, 6 May 2015 11:13:37 +0000 (+0200) Subject: Fix fetching prevent_arp_spoofing from cfg in neutron-sanity-check X-Git-Url: https://review.fuel-infra.org/gitweb?a=commitdiff_plain;h=d7cb612b451edbcf35049a92a42e0583086e6fda;p=openstack-build%2Fneutron-build.git Fix fetching prevent_arp_spoofing from cfg in neutron-sanity-check Change-Id: I0e2ae9fb7236db3aadfc8969bd0adc1d28ea1fc7 Closes-bug: 1452241 --- diff --git a/neutron/cmd/sanity_check.py b/neutron/cmd/sanity_check.py index 52b5b2c65..b49808cc9 100644 --- a/neutron/cmd/sanity_check.py +++ b/neutron/cmd/sanity_check.py @@ -201,7 +201,7 @@ def enable_tests_from_config(): cfg.CONF.set_override('nova_notify', True) if cfg.CONF.AGENT.arp_responder: cfg.CONF.set_override('arp_responder', True) - if config.AGENT.prevent_arp_spoofing: + if cfg.CONF.AGENT.prevent_arp_spoofing: cfg.CONF.set_override('arp_header_match', True) if cfg.CONF.ml2_sriov.agent_required: cfg.CONF.set_override('vf_management', True)