Skip to content

Commit 602c8e9

Browse files
authored
[device config] Adding configuration for default route fallback (#10692)
Set sai_tunnel_underlay_route_mode attribute to fallback to default route if more specific route is unavailable. Signed-off-by: Nikola Dancejic <[email protected]>
1 parent a07930b commit 602c8e9

File tree

7 files changed

+7
-0
lines changed

7 files changed

+7
-0
lines changed

device/arista/x86_64-arista_7050cx3_32s/Arista-7050CX3-32S-C32/td3-a7050cx3-32s-32x100G.config.bcm

+1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ host_as_route_disable=1
66
use_all_splithorizon_groups=1
77
riot_enable=1
88
sai_tunnel_support=1
9+
sai_tunnel_underlay_route_mode=1
910
riot_overlay_l3_intf_mem_size=4096
1011
riot_overlay_l3_egress_mem_size=32768
1112
l3_ecmp_levels=2

device/arista/x86_64-arista_7050cx3_32s/Arista-7050CX3-32S-D48C8/td3-a7050cx3-32s-48x50G+8x100G.config.bcm

+1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ host_as_route_disable=1
66
use_all_splithorizon_groups=1
77
riot_enable=1
88
sai_tunnel_support=1
9+
sai_tunnel_underlay_route_mode=1
910
riot_overlay_l3_intf_mem_size=4096
1011
riot_overlay_l3_egress_mem_size=32768
1112
l3_ecmp_levels=2

device/arista/x86_64-arista_7260cx3_64/Arista-7260CX3-C64/config.bcm.j2

+1
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
{%- set switch_subtype = DEVICE_METADATA['localhost']['subtype'] -%}
1313
{%- if 'dualtor' in switch_subtype.lower() %}
1414
{%- set IPinIP_sock = 'sai_tunnel_support=1
15+
sai_tunnel_underlay_route_mode=1
1516
host_as_route_disable=1
1617
l3_ecmp_levels=2' -%}
1718
{%- endif %}

device/arista/x86_64-arista_7260cx3_64/Arista-7260CX3-D108C8/config.bcm.j2

+1
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
{%- set switch_subtype = DEVICE_METADATA['localhost']['subtype'] -%}
55
{%- if 'dualtor' in switch_subtype.lower() %}
66
{%- set IPinIP_sock = 'sai_tunnel_support=1
7+
sai_tunnel_underlay_route_mode=1
78
host_as_route_disable=1
89
l3_ecmp_levels=2' -%}
910
{%- endif %}

device/arista/x86_64-arista_7260cx3_64/Arista-7260CX3-D96C16/config.bcm.j2

+1
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
{%- set switch_subtype = DEVICE_METADATA['localhost']['subtype'] -%}
55
{%- if 'dualtor' in switch_subtype.lower() %}
66
{%- set IPinIP_sock = 'sai_tunnel_support=1
7+
sai_tunnel_underlay_route_mode=1
78
host_as_route_disable=1
89
l3_ecmp_levels=2' -%}
910
{%- endif %}

device/arista/x86_64-arista_7260cx3_64/Arista-7260CX3-Q64/config.bcm.j2

+1
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
{%- set switch_subtype = DEVICE_METADATA['localhost']['subtype'] -%}
1313
{%- if 'dualtor' in switch_subtype.lower() %}
1414
{%- set IPinIP_sock = 'sai_tunnel_support=1
15+
sai_tunnel_underlay_route_mode=1
1516
host_as_route_disable=1
1617
l3_ecmp_levels=2' -%}
1718
{%- endif %}

src/sonic-device-data/tests/permitted_list

+1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ sai_trap_group_priority
22
use_all_splithorizon_groups
33
riot_enable
44
sai_tunnel_support
5+
sai_tunnel_underlay_route_mode
56
riot_overlay_l3_intf_mem_size
67
riot_overlay_l3_egress_mem_size
78
l3_ecmp_levels

0 commit comments

Comments
 (0)