Make get_plugin_type classmethod

Following the recent Neutron change. [1]

[1] Ia3a1237a5e07169ebc9378b1cd4188085e20d71c

Closes-Bug: #1590117
Change-Id: Id9796ef3ab05dd81d0846ddb8cb3f161a4fed627
This commit is contained in:
YAMAMOTO Takashi 2016-06-10 11:25:49 +09:00
parent fe2d77448d
commit 4d94a59934

View File

@ -213,7 +213,8 @@ class TaasPluginBase(service_base.ServicePluginBase):
def get_plugin_description(self):
return "Tap Service Plugin"
def get_plugin_type(self):
@classmethod
def get_plugin_type(cls):
return constants.TAAS
@abc.abstractmethod