Enumerations

class netlab.enums.HDRSeverity
NONE = 0

Show no warnings.

FATAL = 1

Show FATAL warnings. Level 1.

ERROR = 2

Show FATAL warnings. Level 2.

WARN = 3

Show FATAL warnings. Level 3.

SUCCESS = 4

Show FATAL warnings. Level 4.

INFO = 5

Show FATAL warnings. Level 5.

TRACE0 = 6

Show FATAL warnings. Level 6.

TRACE1 = 7

Show FATAL warnings. Level 7.

TRACE2 = 8

Show FATAL warnings. Level 8.

class netlab.enums.TimeFormat
HOUR12 = '12'

12 Hour (am/pm)

HOUR24 = '24'

24 Hour

class netlab.enums.DateFormat
CHINESE = 'CHINESE'

YYYY M D

DAY_MDY = 'DAY_MDY'

Day Mon D, YYYY

DD_MMM_YYYY = 'DD_MMM_YYYY'

DD-Mon-YYYY

DMY_DOT = 'DMY_DOT'

DD.MM.YYYY

DMY_HYPHEN = 'DMY_HYPHEN'

DD-MM-YYYY

DMY_SLASH = 'DMY_SLASH'

DD/MM/YYYY

DMY_SPACE = 'DMY_SPACE'

DD MM YYYY

ISO = 'ISO'

YYYY-MM-DD

JAPANESE = 'JAPANESE'

YYYY MM DD

MDY_SLASH = 'MDY_SLASH'

MM/DD/YYYY

class netlab.enums.AccountType

Account type.

ADMIN = 'Z'

Admin

INSTRUCTOR = 'I'

Instructor

STUDENT = 'S'

Student

class netlab.enums.ClassEmailLogs

Email reservation logs for real equipment pods.

INSTRUCTOR = 'P'

Email to primary instructor.

NO = 'N'

Don’t email logs.

class netlab.enums.ClassLabLimit

Lab limit settings.

ENFORCE = 'E'

Enforce class lab limit.

INSTRUCTOR = 'I'

Instructor override.

class netlab.enums.PCIcon

Icon Identifier

PC = 'P'

PC

SERVER = 'S'

Server

class netlab.enums.PCType

PC Type.

ABSENT = 'ABSENT'

PC is absent.

AVMI = 'AVMI'

PC is in virtual machine inventory.

class netlab.enums.PLIcon

Pod design PC icon identifier.

PC = 'P'

PC

SERVER = 'S'

Server

class netlab.enums.PodCategory

Pod category type.

EPHEMERAL_VM = 'EV'

Ephemeral VM Pod

MASTER_VM = 'MV'

Master VM Pod

NORMAL_VM = 'NV'

Normal VM Pod

PERSISTENT_VM = 'PV'

Persistent VM Pod

REAL_EQUIPMENT = 'RE'

Real Equipment Pod (i.e. Cisco Equipment)

class netlab.enums.PodState

PC Pod State

OFFLINE = 'OFFLINE'

Offline

ONLINE = 'ONLINE'

Online.

RESUME = 'RESUME'

Resume

class netlab.enums.RemoveVMS
DATACENTER = 'DATACENTER'

Datacenter

DISK = 'DISK'

Disk

LOCAL = 'LOCAL'

Local

NONE = 'NONE'

None

class netlab.enums.VirtualHostComPath

Virtual host communication path.

INSIDE = 'INSIDE'

Communication will be done on the INSIDE (169.254.0.x) network.

OUTSIDE = 'OUTSIDE'

Communication will be done on the OUTSIDE network.

class netlab.enums.VirtualMachineRole

Virtual machine role in NETLAB+ inventory.

MASTER = 'MASTER'

Virtual machine is often associated with the Master Pod. Additional protections are in place to prevent accidental removal.

NORMAL = 'NORMAL'

Virtual machine will typically revert to snapshot after reservation.

PERSISTENT = 'PERSISTENT'

Virtual machine will not revert to snapshot after reservation.

TEMPLATE = 'TEMPLATE'

Pristine virtual machine image used as the basis for cloning many virtual machines. Template VMs cannot be powered on, modified, or assigned to pods.

class netlab.enums.ReservationType
ILT_CLASS = 'C'

ILT class

INDIVIDUAL = 'S'

Individual reservation type.

INSTRUCTOR = 'I'

Instructor

TEAM = 'T'

Team

class netlab.enums.ReservationScope

Reservation scope.

ALL = 'ALL'

All reservations.

CLASS = 'CLASS'

Relevant to your class.

COMMUNITY = 'COMMUNITY'

Relevant to the community.

RELEVANT = 'RELEVANT'

Relevant to caller, i.e. reservations associated with you in context to user role.

class netlab.enums.AccountPrivileges
COMWIDE = 'COMWIDE'

Community Administrator.

LAB_DESIGNER = 'LAB_DESIGNER'

Allows use of Lab Designer.

POD_DESIGNER = 'POD_DESIGNER'

Allows use of Pod Designer.

SYSWIDE = 'SYSWIDE'

Systemwide Administrator.

class netlab.enums.AccountType

Account type.

ADMIN = 'Z'

Admin

INSTRUCTOR = 'I'

Instructor

STUDENT = 'S'

Student

class netlab.enums.InitConfig

Initial configuration.

EXERCISE = 'E'

Load default for exercise (if any).

LAST = 'L'

Load last saved config (if any).

NONE = 'N'

No configs loaded.

class netlab.enums.PowerState

Remote PC power state change.

GUEST_CRASHED = 'GUEST_CRASHED'

Guest O/S has crashed

GUEST_REBOOT = 'GUEST_REBOOT'

Guest O/S reboot started (graceful reboot)

GUEST_SHUTDOWN = 'GUEST_SHUTDOWN'

Guest O/S shutdown started (graceful shutdown)

POWERED_OFF = 'POWER_OFF'

Remote PC has powered off.

POWERED_ON = 'POWERED_ON'

Remote PC has powered on.

RESET_STARTED = 'RESET_STARTED'

Remote PC reset started (hard reset)

RESUME_STARTED = 'RESUME_STARTED'

Remote PC resume started (from vmware suspended state)

SUSPENDED = 'SUSPENDED'

Remote PC has suspended (vmware suspended)

SUSPEND_STARTED = 'SUSPEND_STARTED'

Remote PC suspend started (vmware suspend)

UNKNOWN = 'UNKNOWN'

PC state can not be determined

class netlab.enums.CloneStorageAllocation

How to allocate VM image.

ONDEMAND = 'ONDEMAND'

Allocate on demand.

PREALLOCATED = 'PREALLOCATED'

Preallocate.

class netlab.enums.CloneType

How to clone.

FULL = 'FULL'

Complete copy of the virtual machine.

LINKED = 'LINKED'

Delta of a full virtual machine.

class netlab.enums.ClassExtensionSlots

The number of times a reservation can be extended.

COMMUNITY = -1

Use the community setting.

class netlab.enums.CommunityExtensionSlots

The number of times a reservation can be extended.

UNLIMITED = -1

Allow unlimited extensions.