Common: Add PortStatus enum

This commit is contained in:
Ilija Lazoroski 2022-09-29 18:34:01 +02:00 committed by Mike Salvatore
parent 725c6d9419
commit c32013bf87
2 changed files with 14 additions and 0 deletions

View File

@ -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

View File

@ -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