flexvm

flexvm auto disable

Disable auto Flex-VM license creation.

flexvm auto enable

Enable auto Flex-VM license creation.

flexvm auto max get

Show maximum number of Flex-VM license auto-created in one API call.

flexvm auto max set

flexvm auto max set <VALUE>

Set maximum number of Flex-VM license auto-created in one API call.

flexvm auto min get

Show minimal number of Flex-VM license auto-created in one API call.

flexvm auto min set

flexvm auto min set <VALUE>

Set minimal number of Flex-VM license auto-created in one API call.

flexvm auto show

Show if auto Flex-VM license creation is enabled or not.

flexvm byol disable

Full refresh of all Flex-VM licenses to work in server mode.

flexvm byol enable

Restrict refresh to known Flex-VM licenses to work in BYOL mode.

flexvm byol show

Show if Flex-VM is limited (enabled) or not (disabled) to known license only (BYOL mode).

flexvm clear credentials

Clear the Flex-VM API account.

flexvm config ls

flexvm config ls <ARGS>+

List Config for current Flex-VM API account.

flexvm config refresh

flexvm config refresh <ARGS>+

Refresh Flex-VM Config information for current Flex-VM API account.

flexvm config show

flexvm config show <_ID>

Show config parameters.

flexvm fortipoc type ls

List valid FortiPoC device types.

flexvm get account

Show current Flex-VM API account user name.

flexvm license create

flexvm license create <TYPE> <COUNT> <ARGS>+

Create new Flex-VM license for type devices.

The count is the number of license to create. The count is sliced in auto max part. See official Flex-VM API documentation for limitations and constraints.

Use “–save” to save licenses as .flexvm file under local repository/flexvm.

flexvm license ls

flexvm license ls <ARGS>+

flexvm license reactivate

flexvm license reactivate <ARGS>+

To reactivate known licenses.

flexvm license refresh

flexvm license refresh <TYPE> <ARGS>+

Download and refresh licenses from the Flex-VM server.

Use “*” as type to refresh all supported types.

If BYOL mode is enabled, use “–all” to retrieve all licenses.

If BYOL mode is disabled, use “–byol” to retrieve known licenses only.

When all licenses must be downloaded, confirmation is required, use “–no-interactive” to bypass it.

To download only a specific license use “–serialNumber <SERIAL_NUMBER>”.

Use “–save” to save licenses as .flexvm file under local repository/flexvm.

flexvm license stop

flexvm license stop <ARGS>+

To stop known licenses.

flexvm pool clear

flexvm pool clear <TYPE>

Disable pool for the device type.

flexvm pool ls

flexvm pool ls <ARGS>+

List current pools.

flexvm pool set

flexvm pool set <TYPE> <ARGS>+

Enable program for the device type.

::

flexvm pool set FGT [<SERIALNUMBER>] [–id <ID>]

If the Program SerialNumber is not specified, it must exist only one progam/config for the device type.

When uploading Flex-VM license, the corresponding pool is automatically enabled.

flexvm product ls

flexvm product ls <ARGS>+

List products.

flexvm product update

flexvm product update <NAME> <FP_TYPE> <ARGS>+

For a Flex-VM product define the corresponding FortiPoC type.

Instead of the name, you can use the Flex-VM ID.

If the fp_type is already defined you must confirm the change, use ‘–no-interactive’ to bypass the confirmation.

flexvm program ls

flexvm program ls <ARGS>+

Show Flex-VM Program(s) for current Flex-VM API account.

flexvm program refresh

flexvm program refresh <ARGS>+

Refresh Flex-VM Program information for current Flex-VM API account.

flexvm set credentials

flexvm set credentials <USERNAME> <PASSWORD> <ARGS>+

Define a Flex-VM API account.

By default when credentials are defined, associated Programs and Configs are retrieved, specify ‘–no-refresh’ to skip.

Out of date program/config information may prevent to upload Flex-VM license file.

flexvm supported get

flexvm supported set

flexvm supported set <ARGS>+