Skip to content

Commit

Permalink
[device config] Adding configuration for default route fallback
Browse files Browse the repository at this point in the history
Set sai_tunnel_underlay_route_mode attribute to fallback to default
route if more specific route is unavailable.
  • Loading branch information
Ndancejic committed Apr 5, 2022
1 parent 64dc08a commit 36fa646
Show file tree
Hide file tree
Showing 14 changed files with 14 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ host_as_route_disable=1
use_all_splithorizon_groups=1
riot_enable=1
sai_tunnel_support=1
sai_tunnel_underlay_route_mode=1
riot_overlay_l3_intf_mem_size=4096
riot_overlay_l3_egress_mem_size=32768
l3_ecmp_levels=2
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ host_as_route_disable=1
use_all_splithorizon_groups=1
riot_enable=1
sai_tunnel_support=1
sai_tunnel_underlay_route_mode=1
riot_overlay_l3_intf_mem_size=4096
riot_overlay_l3_egress_mem_size=32768
l3_ecmp_levels=2
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -397,6 +397,7 @@ robust_hash_disable_mpls=1
robust_hash_disable_vlan=1
sai_load_hw_config=/etc/bcm/flex/bcm56870_a0_premium_issu/b870.6.4.1/
sai_tunnel_support=1
sai_tunnel_underlay_route_mode=1
serdes_core_rx_polarity_flip_physical{1}=0x8
serdes_core_rx_polarity_flip_physical{5}=0x2
serdes_core_rx_polarity_flip_physical{9}=0xc
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
{%- set switch_subtype = DEVICE_METADATA['localhost']['subtype'] -%}
{%- if 'dualtor' in switch_subtype.lower() %}
{%- set IPinIP_sock = 'sai_tunnel_support=1
sai_tunnel_underlay_route_mode=1
host_as_route_disable=1
l3_ecmp_levels=2' -%}
{%- endif %}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
{%- set switch_subtype = DEVICE_METADATA['localhost']['subtype'] -%}
{%- if 'dualtor' in switch_subtype.lower() %}
{%- set IPinIP_sock = 'sai_tunnel_support=1
sai_tunnel_underlay_route_mode=1
host_as_route_disable=1
l3_ecmp_levels=2' -%}
{%- endif %}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
{%- set switch_subtype = DEVICE_METADATA['localhost']['subtype'] -%}
{%- if 'dualtor' in switch_subtype.lower() %}
{%- set IPinIP_sock = 'sai_tunnel_support=1
sai_tunnel_underlay_route_mode=1
host_as_route_disable=1
l3_ecmp_levels=2' -%}
{%- endif %}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -349,6 +349,7 @@ l3_mem_entries=40960
#Tunnels
use_all_splithorizon_groups=1
sai_tunnel_support=1
sai_tunnel_underlay_route_mode=1
bcm_tunnel_term_compatible_mode=1

#RIOT Enable
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,7 @@ l3_mem_entries=40960
#Tunnels
use_all_splithorizon_groups=1
sai_tunnel_support=1
sai_tunnel_underlay_route_mode=1
bcm_tunnel_term_compatible_mode=1

#RIOT Enable
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -203,6 +203,7 @@ l3_mem_entries=40960
#Tunnels
use_all_splithorizon_groups=1
sai_tunnel_support=1
sai_tunnel_underlay_route_mode=1
bcm_tunnel_term_compatible_mode=1

ptp_ts_pll_fref=50000000
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@ l3_mem_entries=40960
l3_alpm_enable=2
use_all_splithorizon_groups=1
sai_tunnel_support=1
sai_tunnel_underlay_route_mode=1
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@ l3_mem_entries=40960
l3_alpm_enable=2
use_all_splithorizon_groups=1
sai_tunnel_support=1
sai_tunnel_underlay_route_mode=1
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@ l3_mem_entries=40960
l3_alpm_enable=2
use_all_splithorizon_groups=1
sai_tunnel_support=1
sai_tunnel_underlay_route_mode=1
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@ l3_mem_entries=40960
l3_alpm_enable=2
use_all_splithorizon_groups=1
sai_tunnel_support=1
sai_tunnel_underlay_route_mode=1
1 change: 1 addition & 0 deletions src/sonic-device-data/tests/permitted_list
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ sai_trap_group_priority
use_all_splithorizon_groups
riot_enable
sai_tunnel_support
sai_tunnel_underlay_route_mode
riot_overlay_l3_intf_mem_size
riot_overlay_l3_egress_mem_size
l3_ecmp_levels
Expand Down

0 comments on commit 36fa646

Please sign in to comment.