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