[libvirt] [Libvirt-test-API][PATCH 5/6] add migration testing configuration file to cases

Nan Zhang nzhang at redhat.com
Fri Jul 1 12:42:17 UTC 2011


On 06/28/2011 01:54 PM, Guannan.ren wrote:
> ---
>   cases/migrate.conf |   97 ++++++++++++++++++++++++++++++++++++++++++++++++++++
>   1 files changed, 97 insertions(+), 0 deletions(-)
>   create mode 100644 cases/migrate.conf
>
> diff --git a/cases/migrate.conf b/cases/migrate.conf
> new file mode 100644
> index 0000000..2d8157a
> --- /dev/null
> +++ b/cases/migrate.conf
> @@ -0,0 +1,97 @@
> +# This is a sample for migration testing, it assumes that there is a preinstalled rhel6 guest image file
> +# named rhel6 located in shared storage. Then on both host side, it needs to mount the shared folder onto
> +# the default libvirt image folder: /var/lib/libvirt/images
> +
> +domain:create
> +    guestname
> +        $defaultos
> +    guesttype
> +        $defaulthv
> +
> +domain:migrate
> +    target_machine
> +        $target_machine
> +    username
> +        $target_user
> +    password
> +        $target_password
> +    guestname
> +        $defaultos
> +    prestate
> +        running
> +    poststate
> +        running
> +    presrcconfig
> +        false
> +    postsrcconfig
> +        false
> +    predstconfig
> +        false
> +    postdstconfig
> +        false
> +    flags
> +        0|live
> +
> +
> +domain:create
> +    guestname
> +        $defaultos
> +    guesttype
> +        $defaulthv
> +
> +domain:migrate
> +    target_machine
> +        $target_machine
> +    username
> +        $target_user
> +    password
> +        $target_password
> +    guestname
> +        $defaultos
> +    prestate
> +        running
> +    poststate
> +        running
> +    presrcconfig
> +        false
> +    postsrcconfig
> +        false
> +    predstconfig
> +        false
> +    postdstconfig
> +        false
> +    flags
> +        peer2peer|live
> +
> +
> +
> +domain:create
> +    guestname
> +        $defaultos
> +    guesttype
> +        $defaulthv
> +
> +domain:migrate
> +    target_machine
> +        $target_machine
> +    username
> +        $target_user
> +    password
> +        $target_password
> +    guestname
> +        $$defaultos
Redundant '$' sign for variable, should be $defaultos.
> +    prestate
> +        running
> +    poststate
> +        running
> +    presrcconfig
> +        false
> +    postsrcconfig
> +        false
> +    predstconfig
> +        false
> +    postdstconfig
> +        false
> +    flags
> +        peer2peer|tunnelled|live
> +




More information about the libvir-list mailing list