cterasdk.core.activation module

cterasdk.core.activation module#

class cterasdk.core.activation.Activation(portal)#

Bases: BaseCommand

Portal activation

generate_code(username=None, tenant=None)#

Generate device activation code

Parameters:
  • username (str,optional) – User name used for activation, defaults to None

  • tenant (str,optional) – Tenant name used for activation, defaults to None

Returns:

Portal Activation Code

Return type:

str