|
NAMENetApp::Filer::License -- OO Class for representing NetApp Filer licenses 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' );
DESCRIPTIONThis class is used to encapsulate the NetApp Filer license information. METHODSget_serviceReturns the name of the service for the license. get_typeReturns either 'site' or 'node', depending on whether or not the license was in fact a site license. get_codeReturns the code for the license get_expiredReturns 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"
|