diff options
author | Hanoh Haim <hhaim@cisco.com> | 2015-06-24 14:03:29 +0300 |
---|---|---|
committer | Hanoh Haim <hhaim@cisco.com> | 2015-06-24 14:03:29 +0300 |
commit | 8b52a31ed2c299b759f330c4f976b9c70f5765f4 (patch) | |
tree | 9d6da5438b5b56b1d2d57e6c13494b4e65d000e7 /scripts/automation/trex_control_plane/common/trex_status_e.py |
first version
Diffstat (limited to 'scripts/automation/trex_control_plane/common/trex_status_e.py')
-rwxr-xr-x | scripts/automation/trex_control_plane/common/trex_status_e.py | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/scripts/automation/trex_control_plane/common/trex_status_e.py b/scripts/automation/trex_control_plane/common/trex_status_e.py new file mode 100755 index 00000000..34db9b39 --- /dev/null +++ b/scripts/automation/trex_control_plane/common/trex_status_e.py @@ -0,0 +1,8 @@ +#!/router/bin/python
+
+# import outer_packages
+from enum import Enum
+
+
+# define the states in which a T-Rex can hold during its lifetime
+TRexStatus = Enum('TRexStatus', 'Idle Starting Running')
|