def close(self, timeout=MEDIUM_TIMEOUT): try: self.cinder_client.volumes.delete(self.id) except Exception: return utils.wait_until_none(self._volume_status, timeout=timeout, sleep=MEDIUM_SLEEP)
def close(self, timeout=MEDIUM_TIMEOUT): try: self.nova_client.servers.delete(self.id) except Exception: return utils.wait_until_none(self._server_status, timeout=timeout, sleep=MEDIUM_SLEEP)
def close(self, timeout=LONG_TIMEOUT): try: self.neutron_client.delete_network(self.id) except Exception: return utils.wait_until_none(self._network_status, timeout=timeout, sleep=MEDIUM_SLEEP)