5680c544b6
#### Why I did it To add new SKU Mellanox-SN4700-O8C48 with following requirements: | Port configuration | Value | | ------ |--------- | | Breakout mode for each port |**Defined in port mapping** | | Speed of the port | **Defined in Port mapping** | | Auto-negotiation enable/disable | **No setting required** | | FEC mode | **No setting required** | |Type of transceiver used | **Not needed**| Buffer configuration | Value ------ |--------- Shared headroom | **Enabled** Shared headroom pool factor | **2** Dynamic Buffer | **Disable** In static buffer scenario how many uplinks and downlinks? | **48x100G Downlinks and 8x400G uplinks** 2km cable support required? | **Yes** Switch configuration | Value ------ |--------- Warmboot enabled? | **yes** Should warmboot be added to SAI profile when enabled? | **yes** Is VxLAN source port range set? | **No** Should Vxlan source port range be added to SAI profile when set. | **No** Is Static Policy Based Hashing enabled? | **No** Port Mapping | Ports | Mode | | ------ |--------- | | 1-12 | 2x100G | | 13-20 | 1x400G | | 21-32 | 2x100G | Number of Uplinks / Downlinks: T1 topology: **48x100G Downlinks 8x400G uplinks**. Length of downlink: **40m** Length of uplink: **2000m** ##### Work item tracking - Microsoft ADO **(number only)**: #### How I did it Defined the SKU as per requirements #### How to verify it Load the SKU and verify if all links come up and traffic passes. #### A picture of a cute animal (not mandatory but encouraged)
37 lines
1.6 KiB
Django/Jinja
37 lines
1.6 KiB
Django/Jinja
{#
|
|
Copyright (c) 2022-2023 NVIDIA CORPORATION & AFFILIATES.
|
|
Apache-2.0
|
|
Licensed under the Apache License, Version 2.0 (the "License");
|
|
you may not use this file except in compliance with the License.
|
|
You may obtain a copy of the License at
|
|
http://www.apache.org/licenses/LICENSE-2.0
|
|
Unless required by applicable law or agreed to in writing, software
|
|
distributed under the License is distributed on an "AS IS" BASIS,
|
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
See the License for the specific language governing permissions and
|
|
limitations under the License.
|
|
#}
|
|
{% set default_cable = '5m' %}
|
|
{% set ingress_lossless_pool_size = '44433408' %}
|
|
{% set ingress_lossless_pool_xoff = '9576448' %}
|
|
{% set egress_lossless_pool_size = '60817392' %}
|
|
{% set egress_lossy_pool_size = '44433408' %}
|
|
|
|
{% import 'buffers_defaults_objects.j2' as defs with context %}
|
|
|
|
{%- macro generate_buffer_pool_and_profiles_with_inactive_ports(port_names_inactive) %}
|
|
{{ defs.generate_buffer_pool_and_profiles_with_inactive_ports(port_names_inactive) }}
|
|
{%- endmacro %}
|
|
|
|
{%- macro generate_profile_lists_with_inactive_ports(port_names_active, port_names_inactive) %}
|
|
{{ defs.generate_profile_lists(port_names_active, port_names_inactive) }}
|
|
{%- endmacro %}
|
|
|
|
{%- macro generate_queue_buffers_with_inactive_ports(port_names_active, port_names_inactive) %}
|
|
{{ defs.generate_queue_buffers(port_names_active, port_names_inactive) }}
|
|
{%- endmacro %}
|
|
|
|
{%- macro generate_pg_profiles_with_inactive_ports(port_names_active, port_names_inactive) %}
|
|
{{ defs.generate_pg_profiles(port_names_active, port_names_inactive) }}
|
|
{%- endmacro %}
|