]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commitdiff
Set correct plugin support in Embrane based plugins
authorIvar Lazzaro <ivar@embrane.com>
Tue, 8 Oct 2013 00:12:11 +0000 (17:12 -0700)
committerGerrit Code Review <review@openstack.org>
Tue, 8 Oct 2013 21:02:10 +0000 (21:02 +0000)
Change-Id: I87480415f55894e17458a85ef7918babaceb5e47
Closes-Bug: 1236627
(cherry picked from commit 15103e58443af95451a9ba22bc4a9083950d386e)

neutron/plugins/embrane/plugins/embrane_fake_plugin.py
neutron/plugins/embrane/plugins/embrane_ovs_plugin.py

index a7ba6782dc785501062b6169db77d6c42cb92b24..69d972c54340e7394474c401ca4d3ec1305bc52d 100644 (file)
@@ -25,7 +25,7 @@ from neutron.plugins.embrane.l2base.fake import fakeplugin_support as sup
 
 class EmbraneFakePlugin(base.EmbranePlugin, extraroute_db.ExtraRoute_db_mixin,
                         l2.FakeL2Plugin):
-    _plugin_support = sup.FakePluginSupport
+    _plugin_support = sup.FakePluginSupport()
 
     def __init__(self):
         '''First run plugin specific initialization, then Embrane's.'''
index ded3b9916b13e67d8f5d9c71373d7de31dcf6a09..1ad9368266c3d685d1a0efaa9bdfec80821aad65 100644 (file)
@@ -29,7 +29,7 @@ class EmbraneOvsPlugin(base.EmbranePlugin, l2.OVSNeutronPluginV2):
     and the base EmbranePlugin for L3.
 
     '''
-    _plugin_support = openvswitch_support.OpenvswitchSupport
+    _plugin_support = openvswitch_support.OpenvswitchSupport()
 
     def __init__(self):
         '''First run plugin specific initialization, then Embrane's.'''