]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Ensure agent binding modules are loaded
authorKevin Benton <blak111@gmail.com>
Thu, 24 Dec 2015 08:29:08 +0000 (00:29 -0800)
committergaryk <gkotton@vmware.com>
Sun, 10 Jan 2016 14:09:38 +0000 (14:09 +0000)
commit89f96e627fc1e402ca456d60127ccde5bd534415
treee26b84ee93644f6fb1a1a15605571711f3bf5b62
parent19fa34afd1d95a55f64556f806668d9537beb3e2
Ensure agent binding modules are loaded

This patch ensures that models_v2 and the router db module
import the agent binding modules so their models are defined
in the sqlalchemy metadata. Otherwise, using an agentless
core/L3 plugin may result in a failure to initialize if nothing
imported the agent module.

Change-Id: I77240462b618d6e95c7c5862441d6d179e371f4f
Closes-Bug: #1529022
neutron/db/l3_attrs_db.py
neutron/db/l3_db.py
neutron/db/models_v2.py