]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commitdiff
Cleanup unused method get_plugin_version
authorKenji Yasui <k-yasui@ti.jp.nec.com>
Mon, 13 Jul 2015 07:59:03 +0000 (07:59 +0000)
committerKenji Yasui <k-yasui@ti.jp.nec.com>
Tue, 14 Jul 2015 01:33:23 +0000 (01:33 +0000)
This patch removes get_plugin_version because it's left over
from the original plugin api and is not in the current api.

Change-Id: Icc9f4e6074b30edfe46364819f812731ad514b47

neutron/plugins/brocade/NeutronPlugin.py

index ea4a18ff3884d72d51408fd3283f471679eb6779..306f84a28aec5e6e02f305de0003fbd3f66a9047 100644 (file)
@@ -54,7 +54,6 @@ from neutron.plugins.common import constants as svc_constants
 
 
 LOG = logging.getLogger(__name__)
-PLUGIN_VERSION = 0.88
 AGENT_OWNER_PREFIX = "network:"
 NOS_DRIVER = 'neutron.plugins.brocade.nos.nosdriver.NOSdriver'
 
@@ -481,10 +480,6 @@ class BrocadePluginV2(db_base_plugin_v2.NeutronDbPluginV2,
                 'security-group' in self.supported_extension_aliases}}
         return binding
 
-    def get_plugin_version(self):
-        """Get version number of the plugin."""
-        return PLUGIN_VERSION
-
     @staticmethod
     def mac_reformat_62to34(interface_mac):
         """Transform MAC address format.