pywasp.config.update_license_server

pywasp.config.update_license_server(host=None, license_id=None, activation_token=None, port=None, ca_filepath=None)[source]

Update the license server configuration

Parameters:
  • host (str, optional) – Hostname or IP address with “http://” preceeding it in the case of a local license server, or a license domain without “https://” preceding it in case of a tier license server. By default it will not be updated

  • port (str or int, optional) – Port number, by default it will not be updated

  • license_id (str, optional) – License id in case of using a tier license server

  • activation_token (str, optional) – Activation token in case of using a tier license server

  • ca_filepath (str, optional) – filepath to a custom root CA certificate if needed.

Raises:
  • ValueError – Invalid URL if it cannot be parsed or doesn’t contain “http://

  • ValueError – Invalid Port if it can’t be represented as a digit between 0 and 65,535