Virsh domname can get vm's name by its running-id or uuid.
These patchs are added to test it.
According Alex's advice, I removed rename's test in this version.

Yu Mingfei (3):
   Add function virsh_domname to libvirt_vm.
   Add testcases of virsh domname to subtest.cfg.sample.
   Add test of virsh domname to virsh_domname.py.

  client/tests/libvirt/tests/virsh_domname.py |   83 +++++++++++++++++++++++++++
  client/virt/libvirt_vm.py                   |    9 +++
  client/virt/subtests.cfg.sample             |   44 ++++++++++++++
  3 files changed, 136 insertions(+), 0 deletions(-)
  create mode 100644 client/tests/libvirt/tests/virsh_domname.py


-- 
Best Regards
Yu Mingfei

_______________________________________________
Autotest mailing list
Autotest@test.kernel.org
http://test.kernel.org/cgi-bin/mailman/listinfo/autotest

Reply via email to