added network policy enum to avoid string usage

This commit is contained in:
Blake Harnden 2020-05-29 23:22:21 -07:00
parent 8ad3f7961a
commit 73a5567084
2 changed files with 28 additions and 17 deletions

View file

@ -117,3 +117,8 @@ class ExceptionLevels(Enum):
ERROR = 2
WARNING = 3
NOTICE = 4
class NetworkPolicy(Enum):
ACCEPT = "ACCEPT"
DROP = "DROP"