Skip to content

Commit

Permalink
Add the option to not add CABLE_LENGTH to Config DB if the SKU is los…
Browse files Browse the repository at this point in the history
…sy-only
  • Loading branch information
noaOrMlnx committed Nov 10, 2024
1 parent c8e5888 commit 0c78370
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions files/build_templates/buffers_config.j2
Original file line number Diff line number Diff line change
Expand Up @@ -189,6 +189,7 @@ def
{%- endfor %}
{%- set port_names_inactive = port_names_list_inactive | join(',') %}
{
{%- if DEVICE_METADATA is defined and ((DEVICE_METADATA['localhost']['not_lossless'] is not defined) or (DEVICE_METADATA['localhost']['not_lossless'] == 'false')) %}
"CABLE_LENGTH": {
"AZURE": {
{% for port in PORT_ALL %}
Expand All @@ -198,6 +199,7 @@ def
{% endfor %}
}
},
{%- endif %}

{% if defs.generate_buffer_pool_and_profiles is defined %}
{{ defs.generate_buffer_pool_and_profiles() }}
Expand Down

0 comments on commit 0c78370

Please sign in to comment.