Class: BigIq50LicenseProvider

BigIq50LicenseProvider(bigIp, optionsopt)

Provides ability to get licenses from BIG-IQ 5.0 (and compatible versions).

Constructor

new BigIq50LicenseProvider(bigIp, optionsopt)

BigIq 5.0 license provider constructor

Parameters:
Name Type Attributes Description
bigIp Object

Base BigIp object.

options Object <optional>

Optional parameters.

Properties
Name Type Attributes Description
logger Object <optional>

Logger to use. Or, pass loggerOptions to get your own logger.

loggerOptions Object <optional>

Options for the logger. See module:logger.getLogger for details.

Methods

getLicenseTimeout()

Gets the license timeout to use

This is here so that it can be overridden by test code

Returns:

the license timeout

getUnmanagedDeviceLicense(bigIqControl, poolName, bigIpMgmtAddress, bigIpMgmtPort) → {Promise}

Gets a license from BIG-IQ for an unmanaged BIG-IP

Parameters:
Name Type Description
bigIqControl Object

iControl object for BIG-IQ

poolName String

Name of the BIG-IQ license pool to use

bigIpMgmtAddress String

IP address of BIG-IP management port.

bigIpMgmtPort String

IP port of BIG-IP management port.

Returns:

A promise which is resolved when the BIG-IP has been licensed or rejected if an error occurs.

Type
Promise

revoke(bigIqControl, poolName, instance) → {Promise}

Revokes a license from a BIG-IP

Parameters:
Name Type Description
bigIqControl Object

iControl object for BIG-IQ

poolName String

Name of the BIG-IQ license pool to use

instance String

AutoscaleInstance to revoke license for

Returns:

A promise which is resolved when the BIG-IP license has been revoked, or rejected if an error occurs.

Type
Promise