cterasdk.edge.types module#

class cterasdk.edge.types.AccessControlEntryValidator#

Bases: object

static validate_permission(permission)#
class cterasdk.edge.types.DeduplicationStatus(size, usage)#

Bases: Object

Edge Filer Local Deduplication Status Object

Variables:
  • size (int) – Logical Size in Bytes

  • usage (int) – Actual Size in Bytes

class cterasdk.edge.types.HostCredentials(host, username, password, host_type=None)#

Bases: object

Source Host Credential Object

Variables:
  • host_type (cterasdk.edge.enum.SourceType) – Host type

  • host (str) – Fully qualified domain name, hostname or IP address

  • username (str) – Source host account username

  • password (str) – Source host account password

property host#
property host_type#
static localhost()#
property password#
property username#
class cterasdk.edge.types.NFSv3AccessControlEntry(address, netmask, perm, insecure=False)#

Bases: object

NFS v3 export access control entry :ivar str address: IP address, hostname or fully qualified domain name of client machine :ivar str netmask: Subnet mask :ivar cterasdk.edge.enum.FileAccessMode perm: File access permission :ivar bool insecure: Allow insecure NFS connections

property address#
static from_server_object(server_object)#
property insecure#
property netmask#
property perm#
to_server_object()#
class cterasdk.edge.types.RemoveNFSv3AccessControlEntry(address, netmask)#

Bases: object

Object holding address and netmasak for NFS v3 export access control entry :ivar str address: IP address, hostname or fully qualified domain name of client machine :ivar str netmask: Subnet mask

property address#
property netmask#
class cterasdk.edge.types.RemoveShareAccessControlEntry(principal_type, name)#

Bases: UserGroupEntry

Object holding share access control principal type and name

Variables:
class cterasdk.edge.types.ShareAccessControlEntry(principal_type, name, perm)#

Bases: object

Share access control entry for filer shares

Variables:
static from_server_object(server_object)#
property name#
property perm#
property principal_type#
to_server_object()#
class cterasdk.edge.types.TCPConnectResult(host, port, is_open)#

Bases: tuple

Tuple holding the host and port to connect over TCP

host#

The ip address, hostname or fully qualified domain name of the host

is_open#

Boolean, indicating whether a TCP connection can be successfully established to the target host over the specified port

port#

The port number

class cterasdk.edge.types.TCPService(host, port)#

Bases: tuple

Tuple holding the host and port to connect over TCP

host#

The ip address, hostname or fully qualified domain name of the host

port#

The port number

class cterasdk.edge.types.UserGroupEntry(principal_type, name)#

Bases: object

User or Group Entry

Variables:
static from_server_object(server_object)#
property principal_type#
to_server_object()#