]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Fix KeyError: 'L3_ROUTER_NAT' in l3 scheduler functional test
authorAssaf Muller <amuller@redhat.com>
Sat, 25 Jul 2015 20:14:32 +0000 (16:14 -0400)
committerAssaf Muller <amuller@redhat.com>
Mon, 27 Jul 2015 14:21:52 +0000 (10:21 -0400)
commit5df1a72c9517ebfc90998467e72c6d999119ee68
tree0973663b24edfb372b3facaa3ad2d66faaa85ad4
parentf965483be61dffeb978f069daec792fc162d4d80
Fix KeyError: 'L3_ROUTER_NAT' in l3 scheduler functional test

The issue was introduced by commit with change ID:
Ic4df299bac83c80abf0890a81d2dd36d15993b33

In Neutron-speak we define the 'core plugin' as something like ML2, while
service plugins examples are L3, VPNaaS, etc. The code was initializing
the L3 service plugin as the core plugin, which is unexpected behavior.
The code will now use the DB core plugin base class as the core plugin,
and not initialize the service plugins. The tests will manually and locally
instantiate a L3 service plugin instance and use it.

Change-Id: I2b7d2f6ccd5fe18e322e70b4e376db23d76b9092
Closes-Bug: #1478273
neutron/tests/functional/scheduler/test_l3_agent_scheduler.py