1 2=head1 NAME 3 4NetApp::Filer::License -- OO Class for representing NetApp Filer licenses 5 6=head1 SYNOPSIS 7 8 use NetApp::Filer; 9 10 my $filer = NetApp::Filer->new({ ... }); 11 12 my @licenses = $filer->get_licenses; 13 14 $filer->add_license( $code ); 15 16 $filer->delete_license( 'cifs' ); 17 18 my $license = $filer->get_license( 'nfs' ); 19 20=head1 DESCRIPTION 21 22This class is used to encapsulate the NetApp Filer license information. 23 24=head1 METHODS 25 26=head2 get_service 27 28Returns the name of the service for the license. 29 30=head2 get_type 31 32Returns either 'site' or 'node', depending on whether or not the 33license was in fact a site license. 34 35=head2 get_code 36 37Returns the code for the license 38 39=head2 get_expired 40 41Returns a false value if the license is not expired, and if it is 42expired, it returns the data the license expired, for example: "26 Jun 2008" 43 44=cut 45