Current migrate module include the remote_guest_define function which
has problem with transient guest created on local, it can't find
persistent domain xml on local and copy to remote.
This series fixes aim to solve this problem. First, remote_guest_define
function in migrate is removed, then add support for define domain on
remote in define module. New xml element uuid is added into xmlgenerator,
and new variable static_uuid is introduced into env.cfg, this will help
domain created on local and defined on remote get the same uuid. At last,
all related conf files are updated.
[test-API][PATCH 1/5] Remove remote_guest_define function in migrate
[test-API][PATCH 2/5] Add new variable static_uuid into env.cfg
[test-API][PATCH 3/5] Update add_option_value function in parser
[test-API][PATCH 4/5] Add new element uuid in xmlgenerator
[test-API][PATCH 5/5] Update the migration case conf file
.../migration/ssh_persistent_paused_with_dst.conf | 192 -------------------
.../migration/ssh_persistent_running_with_dst.conf | 192 -------------------
cases/migration/ssh_transient_paused_with_dst.conf | 200 --------------------
.../migration/ssh_transient_running_with_dst.conf | 198 -------------------
.../migration/tcp_persistent_paused_with_dst.conf | 192 -------------------
.../migration/tcp_persistent_running_with_dst.conf | 192 -------------------
.../tcp_sasl_persistent_paused_with_dst.conf | 64 -------
.../tcp_sasl_persistent_running_with_dst.conf | 64 -------
.../tcp_sasl_transient_paused_with_dst.conf | 64 -------
.../tcp_sasl_transient_running_with_dst.conf | 64 -------
cases/migration/tcp_transient_paused_with_dst.conf | 200 --------------------
.../migration/tcp_transient_running_with_dst.conf | 198 -------------------
.../migration/tls_persistent_paused_with_dst.conf | 192 -------------------
.../migration/tls_persistent_running_with_dst.conf | 192 -------------------
.../tls_sasl_persistent_paused_with_dst.conf | 64 -------
.../tls_sasl_persistent_running_with_dst.conf | 64 -------
.../tls_sasl_transient_paused_with_dst.conf | 64 -------
.../tls_sasl_transient_running_with_dst.conf | 64 -------
cases/migration/tls_transient_paused_with_dst.conf | 200 --------------------
.../migration/tls_transient_running_with_dst.conf | 198 -------------------
env.cfg | 3 -
parser.py | 12 +-
repos/domain/migrate.py | 31 +++-
utils/Python/xmlgenerator.py | 7 -
24 files changed, 33 insertions(+), 2878 deletions(-)