File: License.pod

package info (click to toggle)
libnetapp-perl 500.002-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 464 kB
  • sloc: perl: 5,695; makefile: 2
file content (44 lines) | stat: -rw-r--r-- 860 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44

=head1 NAME

NetApp::Filer::License -- OO Class for representing NetApp Filer licenses

=head1 SYNOPSIS

    use NetApp::Filer;

    my $filer = NetApp::Filer->new({ ... });

    my @licenses	= $filer->get_licenses;

    $filer->add_license( $code );

    $filer->delete_license( 'cifs' );

    my $license		= $filer->get_license( 'nfs' );

=head1 DESCRIPTION

This class is used to encapsulate the NetApp Filer license information.

=head1 METHODS

=head2 get_service

Returns the name of the service for the license.

=head2 get_type

Returns either 'site' or 'node', depending on whether or not the
license was in fact a site license.

=head2 get_code

Returns the code for the license

=head2 get_expired

Returns a false value if the license is not expired, and if it is
expired, it returns the data the license expired, for example: "26 Jun 2008"

=cut