self.driver.initialize_connection(self.volume, self.connector)
vlun = self.driver.common.client.getVLUN(self.VOLUME_3PAR_NAME)
self.assertEqual(vlun['volumeName'], self.VOLUME_3PAR_NAME)
- self.driver.terminate_connection(self.volume, self.connector, True)
+ self.driver.terminate_connection(self.volume, self.connector,
+ force=True)
# vlun should be gone.
self.assertRaises(hpexceptions.HTTPNotFound,
self.driver.common.client.getVLUN,
return info
@utils.synchronized('3par', external=True)
- def terminate_connection(self, volume, connector, force):
+ def terminate_connection(self, volume, connector, **kwargs):
"""Driver entry point to unattach a volume from an instance."""
self.common.client_login()
self.common.terminate_connection(volume,
return info
@utils.synchronized('3par', external=True)
- def terminate_connection(self, volume, connector, force):
+ def terminate_connection(self, volume, connector, **kwargs):
"""Driver entry point to unattach a volume from an instance."""
self.common.client_login()
self.common.terminate_connection(volume,