App::Manoc::DB::Result::Device - A model object for logical devices
version 2.99.2
Get/set associated rack. Updates associated hardware asset if defined.
Getter/setter for mng_address column. Both string values and App::Manoc::IPAddress::IPv4 are supported
Return mng_address formatted using mng_url_format
Return the date of the last saved config, undef if there isn't any
Create or update the related DeviceConfig object. Check if configuration has changed before rotating the stored one. Return 1 if the config object has been refreshed, undef otherwise.
Set decommissioned to true, update timestamp and deassociate nwinfo if needed.
Set decommissioned to false and reset timestamp.
Gabriele Mambrini <gmambro@cpan.org>
Enrico Liguori
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.
To install App::Manoc, copy and paste the appropriate command in to your terminal.
cpanm
cpanm App::Manoc
CPAN shell
perl -MCPAN -e shell install App::Manoc
For more information on module installation, please visit the detailed CPAN module installation guide.