Skip to content

Commit

Permalink
Remove comments.
Browse files Browse the repository at this point in the history
  • Loading branch information
Laxmikant Chintakindi authored and Laxmikant Chintakindi committed Jul 26, 2024
1 parent 23f74c0 commit 6699db2
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -689,7 +689,7 @@ def _filtered_internet_exit_policy_types(self: AvdStructuredConfigNetworkService
@cached_property
def _l3_interface_acls(self: AvdStructuredConfigNetworkServices):
"""
Returns a dict of interfaces and acls assigned to the interfaces.
Returns a dict of interfaces and ACLs set on the interfaces.
{
<interface_name>: {
"ipv4_acl_in": <generated_ipv4_acl>,
Expand Down Expand Up @@ -717,8 +717,6 @@ def _l3_interface_acls(self: AvdStructuredConfigNetworkServices):
interface_ip = str(ipaddress.ip_interface(interface_ip).ip)
node = l3_interface["nodes"][interface_idx]
if node == self.shared_utils.hostname:
# if node not in l3_interface_acls:
# l3_interface_acls[node] = {}
if ipv4_acl_in is not None:
l3_interface_acls.setdefault(interface_name, {})["ipv4_acl_in"] = self.shared_utils.get_ipv4_acl(
name=ipv4_acl_in,
Expand Down

0 comments on commit 6699db2

Please sign in to comment.