Skip to content

Commit

Permalink
Merge pull request #309 from metal-stack/sag_gratuitous_arp_override
Browse files Browse the repository at this point in the history
Allow ARP update after machine migration / MAC address change on interfaces with SAG
  • Loading branch information
mreiger committed Aug 14, 2024
2 parents 1697442 + f779954 commit 36525a9
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,4 @@
.shoot*
__pycache__
.Trash*
*~
7 changes: 7 additions & 0 deletions partition/roles/sonic/templates/metal.yaml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -171,6 +171,13 @@ VLAN_INTERFACE:
{% for vlan in sonic_vlans %}
{% if vlan.vrf is defined %}
Vlan{{ vlan.id }}:
{% if sonic_sag is defined and sonic_sag.vlans is defined %}
{% for sag_vlan in sonic_sag.vlans %}
{% if vlan.id == sag_vlan.id %}
"grat_arp_force_override": "enabled"
{% endif %}
{% endfor %}
{% endif %}
vrf_name: "{{ vlan.vrf }}"
{% else %}
Vlan{{ vlan.id }}: {}
Expand Down
1 change: 1 addition & 0 deletions partition/roles/sonic/test/data/l2_leaf/metal.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -267,6 +267,7 @@ VLAN_INTERFACE:
Vlan1000: {}
Vlan1000|192.168.255.1/24: {}
Vlan1001:
"grat_arp_force_override": "enabled"
vrf_name: "Vrf46"

VLAN_MEMBER:
Expand Down

0 comments on commit 36525a9

Please sign in to comment.