Constants class - Platform - BlueCat Gateway - 20.1.1

Gateway Administration Guide

prodname
BlueCat Gateway
version_custom
20.1.1

class constants.AccessRightTypes

Bases: constants.ConstantsObject

Access Rights values.

AddAccess= 'ADD'

ChangeAccess= 'CHANGE'

FullAccess= 'FULL'

HideAccess= 'HIDE'

ViewAccess= 'VIEW'

class constants.AccessRightValues

Bases: constants.ConstantsObject

Access Rights.

AddAccess= 'ADD'

ChangeAccess= 'CHANGE'

FullAccess= 'FULL'

HideAccess= 'HIDE'

ViewAccess= 'VIEW'

class constants.ConstantsObject

Bases: constants.ConstantsObject

DHCP Deployment Role Type.

MASTER= 'MASTER'

NONE= 'NONE'

class constants.DNSDeploymentRoleType

Bases: constants.ConstantsObject

DNS Deployment Role Type.

AD_MASTER= 'AD_MASTER'

FORWARDER= 'FORWARDER'

MASTER= 'MASTER'

MASTER_HIDDEN= 'MASTER_HIDDEN'

NONE= 'NONE'

RECURSION= 'RECURSION'

SLAVE= 'SLAVE'

SLAVE_STEALTH= 'SLAVE_STEALTH'

STUB= 'STUB'

class constants.DeploymentServices

Bases: constants.ConstantsObject

Deployment Services.

DHCP= 'DHCP'

DHCPv6= 'DHCPv6'

DNS= 'DNS'

TFTP= 'TFTP'

class constants.IP6AssignmentActionValues

Bases: constants.ConstantsObject

IP6 Assignment Action Values.

MAKE_DHCP_RESERVED= 'MAKE_DHCP_RESERVED'

MAKE_STATIC= 'MAKE_STATIC'

class constants.IPAddressStatesIP4

Bases: constants.ConstantsObject

IPv4 Address States.

DHCP_ALLOCATED= 'DHCP_ALLOCATED'

DHCP_FREE= 'DHCP_FREE'

DHCP_LEASED= 'DHCP_LEASED'

DHCP_RESERVED= 'DHCP_RESERVED'

GATEWAY= 'GATEWAY'

RESERVED= 'RESERVED'

STATIC= 'STATIC'

UNALLOCATED= 'UNALLOCATED'

class constants.IPAddressStatesIP6

Bases: constants.ConstantsObject

IPv6 Address States.

DHCP_ALLOCATED= 'DHCP_ALLOCATED'

DHCP_FREE= 'DHCP_FREE'

DHCP_LEASED= 'DHCP_LEASED'

DHCP_RESERVED= 'DHCP_RESERVED'

GATEWAY= 'GATEWAY'

RESERVED= 'RESERVED'

STATIC= 'STATIC'

UNALLOCATED= 'UNALLOCATED'

class constants.IPAssignmentActionValues

Bases: constants.ConstantsObject

IP Assignment Action Values.

MAKE_DHCP_RESERVED= 'MAKE_DHCP_RESERVED'

MAKE_RESERVED= 'MAKE_RESERVED'

MAKE_STATIC= 'MAKE_STATIC'

class constants.IPv6AddAddressType

Bases: constants.ConstantsObject

IP Address Creation types.

INTERFACEID= 'InterfaceID'

IP6ADDRESS= 'IP6Address'

MACADDRESS= 'macAddress'

class constants.SelectiveDeploymentStatus

Bases: constants.ConstantsObject

Selective Deployment statuses.

FINISHED= 'FINISHED'

QUEUED= 'QUEUED'

STARTED= 'STARTED'

TASK_NOT_FOUND= 'TASK_NOT_FOUND'

class DHCPLeaseStatus(ConstantsObject)

Bases: constants.ConstantsObject

DHCP Lease Status and the associated code.

DHCP_ALLOCATED= 513

DHCP_FREE= 514

LEASED= 522

GATEWAY= 766

get_names()

Return a list of names of the defined elements (constants).

Returns: A list of names of the defined 'constants'.
Return type: list

get_values()

Return a list of values of the defined elements (constants).

Returns: A list of values of the defined 'constants'.
Return type: list

is_valid_name(name)

Report whether the class has a defined element (constant) with the specified name.

Parameter Description
name (string, required) The name to be validated as defined in the referenced class.
Returns: Whether there is a defined 'constant' with the specified name.
Return type: boolean

is_valid_value(value)

Report whether the class has a defined element (constant) with the specified value.

Parameter Description
value (any, required) The value to be validated that belongs to the referenced class.
Returns: Whether there is a defined 'constant' with the specified value.
Return type: boolean