Skip to content

Commit

Permalink
Extension classes inherit from neutron.api.extensions.ExtensionDescri…
Browse files Browse the repository at this point in the history
…ptor

This is mandatory from the neutron commit
8824c86756e35c488cf4438d22ddca3f2ee71f25 (Mitaka release).

Change-Id: I3549d8c04eac5b31469d340eeeeaf01dcff15283
Closes-Bug: 1556124
  • Loading branch information
Édouard Thuleau committed Mar 11, 2016
1 parent 192d973 commit 6d197dd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
3 changes: 2 additions & 1 deletion neutron_plugin_contrail/extensions/vfbinding.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
#

from neutron.api.v2 import attributes as attr
from neutron.api import extensions

EXTENDED_ATTRIBUTES_2_0 = {
'ports': {
Expand All @@ -27,7 +28,7 @@
}


class Vfbinding(object):
class Vfbinding(extensions.ExtensionDescriptor):

@classmethod
def get_name(cls):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,6 @@ class NeutronPluginContrailCoreBase(neutron_plugin_base_v2.NeutronPluginBaseV2,
"allowed-address-pairs",
"extra_dhcp_opt",
"provider",
"vf-binding",
]

__native_bulk_support = False
Expand Down

0 comments on commit 6d197dd

Please sign in to comment.