Merge "Swap the decorator order for PureFCDriver methods"

This commit is contained in:
Jenkins 2015-09-11 01:25:53 +00:00 committed by Gerrit Code Review
commit fcbb9a2cf7
1 changed files with 2 additions and 2 deletions

View File

@ -943,8 +943,8 @@ class PureFCDriver(PureBaseVolumeDriver, driver.FibreChannelDriver):
ports = self._array.list_ports()
return [port["wwn"] for port in ports if port["wwn"]]
@log_debug_trace
@fczm_utils.AddFCZone
@log_debug_trace
def initialize_connection(self, volume, connector, initiator_data=None):
"""Allow connection to connector and return connection info."""
@ -1010,8 +1010,8 @@ class PureFCDriver(PureBaseVolumeDriver, driver.FibreChannelDriver):
return init_targ_map
@log_debug_trace
@fczm_utils.RemoveFCZone
@log_debug_trace
def terminate_connection(self, volume, connector, **kwargs):
"""Terminate connection."""
no_more_connections = self._disconnect(volume, connector, **kwargs)