Skip to content

Commit 36fa646

Browse files
committed
[device config] Adding configuration for default route fallback
Set sai_tunnel_underlay_route_mode attribute to fallback to default route if more specific route is unavailable.
1 parent 64dc08a commit 36fa646

File tree

14 files changed

+14
-0
lines changed

14 files changed

+14
-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
@@ -5,6 +5,7 @@ host_as_route_disable=1
55
use_all_splithorizon_groups=1
66
riot_enable=1
77
sai_tunnel_support=1
8+
sai_tunnel_underlay_route_mode=1
89
riot_overlay_l3_intf_mem_size=4096
910
riot_overlay_l3_egress_mem_size=32768
1011
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
@@ -5,6 +5,7 @@ host_as_route_disable=1
55
use_all_splithorizon_groups=1
66
riot_enable=1
77
sai_tunnel_support=1
8+
sai_tunnel_underlay_route_mode=1
89
riot_overlay_l3_intf_mem_size=4096
910
riot_overlay_l3_egress_mem_size=32768
1011
l3_ecmp_levels=2

device/arista/x86_64-arista_7050cx3_32s/td3-a7050cx3-32s-flex.config.bcm

+1
Original file line numberDiff line numberDiff line change
@@ -397,6 +397,7 @@ robust_hash_disable_mpls=1
397397
robust_hash_disable_vlan=1
398398
sai_load_hw_config=/etc/bcm/flex/bcm56870_a0_premium_issu/b870.6.4.1/
399399
sai_tunnel_support=1
400+
sai_tunnel_underlay_route_mode=1
400401
serdes_core_rx_polarity_flip_physical{1}=0x8
401402
serdes_core_rx_polarity_flip_physical{5}=0x2
402403
serdes_core_rx_polarity_flip_physical{9}=0xc

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-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 %}

device/dell/x86_64-dellemc_n3248pxe_c3338-r0/DELLEMC-N3248PXE/td3-x5-n3248pxe-48x10GCU+4x25G-2x100G.config.bcm

+1
Original file line numberDiff line numberDiff line change
@@ -349,6 +349,7 @@ l3_mem_entries=40960
349349
#Tunnels
350350
use_all_splithorizon_groups=1
351351
sai_tunnel_support=1
352+
sai_tunnel_underlay_route_mode=1
352353
bcm_tunnel_term_compatible_mode=1
353354

354355
#RIOT Enable

device/dell/x86_64-dellemc_s5212f_c3538-r0/DellEMC-S5212f-P-25G/td3-s5212f-25g.config.bcm

+1
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,7 @@ l3_mem_entries=40960
127127
#Tunnels
128128
use_all_splithorizon_groups=1
129129
sai_tunnel_support=1
130+
sai_tunnel_underlay_route_mode=1
130131
bcm_tunnel_term_compatible_mode=1
131132

132133
#RIOT Enable

device/dell/x86_64-dellemc_s5224f_c3538-r0/DellEMC-S5224f-P-25G/td3-s5224f-25g.config.bcm

+1
Original file line numberDiff line numberDiff line change
@@ -203,6 +203,7 @@ l3_mem_entries=40960
203203
#Tunnels
204204
use_all_splithorizon_groups=1
205205
sai_tunnel_support=1
206+
sai_tunnel_underlay_route_mode=1
206207
bcm_tunnel_term_compatible_mode=1
207208

208209
ptp_ts_pll_fref=50000000

device/quanta/x86_64-quanta_ix7_bwde-r0/Quanta-IX7-BWDE-32X/l3/config

+1
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,4 @@ l3_mem_entries=40960
33
l3_alpm_enable=2
44
use_all_splithorizon_groups=1
55
sai_tunnel_support=1
6+
sai_tunnel_underlay_route_mode=1

device/quanta/x86_64-quanta_ix7_rglbmc-r0/Quanta-IX7-32X/l3/config

+1
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,4 @@ l3_mem_entries=40960
33
l3_alpm_enable=2
44
use_all_splithorizon_groups=1
55
sai_tunnel_support=1
6+
sai_tunnel_underlay_route_mode=1

device/quanta/x86_64-quanta_ix8_rglbmc-r0/Quanta-IX8-56X/l3/config

+1
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,4 @@ l3_mem_entries=40960
33
l3_alpm_enable=2
44
use_all_splithorizon_groups=1
55
sai_tunnel_support=1
6+
sai_tunnel_underlay_route_mode=1

device/quanta/x86_64-quanta_ix8a_bwde-r0/Quanta-IX8A-BWDE-56X/l3/config

+1
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,4 @@ l3_mem_entries=40960
33
l3_alpm_enable=2
44
use_all_splithorizon_groups=1
55
sai_tunnel_support=1
6+
sai_tunnel_underlay_route_mode=1

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)