2021-06-17 12:04:38 -05:00
|
|
|
{% set default_cable = '5m' %}
|
2022-06-21 12:04:49 -05:00
|
|
|
{%- if ((SYSTEM_DEFAULTS is defined) and ('tunnel_qos_remap' in SYSTEM_DEFAULTS) and (SYSTEM_DEFAULTS['tunnel_qos_remap']['status'] == 'enabled')) -%}
|
|
|
|
{% set ingress_lossless_pool_size = '44130304' %}
|
|
|
|
{% set ingress_lossless_pool_xoff = '8790016' %}
|
|
|
|
{% set egress_lossless_pool_size = '60817392' %}
|
|
|
|
{% set egress_lossy_pool_size = '44130304' %}
|
|
|
|
{%- else -%}
|
2021-12-08 07:51:33 -06:00
|
|
|
{% set ingress_lossless_pool_size = '48332800' %}
|
2021-12-20 15:31:45 -06:00
|
|
|
{% set ingress_lossless_pool_xoff = '5275648' %}
|
2021-07-29 10:21:28 -05:00
|
|
|
{% set egress_lossless_pool_size = '60817392' %}
|
2021-12-08 07:51:33 -06:00
|
|
|
{% set egress_lossy_pool_size = '48332800' %}
|
2022-06-21 12:04:49 -05:00
|
|
|
{%- endif -%}
|
2021-06-17 12:04:38 -05:00
|
|
|
|
2021-12-09 09:34:56 -06:00
|
|
|
{% import 'buffers_defaults_objects.j2' as defs with context %}
|
2021-06-17 12:04:38 -05:00
|
|
|
|
2021-12-09 09:34:56 -06:00
|
|
|
{%- macro generate_buffer_pool_and_profiles_with_inactive_ports(port_names_inactive) %}
|
|
|
|
{{ defs.generate_buffer_pool_and_profiles_with_inactive_ports(port_names_inactive) }}
|
2021-06-17 12:04:38 -05:00
|
|
|
{%- endmacro %}
|
|
|
|
|
2021-12-09 09:34:56 -06:00
|
|
|
{%- macro generate_profile_lists_with_inactive_ports(port_names_active, port_names_inactive) %}
|
|
|
|
{{ defs.generate_profile_lists(port_names_active, port_names_inactive) }}
|
2021-06-17 12:04:38 -05:00
|
|
|
{%- endmacro %}
|
|
|
|
|
2022-06-21 12:04:49 -05:00
|
|
|
{%- macro generate_queue_buffers_with_extra_lossless_queues_with_inactive_ports(port_names_active, port_names_extra_queues, port_names_inactive) %}
|
|
|
|
{{ defs.generate_queue_buffers_with_extra_lossless_queues(port_names_active, port_names_extra_queues, port_names_inactive) }}
|
|
|
|
{%- endmacro %}
|
|
|
|
|
2021-12-09 09:34:56 -06:00
|
|
|
{%- macro generate_queue_buffers_with_inactive_ports(port_names_active, port_names_inactive) %}
|
|
|
|
{{ defs.generate_queue_buffers(port_names_active, port_names_inactive) }}
|
2021-06-17 12:04:38 -05:00
|
|
|
{%- endmacro %}
|
|
|
|
|
2022-06-21 12:04:49 -05:00
|
|
|
{%- macro generate_pg_profiles_with_extra_lossless_pgs_with_inactive_ports(port_names_active, port_names_extra_pgs, port_names_inactive) %}
|
|
|
|
{{ defs.generate_pg_profiles_with_extra_lossless_pgs(port_names_active, port_names_extra_pgs, port_names_inactive) }}
|
|
|
|
{%- endmacro %}
|
|
|
|
|
2021-12-09 09:34:56 -06:00
|
|
|
{%- macro generate_pg_profiles_with_inactive_ports(port_names_active, port_names_inactive) %}
|
|
|
|
{{ defs.generate_pg_profiles(port_names_active, port_names_inactive) }}
|
|
|
|
{%- endmacro %}
|