]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Load all the necessary database tables when running cisco plugin
authorBaodong (Robert) Li <baoli@cisco.com>
Tue, 19 Mar 2013 17:06:03 +0000 (10:06 -0700)
committerBaodong (Robert) Li <baoli@cisco.com>
Tue, 19 Mar 2013 17:26:43 +0000 (10:26 -0700)
commit4bd651a802feeda464715c7abdce3af0fab0a0a1
tree807dd556740c27700661b42d11e745cb0186c711
parent5acb6ba0ad455cfab2a7d124f1bbce0072b73d6f
Load all the necessary database tables when running cisco plugin

In Cisco plugin, Remove redundant/unnecessary calls to configure_db().
Make sure that all the database models are loaded before calling
configure_db()

fixes bug #1155121

Change-Id: I27d5dda512140f0553b311b35678c82f729fa854
quantum/plugins/cisco/db/network_db_v2.py
quantum/plugins/cisco/db/nexus_db_v2.py
quantum/plugins/cisco/models/virt_phy_sw_v2.py
quantum/plugins/cisco/network_plugin.py
quantum/plugins/cisco/nexus/cisco_nexus_plugin_v2.py
quantum/tests/unit/cisco/test_network_plugin.py