cterasdk.edge.services module#

class cterasdk.edge.services.Services(gateway)#

Bases: BaseCommand

Gateway Cloud Services configuration APIs

activate(server, user, code, ctera_license='EV16')#

Activate the gateway using an activation code

Parameters:
  • server (str) – Address of the Portal

  • user (str) – User for the Portal connection

  • code (str) – Activation code for the Portal connection

  • ctera_license (cterasdk.edge.enum.License,optional) – CTERA License, defaults to cterasdk.edge.enum.License.EV16

connect(server, user, password, ctera_license='EV16')#

Connect to a Portal.

The connect method will first validate the license argument,

ensure the Edge Filer can establish a TCP connection over port 995 to server using Gateway.tcp_connect() and verify the Portal does not require device activation via code. TCP connection verification over port 995 is skipped when the Edge Filer is configured to use a proxy.

Parameters:
  • server (str) – Address of the Portal

  • user (str) – User for the Portal connection

  • password (str) – Password for the Portal connection

  • ctera_license (cterasdk.edge.enum.License,optional) – CTERA License, defaults to cterasdk.edge.enum.License.EV16

connected()#

Check if the Edge Filer is connected to CTERA Portal

disable_sso()#

Disable SSO connection

disconnect()#

Disconnect from the Portal

enable_sso()#

Enable SSO connection

get_status()#

Retrieve the cloud services connection status

reconnect()#

Reconnect to the Portal

sso_enabled()#

Is SSO connection enabled

Return bool:

True if SSO connection is enabled, else False