1
+ {#
2
+ SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES
3
+ Copyright (c) 2024-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
+ http://www.apache.org/licenses/LICENSE-2.0
10
+
11
+ Unless required by applicable law or agreed to in writing, software
12
+ distributed under the License is distributed on an "AS IS" BASIS,
13
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ See the License for the specific language governing permissions and
15
+ limitations under the License.
16
+ #}
17
+ {% set default_cable = '300m' %}
18
+ {% -set ports 2cable = {
19
+ 'spinerouter_leafrouter' : '2000m' ,
20
+ 'leafrouter_torrouter' : '300m'
21
+ }
22
+ -%}
23
+ {% set ingress_lossless_pool_size = '46743552' %}
24
+ {% set ingress_lossless_pool_xoff = '8781696' %}
25
+ {% set egress_lossless_pool_size = '60817392' %}
26
+ {% set egress_lossy_pool_size = '46743552' %}
27
+
28
+ {% import 'buffers_defaults_objects.j2' as defs with context %}
29
+
30
+ {% - macro generate_buffer_pool_and_profiles_with_inactive_ports (port_names_inactive ) %}
31
+ {{ defs.generate_buffer_pool_and_profiles_with_inactive_ports(port_names_inactive) }}
32
+ {% - endmacro %}
33
+
34
+ {% - macro generate_profile_lists_with_inactive_ports (port_names_active , port_names_inactive ) %}
35
+ {{ defs.generate_profile_lists(port_names_active, port_names_inactive) }}
36
+ {% - endmacro %}
37
+
38
+ {% - macro generate_queue_buffers_with_inactive_ports (port_names_active , port_names_inactive ) %}
39
+ {{ defs.generate_queue_buffers(port_names_active, port_names_inactive) }}
40
+ {% - endmacro %}
41
+
42
+ {% - macro generate_pg_profiles_with_inactive_ports (port_names_active , port_names_inactive ) %}
43
+ {{ defs.generate_pg_profiles(port_names_active, port_names_inactive) }}
44
+ {% - endmacro %}
0 commit comments