Revision 7fb50870 qa/qa_rapi.py
b/qa/qa_rapi.py | ||
---|---|---|
349 | 349 |
_WaitForRapiJob(_rapi_client.MigrateInstance(instance["name"])) |
350 | 350 |
|
351 | 351 |
|
352 |
def TestRapiInstanceRename(instance, rename_target): |
|
353 |
"""Test renaming instance via RAPI""" |
|
354 |
rename_source = instance["name"] |
|
355 |
|
|
356 |
for name1, name2 in [(rename_source, rename_target), |
|
357 |
(rename_target, rename_source)]: |
|
358 |
_WaitForRapiJob(_rapi_client.RenameInstance(name1, name2)) |
|
359 |
|
|
360 |
|
|
352 | 361 |
def TestInterClusterInstanceMove(src_instance, dest_instance, pnode, snode): |
353 | 362 |
"""Test tools/move-instance""" |
354 | 363 |
master = qa_config.GetMasterNode() |
Also available in: Unified diff