forked from p34709852/monkey
Common: Add PortStatus enum
This commit is contained in:
parent
725c6d9419
commit
c32013bf87
|
@ -8,3 +8,4 @@ from . import types
|
|||
from . import base_models
|
||||
from .agent_registration_data import AgentRegistrationData
|
||||
from .agent_signals import AgentSignals
|
||||
from .port_status import PortStatus
|
||||
|
|
|
@ -0,0 +1,13 @@
|
|||
from enum import Enum
|
||||
|
||||
|
||||
class PortStatus(Enum):
|
||||
"""
|
||||
An Enum representing the status of the port.
|
||||
|
||||
This Enum represents the status of a network pork. The value of each
|
||||
member is distincive and unique number.
|
||||
"""
|
||||
|
||||
OPEN = 1
|
||||
CLOSED = 2
|
Loading…
Reference in New Issue