cterasdk.core.setup module

class cterasdk.core.setup.Setup(portal)

Bases: cterasdk.core.base_command.BaseCommand

Global Admin Setup APIs

static default_settings()
get_replication_candidates()
get_setup_status()
init_application_server(ipaddr, secret)

Initialize a CTERA Portal Application Server.

Parameters
  • ipaddr (str) – The CTERA Portal master server IP address

  • secret (str) – A password or a PEM-encoded private key

init_master(name, email, first_name, last_name, password, domain)

Initialize the CTERA Portal master server.

Parameters
  • name (str) – User name for the new user

  • email (str) – E-mail address of the new user

  • first_name (str) – The first name of the new user

  • last_name (str) – The last name of the new user

  • password (str) – Password for the new user

  • domain (str) – The domain suffix for CTERA Portal

init_replication_server(ipaddr, secret, replicate_from=None)

Initialize a CTERA Portal Database Replication Server.

Parameters
  • ipaddr (str) – The CTERA Portal master server IP address

  • secret (str) – A password or a PEM-encoded private key

  • replicate_from (str) – The name of a CTERA Portal server to replicate from

class cterasdk.core.setup.SetupWizardStatusMonitor(portal, retries=60, seconds=5)

Bases: object

wait(stage)