hpecp.license module

class hpecp.license.LicenseController(client)[source]

Bases: object

platform_id()[source]

Retrieve the Platform ID

list()[source]

Retrieve the list of licenses

upload_with_ssh_key(server_filename, ssh_key_file=None, ssh_key_data=None, base64enc_license='')[source]

Not implemented yet!

Workaround:
  • scp your license to ‘/srv/bluedata/license/’ on the controller

  • run client.license.register(server_filename) to register the license

upload_with_ssh_pass(server_filename, ssh_username, ssh_password, base64enc_license='')[source]

Not implemented yet!

Workaround:
  • scp your license to ‘/srv/bluedata/license/’ on the controller

  • run client.license.register(server_filename) to register the license

register(server_filename)[source]

Register a license. The license must have previously been uploaded to ‘/srv/bluedata/license/’ on the controller.

server_filename: str

Filepath to the license on the server, e.g. ‘/srv/bluedata/license/LICENSE-1.txt’

APIException

delete(license_key)[source]

Delete a license by LicenseKey.

license_key: str

The license key, e.g. ‘1234 1234 … 1234 “SOMETEXT”’

APIException