Refactor: cleanup_live_migration_destination_check
Recent nova change I3a6eb10909ed87c74363a48b728a0cb9c3babef9 renamed driver method check_can_live_migrate_destination_cleanup to cleanup_live_migration_destination_check. Rebase accordingly. Change-Id: I117a1fe731704d35284cf3a271b6fcb5c199640c Closes-Bug: 1606981
This commit is contained in:
parent
4fb42cc58a
commit
641a82af02
|
@ -1773,7 +1773,7 @@ class TestPowerVMDriver(test.TestCase):
|
|||
self.assertEqual('dest_data', dest_data)
|
||||
|
||||
def test_can_live_mig_dest_clnup(self):
|
||||
self.drv.check_can_live_migrate_destination_cleanup(
|
||||
self.drv.cleanup_live_migration_destination_check(
|
||||
'context', 'dest_data')
|
||||
|
||||
@mock.patch('nova_powervm.virt.powervm.live_migration.LiveMigrationSrc')
|
||||
|
|
|
@ -1433,8 +1433,8 @@ class PowerVMDriver(driver.ComputeDriver):
|
|||
return mig.check_destination(context, src_compute_info,
|
||||
dst_compute_info)
|
||||
|
||||
def check_can_live_migrate_destination_cleanup(self, context,
|
||||
dest_check_data):
|
||||
def cleanup_live_migration_destination_check(self, context,
|
||||
dest_check_data):
|
||||
"""Do required cleanup on dest host after check_can_live_migrate calls
|
||||
|
||||
:param context: security context
|
||||
|
|
Loading…
Reference in New Issue