cterasdk.edge.services module¶
-
class
cterasdk.edge.services.Services(gateway)¶ Bases:
cterasdk.edge.base_command.BaseCommandGateway 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 Gateway 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
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
-