added network policy enum to avoid string usage
This commit is contained in:
parent
8ad3f7961a
commit
73a5567084
2 changed files with 28 additions and 17 deletions
|
@ -117,3 +117,8 @@ class ExceptionLevels(Enum):
|
|||
ERROR = 2
|
||||
WARNING = 3
|
||||
NOTICE = 4
|
||||
|
||||
|
||||
class NetworkPolicy(Enum):
|
||||
ACCEPT = "ACCEPT"
|
||||
DROP = "DROP"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue