Foundations of Libvirt Development: How to Set Up and Maintain a Virtual Machine Environment with Python

W. David Ashley
$46.74 $54.99
Discover the concepts of libvirt development and interfacing to the Linux virtualization environments, such as QEMU/KVM, XEN, Virtuozzo, VMWare ESX, LXC, Bhyve, and more. This book will prepare you to set up and maintain a virtual machine environment.
The libvirt API covers the entire life cycle of virtual objects, from creation to destruction. It contains everything needed for the management of a virtual object during that life cycle. Although libvirt has APIs that support many languages, this work concentrates on the Python language exclusively and how to use them to control virtual machines under the QEMU/KVM system.

You'll start by reviewing virtualization in general and then move on to libvirt specific concepts using Python including virtualized operating systems and networks, connections, storage pools, event handling, and error handling. Foundations of Libvirt Development concludes with the XML domain definitions of domains, networks, devices, network filtering, storage, node devices, and more.

What You'll Learn
  • Interface Python to the libvirt library.
  • Review the class layout and methods of the libvirt library.
  • Install and manipulate virtual machines via Python/libvirt.
  • Create XML to manipulate domains, networks, and devices.
  • Write Python programs to perform libvirt functions without human intervention.
Who This Book Is For​Maintainers of virtual machines in a UNIX/Linux environment ranging from managing code on a single virtual machine through an entire installation of virtual machines.

Binding Type: Paperback
Publisher: Apress
Published: 08/12/2019
ISBN: 9781484248614
Pages: 408
Weight: 1.32lbs
Size: 9.21h x 6.14w x 0.87d