NAME
Net::OpenStack::Compute - Bindings for the OpenStack compute api.
VERSION
version 1.0000
SYNOPSIS
use Net::OpenStack::Compute;
my $compute = Net::OpenStack::Compute->new(
auth_url => $auth_url,
user => $user,
key => $password,
project_id => $project_id, # Optional
region => $egion, # Optional
);
$compute->create_server(name => 's1', flavor => $flav_id, image => $img_id);
METHODS
get_server
get_server($id)
get_servers
get_servers()
get_servers(detail => 0)
create_server
create_server(name => $name, flavor => $flavor, image => $image)
delete_server
delete_server($id)
AUTHOR
Naveed Massjouni <naveedm9@gmail.com>
COPYRIGHT AND LICENSE
This software is copyright (c) 2011 by Naveed Massjouni.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.