Merge branch 'step06-templates' into step07-navigation

This commit is contained in:
jeremystretch 2022-04-05 20:49:18 -04:00
commit 865abd077e

View File

@ -9,20 +9,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):