summaryrefslogtreecommitdiffstats
path: root/scripts/automation/trex_control_plane/common/trex_status_e.py
blob: fbfe92af5084e6d994790884ef68e36eb5482226 (plain)
1
2
3
4
5
6
7
8
#!/router/bin/python

import outer_packages  # import this to overcome doc building import error by sphinx
from enum import Enum


# define the states in which a TRex can hold during its lifetime
TRexStatus = Enum('TRexStatus', 'Idle Starting Running')