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

Guannan.ren gren at redhat.com
Tue Jun 28 05:54:52 UTC 2011


---
 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
+    prestate
+        running
+    poststate
+        running
+    presrcconfig
+        false
+    postsrcconfig
+        false
+    predstconfig
+        false
+    postdstconfig
+        false
+    flags
+        peer2peer|tunnelled|live
+
-- 
1.7.1




More information about the libvir-list mailing list