File tree 7 files changed +30
-3
lines changed
x86_64-arista_7050cx3_32s
7 files changed +30
-3
lines changed Original file line number Diff line number Diff line change
1
+ {# Construct config.bcm to include additional soc properties per specific device metadata requirement #}
2
+ {% - set map_prio = '' -%}
3
+ {% - if DEVICE_METADATA is defined and DEVICE_METADATA ['localhost' ] is defined and DEVICE_METADATA ['localhost' ]['subtype' ] is defined -%}
4
+ {% - set switch_subtype = DEVICE_METADATA ['localhost' ]['subtype' ] -%}
5
+ {% - if 'dualtor' in switch_subtype .lower () %}
6
+ {% - set map_prio = 'sai_remap_prio_on_tnl_egress=1' -%}
7
+ {% - endif %}
8
+ {% - endif %}
1
9
sai_load_hw_config=/etc/bcm/flex/bcm56870_a0_premium_issu/b870.6.4.1/
2
10
l3_alpm_hit_skip=1
3
11
sai_adjust_acl_drop_in_rx_drop=1
12
+ {{ map_prio }}
4
13
host_as_route_disable=1
5
14
use_all_splithorizon_groups=1
6
15
riot_enable=1
Original file line number Diff line number Diff line change 1
- SAI_INIT_CONFIG_FILE=/usr/share/sonic/hwsku/td3-a7050cx3-32s-32x100G. config.bcm
1
+ SAI_INIT_CONFIG_FILE=/etc/sai.d/ config.bcm
2
2
SAI_NUM_ECMP_MEMBERS=64
Original file line number Diff line number Diff line change
1
+ {# Construct config.bcm to include additional soc properties per specific device metadata requirement #}
2
+ {% - set map_prio = '' -%}
3
+ {% - if DEVICE_METADATA is defined and DEVICE_METADATA ['localhost' ] is defined and DEVICE_METADATA ['localhost' ]['subtype' ] is defined -%}
4
+ {% - set switch_subtype = DEVICE_METADATA ['localhost' ]['subtype' ] -%}
5
+ {% - if 'dualtor' in switch_subtype .lower () %}
6
+ {% - set map_prio = 'sai_remap_prio_on_tnl_egress=1' -%}
7
+ {% - endif %}
8
+ {% - endif %}
1
9
sai_load_hw_config=/etc/bcm/flex/bcm56870_a0_premium_issu/b870.6.4.1/
2
10
l3_alpm_hit_skip=1
3
11
sai_adjust_acl_drop_in_rx_drop=1
12
+ {{ map_prio }}
4
13
host_as_route_disable=1
5
14
use_all_splithorizon_groups=1
6
15
riot_enable=1
Original file line number Diff line number Diff line change 1
- SAI_INIT_CONFIG_FILE=/usr/share/sonic/hwsku/td3-a7050cx3-32s-48x50G+8x100G. config.bcm
1
+ SAI_INIT_CONFIG_FILE=/etc/sai.d/ config.bcm
2
2
SAI_NUM_ECMP_MEMBERS=64
Original file line number Diff line number Diff line change 1
1
{# Construct config.bcm to include additional soc properties per specific device metadata requirement #}
2
2
{% - set mmu_sock = 'mmu_init_config="MSFT-TH2-Tier1"' -%}
3
3
{% - set IPinIP_sock = '' -%}
4
+ {% - set map_prio = '' -%}
4
5
{% - if DEVICE_METADATA is defined and DEVICE_METADATA ['localhost' ] is defined -%}
5
6
{% - if DEVICE_METADATA ['localhost' ]['type' ] is defined -%}
6
7
{% - set switch_role = DEVICE_METADATA ['localhost' ]['type' ] -%}
15
16
sai_tunnel_underlay_route_mode=1
16
17
host_as_route_disable=1
17
18
l3_ecmp_levels=2' -%}
19
+ {% - set map_prio = 'sai_remap_prio_on_tnl_egress=1' -%}
18
20
{% - endif %}
19
21
{% - endif %}
20
22
{% - endif %}
21
23
{# The following is the common soc properties that used to be named "th2-a7260cx3-64-64x100G-t1.config.bcm" #}
22
24
23
25
l3_alpm_hit_skip=1
24
26
sai_adjust_acl_drop_in_rx_drop=1
27
+ {{ map_prio }}
25
28
PHY_AN_ALLOW_PLL_CHANGE=1
26
29
arl_clean_timeout_usec=15000000
27
30
asf_mem_profile=2
Original file line number Diff line number Diff line change 1
1
{# Construct config.bcm to include additional soc properties per specific device metadata requirement #}
2
2
{% - set IPinIP_sock = '' -%}
3
+ {% - set map_prio = '' -%}
3
4
{% - if DEVICE_METADATA is defined and DEVICE_METADATA ['localhost' ] is defined and DEVICE_METADATA ['localhost' ]['subtype' ] is defined -%}
4
5
{% - set switch_subtype = DEVICE_METADATA ['localhost' ]['subtype' ] -%}
5
6
{% - if 'dualtor' in switch_subtype .lower () %}
6
7
{% - set IPinIP_sock = 'sai_tunnel_support=1
7
8
sai_tunnel_underlay_route_mode=1
8
9
host_as_route_disable=1
9
- l3_ecmp_levels=2' -%}
10
+ l3_ecmp_levels=2' -%} -%}
11
+ {% - set map_prio = 'sai_remap_prio_on_tnl_egress=1' -%}
10
12
{% - endif %}
11
13
{% - endif %}
12
14
{# The following is the common soc properties that used to be named "th2-a7260cx3-64-112x50G+8x100G.config.bcm" #}
13
15
l3_alpm_hit_skip=1
14
16
sai_adjust_acl_drop_in_rx_drop=1
17
+ {{ map_prio }}
15
18
PHY_AN_ALLOW_PLL_CHANGE=1
16
19
arl_clean_timeout_usec=15000000
17
20
asf_mem_profile=2
Original file line number Diff line number Diff line change 1
1
{# Construct config.bcm to include additional soc properties per specific device metadata requirement #}
2
2
{% - set mmu_sock = 'mmu_init_config="MSFT-TH2-Tier1"' -%}
3
3
{% - set IPinIP_sock = '' -%}
4
+ {% - set map_prio = '' -%}
4
5
{% - if DEVICE_METADATA is defined and DEVICE_METADATA ['localhost' ] is defined -%}
5
6
{% - if DEVICE_METADATA ['localhost' ]['type' ] is defined -%}
6
7
{% - set switch_role = DEVICE_METADATA ['localhost' ]['type' ] -%}
15
16
sai_tunnel_underlay_route_mode=1
16
17
host_as_route_disable=1
17
18
l3_ecmp_levels=2' -%}
19
+ {% - set map_prio = 'sai_remap_prio_on_tnl_egress=1' -%}
18
20
{% - endif %}
19
21
{% - endif %}
20
22
{% - endif %}
21
23
{# The following is the common soc properties that used to be named "th2-a7260cx3-64-64x40G.config.bcm" #}
22
24
l3_alpm_hit_skip=1
23
25
sai_adjust_acl_drop_in_rx_drop=1
26
+ {{ map_prio }}
24
27
PHY_AN_ALLOW_PLL_CHANGE=1
25
28
arl_clean_timeout_usec=15000000
26
29
asf_mem_profile=2
You can’t perform that action at this time.
0 commit comments