Enumerations¶
-
class
netlab.enums.
HDRSeverity
(value)¶ -
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.
DateFormat
(value)¶ -
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
(value)¶ Account type.
-
ADMIN
= 'Z'¶ Admin
-
INSTRUCTOR
= 'I'¶ Instructor
-
STUDENT
= 'S'¶ Student
-
-
class
netlab.enums.
ClassEmailLogs
(value)¶ Email reservation logs for real equipment pods.
-
INSTRUCTOR
= 'P'¶ Email to primary instructor.
-
NO
= 'N'¶ Don’t email logs.
-
-
class
netlab.enums.
ClassLabLimit
(value)¶ Lab limit settings.
-
ENFORCE
= 'E'¶ Enforce class lab limit.
-
INSTRUCTOR
= 'I'¶ Instructor override.
-
-
class
netlab.enums.
PCType
(value)¶ PC Type.
-
ABSENT
= 'ABSENT'¶ PC is absent.
-
AVMI
= 'AVMI'¶ PC is in virtual machine inventory.
-
-
class
netlab.enums.
PodCategory
(value)¶ 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
(value)¶ PC Pod State
-
OFFLINE
= 'OFFLINE'¶ Offline
-
ONLINE
= 'ONLINE'¶ Online.
-
RESUME
= 'RESUME'¶ Resume
-
-
class
netlab.enums.
RemoveVMS
(value)¶ -
DATACENTER
= 'DATACENTER'¶ Datacenter
-
DISK
= 'DISK'¶ Disk
-
LOCAL
= 'LOCAL'¶ Local
-
NONE
= 'NONE'¶ None
-
-
class
netlab.enums.
VirtualHostComPath
(value)¶ 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
(value)¶ 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
(value)¶ -
ILT_CLASS
= 'C'¶ ILT class
-
INDIVIDUAL
= 'S'¶ Individual reservation type.
-
INSTRUCTOR
= 'I'¶ Instructor
-
TEAM
= 'T'¶ Team
-
-
class
netlab.enums.
ReservationScope
(value)¶ 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
(value)¶ -
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
(value)¶ Account type.
-
ADMIN
= 'Z'¶ Admin
-
INSTRUCTOR
= 'I'¶ Instructor
-
STUDENT
= 'S'¶ Student
-
-
class
netlab.enums.
InitConfig
(value)¶ 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
(value)¶ 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
(value)¶ How to allocate VM image.
-
ONDEMAND
= 'ONDEMAND'¶ Allocate on demand.
-
PREALLOCATED
= 'PREALLOCATED'¶ Preallocate.
-
-
class
netlab.enums.
CloneType
(value)¶ How to clone.
-
FULL
= 'FULL'¶ Complete copy of the virtual machine.
-
LINKED
= 'LINKED'¶ Delta of a full virtual machine.
-