[Mellanox] Support Mellanox-SN4600C-C64 as T1 switch in dual-ToR scenario (#11261)
- Why I did it Support Mellanox-SN4600C-C64 as T1 switch in dual-ToR scenario This is to port #11032 and #11299 from 202012 to master. Support additional queue and PG in buffer templates, including both traditional and dynamic model Support mapping DSCP 2/6 to lossless traffic in the QoS template. Add macros to generate additional lossless PG in the dynamic model Adjust the order in which the generic/dedicated (with additional lossless queues) macros are checked and called to generate buffer tables in common template buffers_config.j2 Buffer tables are rendered via using macros. Both generic and dedicated macros are defined on our platform. Currently, the generic one is called as long as it is defined, which causes the generic one always being called on our platform. To avoid it, the dedicated macrio is checked and called first and then the generic ones. Support MAP_PFC_PRIORITY_TO_PRIORITY_GROUP on ports with additional lossless queues. On Mellanox-SN4600C-C64, buffer configuration for t1 is calculated as: 40 * 100G downlink ports with 4 lossless PGs/queues, 1 lossy PG, and 3 lossy queues 16 * 100G uplink ports with 2 lossless PGs/queues, 1 lossy PG, and 5 lossy queues Signed-off-by: Stephen Sun <stephens@nvidia.com>
This commit is contained in:
parent
fc93871881
commit
b4d8ee3fec
@ -124,24 +124,55 @@
|
||||
}
|
||||
{%- endmacro %}
|
||||
|
||||
{%- macro generate_queue_buffers(port_names_active, port_names_inactive) %}
|
||||
{%- macro generate_queue_buffers_with_extra_lossless_queues(port_names_active, port_names_extra_queues, port_names_inactive) %}
|
||||
"BUFFER_QUEUE": {
|
||||
{% set q_loop = namespace(last_valid=false) %}
|
||||
{% for port in port_names_active.split(',') %}
|
||||
{% if port not in port_names_extra_queues.split(',') %}
|
||||
"{{ port }}|3-4": {
|
||||
"profile" : "egress_lossless_profile"
|
||||
},
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
{% for port in port_names_active.split(',') %}
|
||||
{% if port not in port_names_extra_queues.split(',') %}
|
||||
"{{ port }}|0-2": {
|
||||
"profile" : "q_lossy_profile"
|
||||
},
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
{% for port in port_names_active.split(',') %}
|
||||
{% if port not in port_names_extra_queues.split(',') %}
|
||||
"{{ port }}|5-6": {
|
||||
"profile" : "q_lossy_profile"
|
||||
}{% if not loop.last %},{% endif %}
|
||||
|
||||
{% set q_loop.last_valid = true %}
|
||||
{% else %}
|
||||
{% set q_loop.last_valid = false %}
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
{% if port_names_extra_queues|length > 0 %}
|
||||
{% if q_loop.last_valid %},{% endif %}
|
||||
{% for port in port_names_extra_queues.split(',') %}
|
||||
"{{ port }}|0-1": {
|
||||
"profile" : "q_lossy_profile"
|
||||
},
|
||||
"{{ port }}|2-4": {
|
||||
"profile" : "egress_lossless_profile"
|
||||
},
|
||||
"{{ port }}|5": {
|
||||
"profile" : "q_lossy_profile"
|
||||
},
|
||||
"{{ port }}|6": {
|
||||
"profile" : "egress_lossless_profile"
|
||||
},
|
||||
"{{ port }}|7": {
|
||||
"profile" : "q_lossy_profile"
|
||||
}{% if not loop.last %},{% endif %}
|
||||
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
{% if port_names_inactive|length > 0 %}
|
||||
,
|
||||
{% if dynamic_mode is defined %}
|
||||
@ -183,9 +214,15 @@
|
||||
}
|
||||
{%- endmacro %}
|
||||
|
||||
{%- macro generate_pg_profiles(port_names_active, port_names_inactive) %}
|
||||
{%- macro generate_queue_buffers(port_names_active, port_names_inactive) %}
|
||||
{{ generate_queue_buffers_with_extra_lossless_queues(port_names_active, "", port_names_inactive) }}
|
||||
{%- endmacro %}
|
||||
|
||||
{%- macro generate_pg_profiles_with_extra_lossless_pgs(port_names_active, port_names_extra_pgs, port_names_inactive) %}
|
||||
"BUFFER_PG": {
|
||||
{% set pg_loop = namespace(last_valid=false) %}
|
||||
{% for port in port_names_active.split(',') %}
|
||||
{% if port not in port_names_extra_pgs.split(',') %}
|
||||
{% if dynamic_mode is defined %}
|
||||
"{{ port }}|3-4": {
|
||||
"profile" : "NULL"
|
||||
@ -195,7 +232,28 @@
|
||||
"profile" : "ingress_lossy_profile"
|
||||
}{% if not loop.last %},{% endif %}
|
||||
|
||||
{% set pg_loop.last_valid = true %}
|
||||
{% else %}
|
||||
{% set pg_loop.last_valid = false %}
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
{% if port_names_extra_pgs|length > 0 %}
|
||||
{% if pg_loop.last_valid %},{% endif %}
|
||||
{% for port in port_names_extra_pgs.split(',') %}
|
||||
{% if dynamic_mode is defined %}
|
||||
"{{ port }}|2-4": {
|
||||
"profile" : "NULL"
|
||||
},
|
||||
"{{ port }}|6": {
|
||||
"profile" : "NULL"
|
||||
},
|
||||
{% endif %}
|
||||
"{{ port }}|0": {
|
||||
"profile" : "ingress_lossy_profile"
|
||||
}{% if not loop.last %},{% endif %}
|
||||
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
{% if port_names_inactive|length > 0 %}
|
||||
{%- for port in port_names_inactive.split(',') %}
|
||||
{%- if loop.first -%},{%- endif -%}
|
||||
@ -216,3 +274,7 @@
|
||||
{% endif %}
|
||||
}
|
||||
{%- endmacro %}
|
||||
|
||||
{%- macro generate_pg_profiles(port_names_active, port_names_inactive) %}
|
||||
{{ generate_pg_profiles_with_extra_lossless_pgs(port_names_active, "", port_names_inactive) }}
|
||||
{%- endmacro %}
|
||||
|
@ -15,10 +15,17 @@
|
||||
limitations under the License.
|
||||
#}
|
||||
{% set default_cable = '5m' %}
|
||||
{%- 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 -%}
|
||||
{% set ingress_lossless_pool_size = '48332800' %}
|
||||
{% set ingress_lossless_pool_xoff = '5275648' %}
|
||||
{% set egress_lossless_pool_size = '60817392' %}
|
||||
{% set egress_lossy_pool_size = '48332800' %}
|
||||
{%- endif -%}
|
||||
|
||||
{% import 'buffers_defaults_objects.j2' as defs with context %}
|
||||
|
||||
@ -30,10 +37,18 @@
|
||||
{{ defs.generate_profile_lists(port_names_active, port_names_inactive) }}
|
||||
{%- endmacro %}
|
||||
|
||||
{%- 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 %}
|
||||
|
||||
{%- 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_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 %}
|
||||
|
||||
{%- macro generate_pg_profiles_with_inactive_ports(port_names_active, port_names_inactive) %}
|
||||
{{ defs.generate_pg_profiles(port_names_active, port_names_inactive) }}
|
||||
{%- endmacro %}
|
||||
|
@ -1 +0,0 @@
|
||||
../../x86_64-mlnx_msn2700-r0/ACS-MSN2700/qos.json.j2
|
@ -0,0 +1,175 @@
|
||||
{#
|
||||
Copyright (c) 2020-2021 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.
|
||||
#}
|
||||
{% if ('type' in DEVICE_METADATA['localhost'] and DEVICE_METADATA['localhost']['type'] == 'LeafRouter') %}
|
||||
{% set different_dscp_to_tc_map = true %}
|
||||
{%- macro generate_dscp_to_tc_map() %}
|
||||
"DSCP_TO_TC_MAP": {
|
||||
"AZURE": {
|
||||
"0" : "1",
|
||||
"1" : "1",
|
||||
"2" : "2",
|
||||
"3" : "3",
|
||||
"4" : "4",
|
||||
"5" : "1",
|
||||
"6" : "6",
|
||||
"7" : "1",
|
||||
"8" : "0",
|
||||
"9" : "1",
|
||||
"10": "1",
|
||||
"11": "1",
|
||||
"12": "1",
|
||||
"13": "1",
|
||||
"14": "1",
|
||||
"15": "1",
|
||||
"16": "1",
|
||||
"17": "1",
|
||||
"18": "1",
|
||||
"19": "1",
|
||||
"20": "1",
|
||||
"21": "1",
|
||||
"22": "1",
|
||||
"23": "1",
|
||||
"24": "1",
|
||||
"25": "1",
|
||||
"26": "1",
|
||||
"27": "1",
|
||||
"28": "1",
|
||||
"29": "1",
|
||||
"30": "1",
|
||||
"31": "1",
|
||||
"32": "1",
|
||||
"33": "1",
|
||||
"34": "1",
|
||||
"35": "1",
|
||||
"36": "1",
|
||||
"37": "1",
|
||||
"38": "1",
|
||||
"39": "1",
|
||||
"40": "1",
|
||||
"41": "1",
|
||||
"42": "1",
|
||||
"43": "1",
|
||||
"44": "1",
|
||||
"45": "1",
|
||||
"46": "5",
|
||||
"47": "1",
|
||||
"48": "7",
|
||||
"49": "1",
|
||||
"50": "1",
|
||||
"51": "1",
|
||||
"52": "1",
|
||||
"53": "1",
|
||||
"54": "1",
|
||||
"55": "1",
|
||||
"56": "1",
|
||||
"57": "1",
|
||||
"58": "1",
|
||||
"59": "1",
|
||||
"60": "1",
|
||||
"61": "1",
|
||||
"62": "1",
|
||||
"63": "1"
|
||||
},
|
||||
"AZURE_UPLINK": {
|
||||
"0" : "1",
|
||||
"1" : "1",
|
||||
"2" : "1",
|
||||
"3" : "3",
|
||||
"4" : "4",
|
||||
"5" : "1",
|
||||
"6" : "1",
|
||||
"7" : "1",
|
||||
"8" : "0",
|
||||
"9" : "1",
|
||||
"10": "1",
|
||||
"11": "1",
|
||||
"12": "1",
|
||||
"13": "1",
|
||||
"14": "1",
|
||||
"15": "1",
|
||||
"16": "1",
|
||||
"17": "1",
|
||||
"18": "1",
|
||||
"19": "1",
|
||||
"20": "1",
|
||||
"21": "1",
|
||||
"22": "1",
|
||||
"23": "1",
|
||||
"24": "1",
|
||||
"25": "1",
|
||||
"26": "1",
|
||||
"27": "1",
|
||||
"28": "1",
|
||||
"29": "1",
|
||||
"30": "1",
|
||||
"31": "1",
|
||||
"32": "1",
|
||||
"33": "1",
|
||||
"34": "1",
|
||||
"35": "1",
|
||||
"36": "1",
|
||||
"37": "1",
|
||||
"38": "1",
|
||||
"39": "1",
|
||||
"40": "1",
|
||||
"41": "1",
|
||||
"42": "1",
|
||||
"43": "1",
|
||||
"44": "1",
|
||||
"45": "1",
|
||||
"46": "5",
|
||||
"47": "1",
|
||||
"48": "7",
|
||||
"49": "1",
|
||||
"50": "1",
|
||||
"51": "1",
|
||||
"52": "1",
|
||||
"53": "1",
|
||||
"54": "1",
|
||||
"55": "1",
|
||||
"56": "1",
|
||||
"57": "1",
|
||||
"58": "1",
|
||||
"59": "1",
|
||||
"60": "1",
|
||||
"61": "1",
|
||||
"62": "1",
|
||||
"63": "1"
|
||||
}
|
||||
},
|
||||
{%- endmacro %}
|
||||
{%- macro generate_tc_to_pg_map() %}
|
||||
"TC_TO_PRIORITY_GROUP_MAP": {
|
||||
"AZURE": {
|
||||
"0": "0",
|
||||
"1": "0",
|
||||
"2": "2",
|
||||
"3": "3",
|
||||
"4": "4",
|
||||
"5": "0",
|
||||
"6": "6",
|
||||
"7": "0"
|
||||
}
|
||||
},
|
||||
{%- endmacro %}
|
||||
{%- macro generate_global_dscp_to_tc_map() %}
|
||||
{# This is an empty macro since the global DSCP_TO_TC map is not required #}
|
||||
{%- endmacro %}
|
||||
|
||||
{% endif %}
|
||||
|
||||
{%- include 'qos_config.j2' %}
|
@ -168,14 +168,16 @@ def
|
||||
{{ defs.generate_profile_lists_with_inactive_ports(port_names_active, port_names_inactive) }},
|
||||
{% endif %}
|
||||
|
||||
{%- if defs.generate_pg_profils is defined %}
|
||||
{{ defs.generate_pg_profils(port_names_active) }}
|
||||
{% if (defs.generate_pg_profiles_with_extra_lossless_pgs_with_inactive_ports is defined) and (port_names_extra_queues != '') %}
|
||||
{{ defs.generate_pg_profiles_with_extra_lossless_pgs_with_inactive_ports(port_names_active, port_names_extra_queues, port_names_inactive) }},
|
||||
{% elif defs.generate_pg_profiles_with_inactive_ports is defined %}
|
||||
{{ defs.generate_pg_profiles_with_inactive_ports(port_names_active, port_names_inactive) }},
|
||||
{% elif (defs.generate_pg_buffers_with_extra_lossy_pgs is defined) and (port_names_extra_queues != '') %}
|
||||
{{ defs.generate_pg_buffers_with_extra_lossy_pgs(port_names_active, port_names_extra_queues) }}
|
||||
{% elif (defs.generate_pg_buffers_with_extra_lossy_pgs_with_inactive_ports is defined) and (port_names_extra_queues != '') %}
|
||||
{{ defs.generate_pg_buffers_with_extra_lossy_pgs_with_inactive_ports(port_names_active, port_names_extra_queues, port_names_inactive) }}
|
||||
{% elif defs.generate_pg_profils is defined %}
|
||||
{{ defs.generate_pg_profils(port_names_active) }}
|
||||
{% else %}
|
||||
"BUFFER_PG": {
|
||||
{% for port in PORT_ACTIVE %}
|
||||
@ -192,14 +194,14 @@ def
|
||||
},
|
||||
{% endif %}
|
||||
|
||||
{% if defs.generate_queue_buffers is defined %}
|
||||
{{ defs.generate_queue_buffers(port_names_active) }}
|
||||
{% elif defs.generate_queue_buffers_with_inactive_ports is defined %}
|
||||
{{ defs.generate_queue_buffers_with_inactive_ports(port_names_active, port_names_inactive) }}
|
||||
{% elif (defs.generate_queue_buffers_with_extra_lossless_queues_with_inactive_ports is defined) and (port_names_extra_queues != '') %}
|
||||
{% if (defs.generate_queue_buffers_with_extra_lossless_queues_with_inactive_ports is defined) and (port_names_extra_queues != '') %}
|
||||
{{ defs.generate_queue_buffers_with_extra_lossless_queues_with_inactive_ports(port_names_active, port_names_extra_queues, port_names_inactive) }}
|
||||
{% elif (defs.generate_queue_buffers_with_extra_lossless_queues is defined) and (port_names_extra_queues != '') %}
|
||||
{{ defs.generate_queue_buffers_with_extra_lossless_queues(port_names_active, port_names_extra_queues) }}
|
||||
{% elif defs.generate_queue_buffers is defined %}
|
||||
{{ defs.generate_queue_buffers(port_names_active) }}
|
||||
{% elif defs.generate_queue_buffers_with_inactive_ports is defined %}
|
||||
{{ defs.generate_queue_buffers_with_inactive_ports(port_names_active, port_names_inactive) }}
|
||||
{% else %}
|
||||
"BUFFER_QUEUE": {
|
||||
{% for port in PORT_ACTIVE %}
|
||||
|
@ -212,6 +212,14 @@
|
||||
{% endif %}
|
||||
{% if asic_type in pfc_to_pg_map_supported_asics %}
|
||||
"PFC_PRIORITY_TO_PRIORITY_GROUP_MAP": {
|
||||
{% if port_names_list_extra_queues|length > 0 %}
|
||||
"AZURE_DUALTOR": {
|
||||
"2": "2",
|
||||
"3": "3",
|
||||
"4": "4",
|
||||
"6": "6"
|
||||
},
|
||||
{% endif %}
|
||||
"AZURE": {
|
||||
"3": "3",
|
||||
"4": "4"
|
||||
@ -230,15 +238,23 @@
|
||||
"{{ port }}": {
|
||||
{% if 'type' in DEVICE_METADATA['localhost'] and DEVICE_METADATA['localhost']['type'] in backend_device_types and 'storage_device' in DEVICE_METADATA['localhost'] and DEVICE_METADATA['localhost']['storage_device'] == 'true' %}
|
||||
"dot1p_to_tc_map" : "AZURE",
|
||||
{% else %}
|
||||
{% if different_dscp_to_tc_map and port not in port_names_list_extra_queues and tunnel_qos_remap_enable %}
|
||||
"dscp_to_tc_map" : "AZURE_UPLINK",
|
||||
{% else %}
|
||||
"dscp_to_tc_map" : "AZURE",
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
"tc_to_queue_map" : "AZURE",
|
||||
"tc_to_pg_map" : "AZURE",
|
||||
"pfc_to_queue_map": "AZURE",
|
||||
{% if asic_type in pfc_to_pg_map_supported_asics %}
|
||||
{% if port in port_names_list_extra_queues %}
|
||||
"pfc_to_pg_map" : "AZURE_DUALTOR",
|
||||
{% else %}
|
||||
"pfc_to_pg_map" : "AZURE",
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
{% if port in port_names_list_extra_queues %}
|
||||
"pfc_enable" : "2,3,4,6",
|
||||
{% else %}
|
||||
|
File diff suppressed because it is too large
Load Diff
2468
src/sonic-config-engine/tests/sample-mellanox-4600c-t1-minigraph.xml
Normal file
2468
src/sonic-config-engine/tests/sample-mellanox-4600c-t1-minigraph.xml
Normal file
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@ -309,8 +309,10 @@ class TestJ2Files(TestCase):
|
||||
'../../../device/arista/x86_64-arista_7050cx3_32s/Arista-7050CX3-32S-D48C8',
|
||||
'../../../device/arista/x86_64-arista_7260cx3_64/Arista-7260CX3-D108C8',
|
||||
'../../../device/arista/x86_64-arista_7260cx3_64/Arista-7260CX3-C64',
|
||||
'../../../device/mellanox/x86_64-mlnx_msn4600c-r0/Mellanox-SN4600C-C64',
|
||||
'../../../device/mellanox/x86_64-mlnx_msn4600c-r0/Mellanox-SN4600C-C64',
|
||||
'../../../device/arista/x86_64-arista_7050_qx32s/Arista-7050-QX-32S'
|
||||
]
|
||||
]
|
||||
sample_outputs = [
|
||||
'qos-arista7050cx3-dualtor.json',
|
||||
'qos-arista7260-dualtor.json',
|
||||
@ -318,6 +320,8 @@ class TestJ2Files(TestCase):
|
||||
'qos-arista7050cx3-dualtor-remap-disabled.json',
|
||||
'qos-arista7260-dualtor-remap-disabled.json',
|
||||
'qos-arista7260-t1-remap-disabled.json',
|
||||
'qos-mellanox4600c-c64.json',
|
||||
'qos-mellanox4600c-c64-remap-disabled.json',
|
||||
'qos-arista7050-t0-storage-backend.json'
|
||||
]
|
||||
sample_minigraph_files = [
|
||||
@ -327,8 +331,11 @@ class TestJ2Files(TestCase):
|
||||
'sample-arista-7050cx3-dualtor-minigraph-remap-disabled.xml',
|
||||
'sample-arista-7260-dualtor-minigraph-remap-disabled.xml',
|
||||
'sample-arista-7260-t1-minigraph-remap-disabled.xml',
|
||||
'sample-mellanox-4600c-t1-minigraph.xml',
|
||||
'sample-mellanox-4600c-t1-minigraph-remap-disabled.xml',
|
||||
'sample-arista-7050-t0-storage-backend-minigraph.xml'
|
||||
]
|
||||
|
||||
for i, path in enumerate(dir_paths):
|
||||
device_template_path = os.path.join(self.test_dir, path)
|
||||
sample_output = sample_outputs[i]
|
||||
@ -434,7 +441,7 @@ class TestJ2Files(TestCase):
|
||||
if utils.PYvX_DIR != 'py3':
|
||||
# Skip on python2 as the change will not be backported to previous version
|
||||
return
|
||||
|
||||
|
||||
TEST_DATA = [
|
||||
# (vendor, platform, sku, minigraph, buffer_template, sample_output )
|
||||
('arista', 'x86_64-arista_7050cx3_32s', 'Arista-7050CX3-32S-D48C8', 'sample-arista-7050cx3-dualtor-minigraph.xml', 'buffers.json.j2', 'buffer-arista7050cx3-dualtor.json'),
|
||||
@ -442,7 +449,11 @@ class TestJ2Files(TestCase):
|
||||
('arista', 'x86_64-arista_7260cx3_64', 'Arista-7260CX3-D108C8', 'sample-arista-7260-dualtor-minigraph.xml', 'buffers.json.j2', 'buffer-arista7260-dualtor.json'),
|
||||
('arista', 'x86_64-arista_7260cx3_64', 'Arista-7260CX3-D108C8', 'sample-arista-7260-dualtor-minigraph-remap-disabled.xml', 'buffers.json.j2', 'buffer-arista7260-dualtor-remap-disabled.json'),
|
||||
('arista', 'x86_64-arista_7260cx3_64', 'Arista-7260CX3-C64', 'sample-arista-7260-t1-minigraph.xml', 'buffers.json.j2', 'buffer-arista7260-t1.json'),
|
||||
('arista', 'x86_64-arista_7260cx3_64', 'Arista-7260CX3-C64', 'sample-arista-7260-t1-minigraph-remap-disabled.xml', 'buffers.json.j2', 'buffer-arista7260-t1-remap-disabled.json')
|
||||
('arista', 'x86_64-arista_7260cx3_64', 'Arista-7260CX3-C64', 'sample-arista-7260-t1-minigraph-remap-disabled.xml', 'buffers.json.j2', 'buffer-arista7260-t1-remap-disabled.json'),
|
||||
('mellanox', 'x86_64-mlnx_msn4600c-r0', 'Mellanox-SN4600C-C64', 'sample-mellanox-4600c-t1-minigraph.xml', 'buffers_dynamic.json.j2', 'buffers-mellanox4600c-t1-dynamic.json'),
|
||||
('mellanox', 'x86_64-mlnx_msn4600c-r0', 'Mellanox-SN4600C-C64', 'sample-mellanox-4600c-t1-minigraph.xml', 'buffers.json.j2', 'buffers-mellanox4600c-t1.json'),
|
||||
('mellanox', 'x86_64-mlnx_msn4600c-r0', 'Mellanox-SN4600C-C64', 'sample-mellanox-4600c-t1-minigraph-remap-disabled.xml', 'buffers_dynamic.json.j2', 'buffers-mellanox4600c-t1-dynamic-remap-disabled.json'),
|
||||
('mellanox', 'x86_64-mlnx_msn4600c-r0', 'Mellanox-SN4600C-C64', 'sample-mellanox-4600c-t1-minigraph-remap-disabled.xml', 'buffers.json.j2', 'buffers-mellanox4600c-t1-remap-disabled.json')
|
||||
]
|
||||
|
||||
for test_data in TEST_DATA:
|
||||
|
Reference in New Issue
Block a user