Skip to content

Commit

Permalink
eos: fix breaking linebreak in mac acls
Browse files Browse the repository at this point in the history
  • Loading branch information
liske committed Feb 24, 2024
1 parent 88df7f0 commit 266e8f9
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions templates/eos/DCS-MACROS.j2
Original file line number Diff line number Diff line change
Expand Up @@ -93,11 +93,9 @@ interface {{ iface }}
{% if peer.l2address %}
mac access-list peer-eth{{ ifnum }}
10 remark AS{{ peer.asn }} allow arp broadcast
11 permit vlan 600 0x000 {{ peer.l2address|ansible.utils.hwaddr('linux') }} 00:00:00:00:00:00
ff:ff:ff:ff:ff:ff 00:00:00:00:00:00 arp
11 permit vlan 600 0x000 {{ peer.l2address|ansible.utils.hwaddr('linux') }} 00:00:00:00:00:00 ff:ff:ff:ff:ff:ff 00:00:00:00:00:00 arp
20 remark AS{{ peer.asn }} allow nd multicast
21 permit vlan 600 0x000 {{ peer.l2address|ansible.utils.hwaddr('linux') }} 00:00:00:00:00:00
33:33:ff:00:00:00 00:00:00:ff:ff:ff ipv6
21 permit vlan 600 0x000 {{ peer.l2address|ansible.utils.hwaddr('linux') }} 00:00:00:00:00:00 33:33:ff:00:00:00 00:00:00:ff:ff:ff ipv6
{% else %}
10 remark AS{{ peer.asn }} peer has no l2address
20 remark AS{{ peer.asn }} peer has no l2address
Expand Down

0 comments on commit 266e8f9

Please sign in to comment.