The vmware_nsx.plugins.nsx_v.vshield.tasks.constants
Module¶
-
class
vmware_nsx.plugins.nsx_v.vshield.tasks.constants.
TaskState
¶ Bases:
object
Current state of a task.
This is to keep track of the current state of a task. NONE: the task is still in the queue START: the task is pull out from the queue and is about to be executed EXECUTED: the task has been executed STATUS: we’re running periodic status check for this task RESULT: the task has finished and result is ready
-
EXECUTED
= 1¶
-
NONE
= -1¶
-
RESULT
= 3¶
-
START
= 0¶
-
STATUS
= 2¶
-
-
class
vmware_nsx.plugins.nsx_v.vshield.tasks.constants.
TaskStatus
¶ Bases:
object
Task running status.
This is used by execution/status callback function to notify the task manager what’s the status of current task, and also used for indication the final task execution result.
-
ABORT
= 4¶
-
COMPLETED
= 2¶
-
ERROR
= 3¶
-
PENDING
= 1¶
-