The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Linux::Virt::Plugin - baseclass for an Linux::Virt plugin

DESCRIPTION

This module is a base class for all Linux::Virt plugins.

METHODS

create

Create a new VM. Subclasses should implement this method.

delete

Delete an existing VM. Subclasses should implement this method.

is_host

Returns a true value is this system is a (physical) host and able to run VMs of this type. Subclasses should implement this method.

is_running

Returns true if the given VM is currently running.

is_vm

Returns true if this method is called within an VM. Subclasses should implement this method.

start

Start an existing VM. Subclasses should implement this method.

stop

Shutdown an existing VM. Subclasses should implement this method.

vms

List all available VMs. Subclasses should implement this method.

NAME

Linux::Virt::Plugin - Base class for all Linux::Virt plugins.

AUTHOR

Dominik Schulz <dominik.schulz@gauner.org>

COPYRIGHT AND LICENSE

This software is copyright (c) 2012 by Dominik Schulz.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.