NAME

VM::Virtuozzo - Client implementation of the Parallels Virtuozzo XML API

SYNOPSIS

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"
} );

DESCRIPTION

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.

METHODS

CLASS

new(%args)

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.

OBJECT

alertm(...)
authm(...)
backupm(...)
computerm(...)
data_storagem(...)
devm(...)
env_samplem(...)
envm(...)
event_log(...)
filer(...)
firewallm(...)
licensem(...)
mailer(...)
networkm(...)
op_log(...)
packagem(...)
perf_mon(...)
proc_info(...)
processm(...)
progress_event(...)
protocol(...)
relocator(...)
res_log(...)
resourcem(...)
scheduler(...)
server_group(...)
servicem(...)
sessionm(...)
system(...)
types(...)
userm(...)
vzadevm(...)
vzaenvm(...)
vzanetworkm(...)
vzapackagem(...)
vzaproc_info(...)
vzaprocessm(...)
vzarelocator(...)
vzasupport(...)
vzatypes(...)
vzaup2date(...)

AUTHOR

Richard Simões <rsimoes AT cpan DOT org>

COPYRIGHT AND LICENSE

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.