virttest.utils_libvirt package

Submodules

virttest.utils_libvirt.libvirt_bios module

Libvirt BIOS related utilities.

copyright:2022 Red Hat Inc.
virttest.utils_libvirt.libvirt_bios.remove_bootconfig_items_from_vmos(osxml)

Remove efi firmware attribute and loader/nvram elements

Parameters:osxml – VMOSXML object
Returns:VMOSXML, the updated object

virttest.utils_libvirt.libvirt_ceph_utils module

virttest.utils_libvirt.libvirt_config module

virttest.utils_libvirt.libvirt_cpu module

virttest.utils_libvirt.libvirt_disk module

virttest.utils_libvirt.libvirt_embedded_qemu module

virttest.utils_libvirt.libvirt_keywrap module

virttest.utils_libvirt.libvirt_memory module

virttest.utils_libvirt.libvirt_misc module

Virtualization test - utility functions for libvirt

copyright:2021 Red Hat Inc.
virttest.utils_libvirt.libvirt_misc.convert_to_dict(content, pattern='(\\d+) +(\\S+)')

Put the content into a dict according to the pattern.

Parameters:
  • content – str, the string to be parsed
  • pattern – str, regex for parsing the command output
Returns:

dict, the dict contains matched result

virttest.utils_libvirt.libvirt_nested module

virttest.utils_libvirt.libvirt_network module

virttest.utils_libvirt.libvirt_numa module

virttest.utils_libvirt.libvirt_nwfilter module

virttest.utils_libvirt.libvirt_pcicontr module

virttest.utils_libvirt.libvirt_secret module

virttest.utils_libvirt.libvirt_usb module

virttest.utils_libvirt.libvirt_vfio module

virttest.utils_libvirt.libvirt_virtio module

virttest.utils_libvirt.libvirt_vmxml module

Module contents