Skip to content

Commit

Permalink
[pep8] Fix whitespace errors in firewall.py
Browse files Browse the repository at this point in the history
Just a little cleanup before the patch.
  • Loading branch information
sebageek committed Jan 13, 2025
1 parent 131acb4 commit 15d0a31
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions asr1k_neutron_l3/models/neutron/l3/firewall.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
from asr1k_neutron_l3.models.neutron.l3 import access_list
from asr1k_neutron_l3.models.netconf_yang.class_map import ClassMap as ncClassMap
from asr1k_neutron_l3.models.netconf_yang.parameter_map \
import ParameterMapInspectGlobalVrf as ncParameterMapInspectGlobalVrf
import ParameterMapInspectGlobalVrf as ncParameterMapInspectGlobalVrf
from asr1k_neutron_l3.models.netconf_yang.service_policy import ServicePolicy as ncServicePolicy
from asr1k_neutron_l3.models.netconf_yang.service_policy import ServicePolicyClass as ncServicePolicyClass
from asr1k_neutron_l3.models.netconf_yang.zone import Zone as ncZone
Expand Down Expand Up @@ -53,9 +53,9 @@ class AccessList(FirewallPolicyMixin, access_list.AccessList):
PREFIX = const.FWAAS_ACL_PREFIX

ACTIONS = {
'allow': 'permit',
'deny': 'deny',
'reject': 'deny',
'allow': 'permit',
'deny': 'deny',
'reject': 'deny',
}

MIMIC_STATEFUL_RULES = [
Expand Down Expand Up @@ -173,7 +173,7 @@ def service_policy(self):
@property
def _rest_definition(self):
return ncZonePair(id=self.id, source=self.source, destination=self.destination,
service_policy=self.service_policy)
service_policy=self.service_policy)


class ZonePairExtEgress(ZonePair):
Expand Down

0 comments on commit 15d0a31

Please sign in to comment.