cterasdk.edge.directoryservice module¶
-
class
cterasdk.edge.directoryservice.
DirectoryService
(gateway)¶ Bases:
cterasdk.edge.base_command.BaseCommand
Gateway Active Directory configuration APIs
-
advanced_mapping
(domain, start, end)¶ Configure advanced mapping
Parameters: - domain (str) – The active directory domain
- start (str) – The minimum id to use for mapping
- end (str) – The maximum id to use for mapping
-
connect
(domain, username, password, ou=None)¶ Connect the Gateway to an Active Directory
Parameters: - domain (str) – The active directory domain to connect to
- username (str) – The user name to use when connecting to the active directory services
- password (str) – The password to use when connecting to the active directory services
- ou (str,optional) – The OU path to use when connecting to the active directory services, defaults to None
-
disconnect
()¶ Disconnect from Active Directory Service
-
domains
()¶ Get all domains
Return list(str): List of names of all discovered domains
-
get_connected_domain
()¶ Get the connected domain information
Return cterasdk.common.object.Object:
-