VM::Virtuozzo - Client implementation of the Parallels Virtuozzo XML API
my $vzzo = VM::Virtuozzo->new( hostname => "domain.tld", # or an IPv4 address use_ssl => 0, xsd_version => 4 ); $vzzo->system( login => { name => "root", realm => "00000000-0000-0000-0000-000000000000", password => "mysecret123" } ); $vzzo->vzaenvm( suspend => { # suspend a container eid => "e43581cb-f13a-324d-aab5-e356e19ebee4" } );
This distribution provides a client implementation of the Parallels Virtuozzo XML API, enabling the user to remotely manage Parallels Virtuozzo Containers. Handling of the XML data objects is delegated to XML::Compile.
Be warned: this is ALPHA QUALITY SOFTWARE. Significant bugs probably exist, some features are missing, and the interface should be considered unstable. Use at your own risk.
Constructor method callable with the following named parameters (all mandatory):
hostname
Domain name or IPv4 address of the Virtuozzo server.
use_ssl
1 or 0 to connect over HTTPS.
xsd_version
Integer value indicating API version: only 4 is supported for this release.
Richard Simões <rsimoes AT cpan DOT org>
<rsimoes AT cpan DOT org>
Copyright © 2012 Richard Simões. This module is released under the terms of the GNU Lesser General Public License v. 3.0 and may be modified and/or redistributed under the same or any compatible license.
To install VM::Virtuozzo, copy and paste the appropriate command in to your terminal.
cpanm
cpanm VM::Virtuozzo
CPAN shell
perl -MCPAN -e shell install VM::Virtuozzo
For more information on module installation, please visit the detailed CPAN module installation guide.