Net::Checkpoint::Management::v1 - Checkpoint Management API version 1.x client library
version 0.001008
use strict; use warnings; use Net::Checkpoint::Management::v1; my $cpmgmt = Net::Checkpoint::Management::v1->new( server => 'https://cpmgmt.example.com', user => 'username', passwd => '$password', clientattrs => { timeout => 30 }, ); $cpmgmt->login;
This module is a client library for the Checkpoint Management API version 1.x. Currently it is developed and tested against version R80.40.
Returns a list of all available API versions which gets populated on the first call. Only works on API version 1.1 and higher.
The API version used by all methods. Is automatically set to the highest version available by the "login" method.
Logs into the Checkpoint Manager API using version 1.
Logs out of the Checkpoint Manager API using version 1.
Publishes all previously submitted changes. Returns the task id on success.
Discards all previously submitted changes. Returns a hashref containing the operation status message and the number of discarded changes.
Verifies the policy of the given package.
Takes a policy name.
Returns the task id on success.
Installs the policy of the given package onto the given target(s).
Takes a policy name, target(s) and an optional hashref of additional parameters. The target(s) can be a single name or uid or a list of names or uids.
Takes a task id and checks its status every second until it isn't 'in progress' any more and return the status. Takes an optional callback coderef which is called for every check with the task as argument.
Alexander Hartmaier <abraxxa@cpan.org>
This software is copyright (c) 2020 by Alexander Hartmaier.
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 Net::Checkpoint::Management::v1, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Net::Checkpoint::Management::v1
CPAN shell
perl -MCPAN -e shell install Net::Checkpoint::Management::v1
For more information on module installation, please visit the detailed CPAN module installation guide.