On 04/01/2013 06:40 PM, Yang Dongsheng wrote:
Signed-off-by: yangdongsheng <[email protected]>
---
libvirt/tests/cfg/virsh_connect.cfg | 49
+++++++++++++++++++++++++++++++++++
1 files changed, 49 insertions(+), 0 deletions(-)
create mode 100644 libvirt/tests/cfg/virsh_connect.cfg
diff --git a/libvirt/tests/cfg/virsh_connect.cfg
b/libvirt/tests/cfg/virsh_connect.cfg
new file mode 100644
index 0000000..3ba9387
--- /dev/null
+++ b/libvirt/tests/cfg/virsh_connect.cfg
@@ -0,0 +1,49 @@
+- virsh_connect:
+ type = virsh_connect
+ virt_test_type = libvirt
+ # VM is not needed for this test
+ vms =
+ main_vm =
+ start_vm = "no"
+ # libvirtd status
+ libvirtd = "on"
+ # connect_arg is the uri connect to :
+ # "" - default uri
+ # "xen:///" - this is used to connect to the local Xen
hypervisor, this is the default
+ # "qemu:///system" - connect locally as root to the daemon
supervising QEmu and KVM domains
+ # "qemu:///session" - connect locally as a normal user to his
own set of QEmu and KVM domains
+ # "lxc:///" - connect to a local linux container
Does this test support remote URI? for example, qemu:///<ip>/system, for
virsh connect testing, I also expect to see some test cases about remote
access, thanks.
+ connect_arg = ""
+ # connect_opt is the option of command connect :
+ # "--readonly" - read only mode to connect
+ connect_opt = ""
+ variants:
+ - normal_test:
+ status_error = "no"
+ variants:
+ - default:
+ - xen_uri:
+ connect_arg = "xen:///"
+ - qemu_system_uri:
+ connect_arg = "qemu:///system"
+ - qemu_session_uri:
+ connect_arg = "qemu:///session"
+ - lxc_uri:
+ connect_arg = "lxc:///"
+ - remote_connect:
+ remote_ip = "ENTER.YOUR.REMOTE.HOST.IP"
+ remote_root_password =
"ENTER.YOUR.REMOTE.ROOT.PASSWORD"
+ connect_arg = "remote"
+ - readonly:
+ connect_opt = "--readonly"
+ - error_test:
+ status_error = "yes"
+ variants:
+ - unrecognized_arg:
+ connect_arg = "xyz"
+ - unrecognized_opt:
+ connect_opt = "--xyz"
+ - multi_arg:
+ connect_arg = "uri xyz"
+ - libvirtd_stop:
+ libvirtd = "off"
--
1.7.1
_______________________________________________
Virt-test-devel mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/virt-test-devel
_______________________________________________
Virt-test-devel mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/virt-test-devel