---
name: "NetApp::Filer::License"
section: "3pm"
platform: "linux"
package: "libnetapp-perl"
version: "500.002-3"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/NetApp::Filer::License"
---

# NetApp::Filer::License(3pm)

## NAME

NetApp::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' );
```

## DESCRIPTION

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

## METHODS

### get\_service

Returns the name of the service for the license.

### get\_type

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

### get\_code

Returns the code for the license

### 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"
