Skip to content

Commit

Permalink
skip ipinip tunnel creation if many interfaces (#21517)
Browse files Browse the repository at this point in the history
skip ipinip tunnel creation if many interfaces
  • Loading branch information
sdszhang authored Jan 25, 2025
1 parent 91e2e27 commit e677676
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions dockers/docker-orchagent/ipinip.json.j2
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,11 @@
{% endfor %}
{%- set ipv4_addresses = ipv4_addresses + ipv4_vlan_addresses %}
{%- set ipv6_addresses = ipv6_addresses + ipv6_vlan_addresses %}
{# FIXME: SAI report tunnel TABLE_FULL for large topo. Disable it temporarily if over 128 IPv4/IPv6 tunnels. #}
{% if ipv4_addresses|length + ipv6_addresses|length > 128 %}
{%- set ipv4_addresses = [] %}
{%- set ipv6_addresses = [] %}
{% endif %}
[
{% if ipv4_loopback_addresses %}
{% if subnet_decap.enable %}
Expand Down

0 comments on commit e677676

Please sign in to comment.