def initialize_connection(self, volume, connector): """Initialize connection between the server and the volume.""" conn_info = super(VSPHORCMFC, self).initialize_connection(volume, connector) if self.conf.vsp_zoning_request: utils.update_conn_info(conn_info, connector, self._lookup_service) return conn_info
def initialize_connection(self, volume, connector): """Initialize connection between the server and the volume.""" conn_info = super(VSPHORCMFC, self).initialize_connection( volume, connector) if self.conf.vsp_zoning_request: utils.update_conn_info(conn_info, connector, self._lookup_service) return conn_info
def terminate_connection(self, volume, connector): """Terminate connection between the server and the volume.""" conn_info = super(VSPHORCMFC, self).terminate_connection(volume, connector) if self.conf.vsp_zoning_request and (conn_info and conn_info['data']['target_wwn']): utils.update_conn_info(conn_info, connector, self._lookup_service) return conn_info
def terminate_connection(self, volume, connector): """Terminate connection between the server and the volume.""" conn_info = super(VSPHORCMFC, self).terminate_connection( volume, connector) if self.conf.vsp_zoning_request and ( conn_info and conn_info['data']['target_wwn']): utils.update_conn_info(conn_info, connector, self._lookup_service) return conn_info