|
| 1 | +{# |
| 2 | + SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES |
| 3 | + Copyright (c) 2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. |
| 4 | + Apache-2.0 |
| 5 | +
|
| 6 | + Licensed under the Apache License, Version 2.0 (the "License"); |
| 7 | + you may not use this file except in compliance with the License. |
| 8 | + You may obtain a copy of the License at |
| 9 | +
|
| 10 | + http://www.apache.org/licenses/LICENSE-2.0 |
| 11 | +
|
| 12 | + Unless required by applicable law or agreed to in writing, software |
| 13 | + distributed under the License is distributed on an "AS IS" BASIS, |
| 14 | + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 15 | + See the License for the specific language governing permissions and |
| 16 | + limitations under the License. |
| 17 | +#} |
| 18 | +{% set default_cable = '0m' %} |
| 19 | +{%-set ports2cable = { |
| 20 | + 'torrouter_server' : '0m', |
| 21 | + 'leafrouter_torrouter' : '0m', |
| 22 | + 'spinerouter_leafrouter' : '0m' |
| 23 | + } |
| 24 | +-%} |
| 25 | +{% set ingress_lossless_pool_size = '108270592' %} |
| 26 | +{% set ingress_lossless_pool_xoff = '0' %} |
| 27 | +{% set egress_lossless_pool_size = '136209408' %} |
| 28 | +{% set egress_lossy_pool_size = '108270592' %} |
| 29 | + |
| 30 | +{% import 'buffers_defaults_objects.j2' as defs with context %} |
| 31 | + |
| 32 | +{%- macro generate_buffer_pool_and_profiles_with_inactive_ports(port_names_inactive) %} |
| 33 | +{{ defs.generate_buffer_pool_and_profiles_with_inactive_ports(port_names_inactive) }} |
| 34 | +{%- endmacro %} |
| 35 | + |
| 36 | +{%- macro generate_profile_lists_with_inactive_ports(port_names_active, port_names_inactive) %} |
| 37 | +{{ defs.generate_profile_lists(port_names_active, port_names_inactive) }} |
| 38 | +{%- endmacro %} |
| 39 | + |
| 40 | +{%- macro generate_queue_buffers_with_extra_lossless_queues_with_inactive_ports(port_names_active, port_names_extra_queues, port_names_inactive) %} |
| 41 | +{{ defs.generate_queue_buffers_with_extra_lossless_queues(port_names_active, port_names_extra_queues, port_names_inactive) }} |
| 42 | +{%- endmacro %} |
| 43 | + |
| 44 | +{%- macro generate_queue_buffers_with_inactive_ports(port_names_active, port_names_inactive) %} |
| 45 | +{{ defs.generate_queue_buffers(port_names_active, port_names_inactive) }} |
| 46 | +{%- endmacro %} |
| 47 | + |
| 48 | +{%- macro generate_pg_profiles_with_extra_lossless_pgs_with_inactive_ports(port_names_active, port_names_extra_pgs, port_names_inactive) %} |
| 49 | +{{ defs.generate_pg_profiles_with_extra_lossless_pgs(port_names_active, port_names_extra_pgs, port_names_inactive) }} |
| 50 | +{%- endmacro %} |
| 51 | + |
| 52 | +{%- macro generate_pg_profiles_with_inactive_ports(port_names_active, port_names_inactive) %} |
| 53 | +{{ defs.generate_pg_profiles(port_names_active, port_names_inactive) }} |
| 54 | +{%- endmacro %} |
0 commit comments