NAME

App::Manoc::DB::Result::Server - A model object representing a server

VERSION

version 2.99.2

METHODS

virtual_servers

If this server is an hypervisor return associacte virtual servers

num_cpus

Return the number of cpus for the associated physical or virtual machine

ram_memory

Return the ram memory for associated virtual of physical machine

decommission([timestamp=>$timestamp, recursive=>[0|1]])

Set decommissioned to true, update timestamp. When recursive option is set decommission hosted VMs and servers.

restore

Restore decommissioned object

label

Return a string describing the object

AUTHORS

  • Gabriele Mambrini <gmambro@cpan.org>

  • Enrico Liguori

COPYRIGHT AND LICENSE

This software is copyright (c) 2017 by Gabriele Mambrini.

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