NAME Net::OpenStack::Compute - Bindings for the OpenStack Compute API. VERSION version 1.0401 SYNOPSIS use Net::OpenStack::Compute; my $compute = Net::OpenStack::Compute->new( auth_url => $auth_url, user => $user, password => $password, project_id => $project_id, region => $region, # Optional ); $compute->create_server(name => 's1', flavor => $flav_id, image => $img_id); DESCRIPTION This class is an interface to the OpenStack Compute API. Also see the oscompute command line tool. METHODS get_server get_server($id) Returns the server with the given id or undef if it doesn't exist. get_servers get_servers() get_servers(detail => 1) # Detail defaults to 0. Returns an arrayref of all the servers. get_servers_by_name get_servers_by_name($name) Returns an arrayref of servers with the given name. create_server create_server(name => $name, flavor => $flavor, image => $image) delete_server delete_server($id) get_image get_image($id) get_images get_images() get_images(detail => 1) # Detail defaults to 0. create_image create_image(name => $name, server => $server_id) delete_image delete_image($id) get_flavor get_flavor($id) get_flavors get_flavors() get_flavors(detail => 1) # Detail defaults to 0. token token() Returns the OpenStack Compute API auth token. base_url base_url() Returns the base url for the OpenStack Compute API, which is returned by the server after authenticating. SEE ALSO oscompute 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.