diff options
Diffstat (limited to 'scripts/automation/trex_control_plane/stf/trex_status_e.py')
-rwxr-xr-x | scripts/automation/trex_control_plane/stf/trex_status_e.py | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/scripts/automation/trex_control_plane/stf/trex_status_e.py b/scripts/automation/trex_control_plane/stf/trex_status_e.py new file mode 100755 index 00000000..79a25acc --- /dev/null +++ b/scripts/automation/trex_control_plane/stf/trex_status_e.py @@ -0,0 +1,11 @@ +#!/router/bin/python
+
+try:
+ from . import outer_packages
+except:
+ import outer_packages
+from enum import Enum
+
+
+# define the states in which a TRex can hold during its lifetime
+TRexStatus = Enum('TRexStatus', 'Idle Starting Running')
|