Merge branch 'step02-models' into step03-tables

This commit is contained in:
jeremystretch 2022-04-05 20:48:19 -04:00
commit ba063bc15b

View File

@ -8,20 +8,20 @@ from utilities.choices import ChoiceSet
class ActionChoices(ChoiceSet):
key = 'AccessListRule.action'
CHOICES = (
CHOICES = [
('permit', 'Permit', 'green'),
('deny', 'Deny', 'red'),
('reject', 'Reject (Reset)', 'orange'),
)
]
class ProtocolChoices(ChoiceSet):
CHOICES = (
CHOICES = [
('tcp', 'TCP', 'blue'),
('udp', 'UDP', 'orange'),
('icmp', 'ICMP', 'purple'),
)
]
class AccessList(NetBoxModel):