[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 <ndancejic@microsoft.com>
This commit is contained in:
parent
a07930bead
commit
602c8e99dc
@ -6,6 +6,7 @@ host_as_route_disable=1
|
|||||||
use_all_splithorizon_groups=1
|
use_all_splithorizon_groups=1
|
||||||
riot_enable=1
|
riot_enable=1
|
||||||
sai_tunnel_support=1
|
sai_tunnel_support=1
|
||||||
|
sai_tunnel_underlay_route_mode=1
|
||||||
riot_overlay_l3_intf_mem_size=4096
|
riot_overlay_l3_intf_mem_size=4096
|
||||||
riot_overlay_l3_egress_mem_size=32768
|
riot_overlay_l3_egress_mem_size=32768
|
||||||
l3_ecmp_levels=2
|
l3_ecmp_levels=2
|
||||||
|
@ -6,6 +6,7 @@ host_as_route_disable=1
|
|||||||
use_all_splithorizon_groups=1
|
use_all_splithorizon_groups=1
|
||||||
riot_enable=1
|
riot_enable=1
|
||||||
sai_tunnel_support=1
|
sai_tunnel_support=1
|
||||||
|
sai_tunnel_underlay_route_mode=1
|
||||||
riot_overlay_l3_intf_mem_size=4096
|
riot_overlay_l3_intf_mem_size=4096
|
||||||
riot_overlay_l3_egress_mem_size=32768
|
riot_overlay_l3_egress_mem_size=32768
|
||||||
l3_ecmp_levels=2
|
l3_ecmp_levels=2
|
||||||
|
@ -12,6 +12,7 @@
|
|||||||
{%- set switch_subtype = DEVICE_METADATA['localhost']['subtype'] -%}
|
{%- set switch_subtype = DEVICE_METADATA['localhost']['subtype'] -%}
|
||||||
{%- if 'dualtor' in switch_subtype.lower() %}
|
{%- if 'dualtor' in switch_subtype.lower() %}
|
||||||
{%- set IPinIP_sock = 'sai_tunnel_support=1
|
{%- set IPinIP_sock = 'sai_tunnel_support=1
|
||||||
|
sai_tunnel_underlay_route_mode=1
|
||||||
host_as_route_disable=1
|
host_as_route_disable=1
|
||||||
l3_ecmp_levels=2' -%}
|
l3_ecmp_levels=2' -%}
|
||||||
{%- endif %}
|
{%- endif %}
|
||||||
|
@ -4,6 +4,7 @@
|
|||||||
{%- set switch_subtype = DEVICE_METADATA['localhost']['subtype'] -%}
|
{%- set switch_subtype = DEVICE_METADATA['localhost']['subtype'] -%}
|
||||||
{%- if 'dualtor' in switch_subtype.lower() %}
|
{%- if 'dualtor' in switch_subtype.lower() %}
|
||||||
{%- set IPinIP_sock = 'sai_tunnel_support=1
|
{%- set IPinIP_sock = 'sai_tunnel_support=1
|
||||||
|
sai_tunnel_underlay_route_mode=1
|
||||||
host_as_route_disable=1
|
host_as_route_disable=1
|
||||||
l3_ecmp_levels=2' -%}
|
l3_ecmp_levels=2' -%}
|
||||||
{%- endif %}
|
{%- endif %}
|
||||||
|
@ -4,6 +4,7 @@
|
|||||||
{%- set switch_subtype = DEVICE_METADATA['localhost']['subtype'] -%}
|
{%- set switch_subtype = DEVICE_METADATA['localhost']['subtype'] -%}
|
||||||
{%- if 'dualtor' in switch_subtype.lower() %}
|
{%- if 'dualtor' in switch_subtype.lower() %}
|
||||||
{%- set IPinIP_sock = 'sai_tunnel_support=1
|
{%- set IPinIP_sock = 'sai_tunnel_support=1
|
||||||
|
sai_tunnel_underlay_route_mode=1
|
||||||
host_as_route_disable=1
|
host_as_route_disable=1
|
||||||
l3_ecmp_levels=2' -%}
|
l3_ecmp_levels=2' -%}
|
||||||
{%- endif %}
|
{%- endif %}
|
||||||
|
@ -12,6 +12,7 @@
|
|||||||
{%- set switch_subtype = DEVICE_METADATA['localhost']['subtype'] -%}
|
{%- set switch_subtype = DEVICE_METADATA['localhost']['subtype'] -%}
|
||||||
{%- if 'dualtor' in switch_subtype.lower() %}
|
{%- if 'dualtor' in switch_subtype.lower() %}
|
||||||
{%- set IPinIP_sock = 'sai_tunnel_support=1
|
{%- set IPinIP_sock = 'sai_tunnel_support=1
|
||||||
|
sai_tunnel_underlay_route_mode=1
|
||||||
host_as_route_disable=1
|
host_as_route_disable=1
|
||||||
l3_ecmp_levels=2' -%}
|
l3_ecmp_levels=2' -%}
|
||||||
{%- endif %}
|
{%- endif %}
|
||||||
|
@ -2,6 +2,7 @@ sai_trap_group_priority
|
|||||||
use_all_splithorizon_groups
|
use_all_splithorizon_groups
|
||||||
riot_enable
|
riot_enable
|
||||||
sai_tunnel_support
|
sai_tunnel_support
|
||||||
|
sai_tunnel_underlay_route_mode
|
||||||
riot_overlay_l3_intf_mem_size
|
riot_overlay_l3_intf_mem_size
|
||||||
riot_overlay_l3_egress_mem_size
|
riot_overlay_l3_egress_mem_size
|
||||||
l3_ecmp_levels
|
l3_ecmp_levels
|
||||||
|
Reference in New Issue
Block a user