[202012] Apply separated DSCP_TO_TC_MAP and TC_TO_QUEUE_MAP on dualtor (#12792)
* Apply separated DSCP_TO_TC_MAP and TC_TO_QUEUE_MAP on dualtor
This commit is contained in:
parent
6a74213b25
commit
47d7e5d0d2
@ -1,4 +1,6 @@
|
|||||||
{% if 'subtype' in DEVICE_METADATA['localhost'] and DEVICE_METADATA['localhost']['subtype'] == 'DualToR' %}
|
{% if 'subtype' in DEVICE_METADATA['localhost'] and DEVICE_METADATA['localhost']['subtype'] == 'DualToR' %}
|
||||||
|
{% set different_dscp_to_tc_map = true %}
|
||||||
|
{% set different_tc_to_queue_map = true %}
|
||||||
{%- macro generate_dscp_to_tc_map() %}
|
{%- macro generate_dscp_to_tc_map() %}
|
||||||
"DSCP_TO_TC_MAP": {
|
"DSCP_TO_TC_MAP": {
|
||||||
"AZURE": {
|
"AZURE": {
|
||||||
@ -67,6 +69,72 @@
|
|||||||
"62": "1",
|
"62": "1",
|
||||||
"63": "1"
|
"63": "1"
|
||||||
},
|
},
|
||||||
|
"AZURE_UPLINK": {
|
||||||
|
"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": "8",
|
||||||
|
"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_TUNNEL": {
|
"AZURE_TUNNEL": {
|
||||||
"0" : "1",
|
"0" : "1",
|
||||||
"1" : "1",
|
"1" : "1",
|
||||||
@ -174,6 +242,17 @@
|
|||||||
"7": "7",
|
"7": "7",
|
||||||
"8": "1"
|
"8": "1"
|
||||||
},
|
},
|
||||||
|
"AZURE_UPLINK": {
|
||||||
|
"0": "0",
|
||||||
|
"1": "1",
|
||||||
|
"2": "2",
|
||||||
|
"3": "3",
|
||||||
|
"4": "4",
|
||||||
|
"5": "5",
|
||||||
|
"6": "6",
|
||||||
|
"7": "7",
|
||||||
|
"8": "1"
|
||||||
|
},
|
||||||
"AZURE_TUNNEL": {
|
"AZURE_TUNNEL": {
|
||||||
"0": "0",
|
"0": "0",
|
||||||
"1": "1",
|
"1": "1",
|
||||||
|
@ -151,6 +151,8 @@
|
|||||||
},
|
},
|
||||||
{%- endmacro %}
|
{%- endmacro %}
|
||||||
{% elif ('subtype' in DEVICE_METADATA['localhost'] and DEVICE_METADATA['localhost']['subtype'] == 'DualToR') %}
|
{% elif ('subtype' in DEVICE_METADATA['localhost'] and DEVICE_METADATA['localhost']['subtype'] == 'DualToR') %}
|
||||||
|
{% set different_dscp_to_tc_map = true %}
|
||||||
|
{% set different_tc_to_queue_map = true %}
|
||||||
{%- macro generate_dscp_to_tc_map() %}
|
{%- macro generate_dscp_to_tc_map() %}
|
||||||
"DSCP_TO_TC_MAP": {
|
"DSCP_TO_TC_MAP": {
|
||||||
"AZURE": {
|
"AZURE": {
|
||||||
@ -219,6 +221,72 @@
|
|||||||
"62": "1",
|
"62": "1",
|
||||||
"63": "1"
|
"63": "1"
|
||||||
},
|
},
|
||||||
|
"AZURE_UPLINK": {
|
||||||
|
"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": "8",
|
||||||
|
"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_TUNNEL": {
|
"AZURE_TUNNEL": {
|
||||||
"0" : "1",
|
"0" : "1",
|
||||||
"1" : "1",
|
"1" : "1",
|
||||||
@ -326,6 +394,17 @@
|
|||||||
"7": "7",
|
"7": "7",
|
||||||
"8": "1"
|
"8": "1"
|
||||||
},
|
},
|
||||||
|
"AZURE_UPLINK": {
|
||||||
|
"0": "0",
|
||||||
|
"1": "1",
|
||||||
|
"2": "2",
|
||||||
|
"3": "3",
|
||||||
|
"4": "4",
|
||||||
|
"5": "5",
|
||||||
|
"6": "6",
|
||||||
|
"7": "7",
|
||||||
|
"8": "1"
|
||||||
|
},
|
||||||
"AZURE_TUNNEL": {
|
"AZURE_TUNNEL": {
|
||||||
"0": "0",
|
"0": "0",
|
||||||
"1": "1",
|
"1": "1",
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
{% if ('type' in DEVICE_METADATA['localhost'] and DEVICE_METADATA['localhost']['type'] == 'LeafRouter') %}
|
{% 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() %}
|
{%- macro generate_dscp_to_tc_map() %}
|
||||||
"DSCP_TO_TC_MAP": {
|
"DSCP_TO_TC_MAP": {
|
||||||
"AZURE": {
|
"AZURE": {
|
||||||
@ -150,6 +151,8 @@
|
|||||||
},
|
},
|
||||||
{%- endmacro %}
|
{%- endmacro %}
|
||||||
{% elif ('subtype' in DEVICE_METADATA['localhost'] and DEVICE_METADATA['localhost']['subtype'] == 'DualToR') %}
|
{% elif ('subtype' in DEVICE_METADATA['localhost'] and DEVICE_METADATA['localhost']['subtype'] == 'DualToR') %}
|
||||||
|
{% set different_dscp_to_tc_map = true %}
|
||||||
|
{% set different_tc_to_queue_map = true %}
|
||||||
{%- macro generate_dscp_to_tc_map() %}
|
{%- macro generate_dscp_to_tc_map() %}
|
||||||
"DSCP_TO_TC_MAP": {
|
"DSCP_TO_TC_MAP": {
|
||||||
"AZURE": {
|
"AZURE": {
|
||||||
@ -218,6 +221,72 @@
|
|||||||
"62": "1",
|
"62": "1",
|
||||||
"63": "1"
|
"63": "1"
|
||||||
},
|
},
|
||||||
|
"AZURE_UPLINK": {
|
||||||
|
"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": "8",
|
||||||
|
"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_TUNNEL": {
|
"AZURE_TUNNEL": {
|
||||||
"0" : "1",
|
"0" : "1",
|
||||||
"1" : "1",
|
"1" : "1",
|
||||||
@ -325,6 +394,17 @@
|
|||||||
"7": "7",
|
"7": "7",
|
||||||
"8": "1"
|
"8": "1"
|
||||||
},
|
},
|
||||||
|
"AZURE_UPLINK": {
|
||||||
|
"0": "0",
|
||||||
|
"1": "1",
|
||||||
|
"2": "2",
|
||||||
|
"3": "3",
|
||||||
|
"4": "4",
|
||||||
|
"5": "5",
|
||||||
|
"6": "6",
|
||||||
|
"7": "7",
|
||||||
|
"8": "1"
|
||||||
|
},
|
||||||
"AZURE_TUNNEL": {
|
"AZURE_TUNNEL": {
|
||||||
"0": "0",
|
"0": "0",
|
||||||
"1": "1",
|
"1": "1",
|
||||||
|
@ -238,13 +238,25 @@
|
|||||||
{% 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' %}
|
{% 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" : "[DOT1P_TO_TC_MAP|AZURE]",
|
"dot1p_to_tc_map" : "[DOT1P_TO_TC_MAP|AZURE]",
|
||||||
{% else %}
|
{% else %}
|
||||||
{% if different_dscp_to_tc_map and port not in port_names_list_extra_queues and tunnel_qos_remap_enable %}
|
{# Apply separated DSCP_TO_TC_MAP to uplink ports on ToR and Leaf #}
|
||||||
|
{% if different_dscp_to_tc_map and tunnel_qos_remap_enable %}
|
||||||
|
{% if ('type' in DEVICE_METADATA['localhost']) and (DEVICE_METADATA['localhost']['type'] == 'LeafRouter') and (port not in port_names_list_extra_queues) %}
|
||||||
|
"dscp_to_tc_map" : "[DSCP_TO_TC_MAP|AZURE_UPLINK]",
|
||||||
|
{% elif ('subtype' in DEVICE_METADATA['localhost']) and (DEVICE_METADATA['localhost']['subtype'] == 'DualToR') and (port in port_names_list_extra_queues) %}
|
||||||
"dscp_to_tc_map" : "[DSCP_TO_TC_MAP|AZURE_UPLINK]",
|
"dscp_to_tc_map" : "[DSCP_TO_TC_MAP|AZURE_UPLINK]",
|
||||||
{% else %}
|
{% else %}
|
||||||
"dscp_to_tc_map" : "[DSCP_TO_TC_MAP|AZURE]",
|
"dscp_to_tc_map" : "[DSCP_TO_TC_MAP|AZURE]",
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
{% else %}
|
||||||
|
"dscp_to_tc_map" : "[DSCP_TO_TC_MAP|AZURE]",
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
{% endif %}
|
||||||
|
{# Apply separated TC_TO_QUEUE_MAP to uplink ports on ToR #}
|
||||||
|
{% if different_tc_to_queue_map and tunnel_qos_remap_enable and port in port_names_list_extra_queues %}
|
||||||
|
"tc_to_queue_map" : "[TC_TO_QUEUE_MAP|AZURE_UPLINK]",
|
||||||
|
{% else %}
|
||||||
"tc_to_queue_map" : "[TC_TO_QUEUE_MAP|AZURE]",
|
"tc_to_queue_map" : "[TC_TO_QUEUE_MAP|AZURE]",
|
||||||
|
{% endif %}
|
||||||
"tc_to_pg_map" : "[TC_TO_PRIORITY_GROUP_MAP|AZURE]",
|
"tc_to_pg_map" : "[TC_TO_PRIORITY_GROUP_MAP|AZURE]",
|
||||||
"pfc_to_queue_map": "[MAP_PFC_PRIORITY_TO_QUEUE|AZURE]",
|
"pfc_to_queue_map": "[MAP_PFC_PRIORITY_TO_QUEUE|AZURE]",
|
||||||
{% if asic_type in pfc_to_pg_map_supported_asics %}
|
{% if asic_type in pfc_to_pg_map_supported_asics %}
|
||||||
|
@ -47,6 +47,17 @@
|
|||||||
"7": "7",
|
"7": "7",
|
||||||
"8": "1"
|
"8": "1"
|
||||||
},
|
},
|
||||||
|
"AZURE_UPLINK": {
|
||||||
|
"0": "0",
|
||||||
|
"1": "1",
|
||||||
|
"2": "2",
|
||||||
|
"3": "3",
|
||||||
|
"4": "4",
|
||||||
|
"5": "5",
|
||||||
|
"6": "6",
|
||||||
|
"7": "7",
|
||||||
|
"8": "1"
|
||||||
|
},
|
||||||
"AZURE_TUNNEL": {
|
"AZURE_TUNNEL": {
|
||||||
"0": "0",
|
"0": "0",
|
||||||
"1": "1",
|
"1": "1",
|
||||||
@ -126,6 +137,72 @@
|
|||||||
"62": "1",
|
"62": "1",
|
||||||
"63": "1"
|
"63": "1"
|
||||||
},
|
},
|
||||||
|
"AZURE_UPLINK": {
|
||||||
|
"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": "8",
|
||||||
|
"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_TUNNEL": {
|
"AZURE_TUNNEL": {
|
||||||
"0" : "1",
|
"0" : "1",
|
||||||
"1" : "1",
|
"1" : "1",
|
||||||
@ -269,32 +346,32 @@
|
|||||||
"pfcwd_sw_enable" : "3,4"
|
"pfcwd_sw_enable" : "3,4"
|
||||||
},
|
},
|
||||||
"Ethernet24": {
|
"Ethernet24": {
|
||||||
"dscp_to_tc_map" : "[DSCP_TO_TC_MAP|AZURE]",
|
"dscp_to_tc_map" : "[DSCP_TO_TC_MAP|AZURE_UPLINK]",
|
||||||
"tc_to_queue_map" : "[TC_TO_QUEUE_MAP|AZURE]",
|
"tc_to_queue_map" : "[TC_TO_QUEUE_MAP|AZURE_UPLINK]",
|
||||||
"tc_to_pg_map" : "[TC_TO_PRIORITY_GROUP_MAP|AZURE]",
|
"tc_to_pg_map" : "[TC_TO_PRIORITY_GROUP_MAP|AZURE]",
|
||||||
"pfc_to_queue_map": "[MAP_PFC_PRIORITY_TO_QUEUE|AZURE]",
|
"pfc_to_queue_map": "[MAP_PFC_PRIORITY_TO_QUEUE|AZURE]",
|
||||||
"pfc_enable" : "2,3,4,6",
|
"pfc_enable" : "2,3,4,6",
|
||||||
"pfcwd_sw_enable" : "3,4"
|
"pfcwd_sw_enable" : "3,4"
|
||||||
},
|
},
|
||||||
"Ethernet28": {
|
"Ethernet28": {
|
||||||
"dscp_to_tc_map" : "[DSCP_TO_TC_MAP|AZURE]",
|
"dscp_to_tc_map" : "[DSCP_TO_TC_MAP|AZURE_UPLINK]",
|
||||||
"tc_to_queue_map" : "[TC_TO_QUEUE_MAP|AZURE]",
|
"tc_to_queue_map" : "[TC_TO_QUEUE_MAP|AZURE_UPLINK]",
|
||||||
"tc_to_pg_map" : "[TC_TO_PRIORITY_GROUP_MAP|AZURE]",
|
"tc_to_pg_map" : "[TC_TO_PRIORITY_GROUP_MAP|AZURE]",
|
||||||
"pfc_to_queue_map": "[MAP_PFC_PRIORITY_TO_QUEUE|AZURE]",
|
"pfc_to_queue_map": "[MAP_PFC_PRIORITY_TO_QUEUE|AZURE]",
|
||||||
"pfc_enable" : "2,3,4,6",
|
"pfc_enable" : "2,3,4,6",
|
||||||
"pfcwd_sw_enable" : "3,4"
|
"pfcwd_sw_enable" : "3,4"
|
||||||
},
|
},
|
||||||
"Ethernet32": {
|
"Ethernet32": {
|
||||||
"dscp_to_tc_map" : "[DSCP_TO_TC_MAP|AZURE]",
|
"dscp_to_tc_map" : "[DSCP_TO_TC_MAP|AZURE_UPLINK]",
|
||||||
"tc_to_queue_map" : "[TC_TO_QUEUE_MAP|AZURE]",
|
"tc_to_queue_map" : "[TC_TO_QUEUE_MAP|AZURE_UPLINK]",
|
||||||
"tc_to_pg_map" : "[TC_TO_PRIORITY_GROUP_MAP|AZURE]",
|
"tc_to_pg_map" : "[TC_TO_PRIORITY_GROUP_MAP|AZURE]",
|
||||||
"pfc_to_queue_map": "[MAP_PFC_PRIORITY_TO_QUEUE|AZURE]",
|
"pfc_to_queue_map": "[MAP_PFC_PRIORITY_TO_QUEUE|AZURE]",
|
||||||
"pfc_enable" : "2,3,4,6",
|
"pfc_enable" : "2,3,4,6",
|
||||||
"pfcwd_sw_enable" : "3,4"
|
"pfcwd_sw_enable" : "3,4"
|
||||||
},
|
},
|
||||||
"Ethernet36": {
|
"Ethernet36": {
|
||||||
"dscp_to_tc_map" : "[DSCP_TO_TC_MAP|AZURE]",
|
"dscp_to_tc_map" : "[DSCP_TO_TC_MAP|AZURE_UPLINK]",
|
||||||
"tc_to_queue_map" : "[TC_TO_QUEUE_MAP|AZURE]",
|
"tc_to_queue_map" : "[TC_TO_QUEUE_MAP|AZURE_UPLINK]",
|
||||||
"tc_to_pg_map" : "[TC_TO_PRIORITY_GROUP_MAP|AZURE]",
|
"tc_to_pg_map" : "[TC_TO_PRIORITY_GROUP_MAP|AZURE]",
|
||||||
"pfc_to_queue_map": "[MAP_PFC_PRIORITY_TO_QUEUE|AZURE]",
|
"pfc_to_queue_map": "[MAP_PFC_PRIORITY_TO_QUEUE|AZURE]",
|
||||||
"pfc_enable" : "2,3,4,6",
|
"pfc_enable" : "2,3,4,6",
|
||||||
@ -397,32 +474,32 @@
|
|||||||
"pfcwd_sw_enable" : "3,4"
|
"pfcwd_sw_enable" : "3,4"
|
||||||
},
|
},
|
||||||
"Ethernet88": {
|
"Ethernet88": {
|
||||||
"dscp_to_tc_map" : "[DSCP_TO_TC_MAP|AZURE]",
|
"dscp_to_tc_map" : "[DSCP_TO_TC_MAP|AZURE_UPLINK]",
|
||||||
"tc_to_queue_map" : "[TC_TO_QUEUE_MAP|AZURE]",
|
"tc_to_queue_map" : "[TC_TO_QUEUE_MAP|AZURE_UPLINK]",
|
||||||
"tc_to_pg_map" : "[TC_TO_PRIORITY_GROUP_MAP|AZURE]",
|
"tc_to_pg_map" : "[TC_TO_PRIORITY_GROUP_MAP|AZURE]",
|
||||||
"pfc_to_queue_map": "[MAP_PFC_PRIORITY_TO_QUEUE|AZURE]",
|
"pfc_to_queue_map": "[MAP_PFC_PRIORITY_TO_QUEUE|AZURE]",
|
||||||
"pfc_enable" : "2,3,4,6",
|
"pfc_enable" : "2,3,4,6",
|
||||||
"pfcwd_sw_enable" : "3,4"
|
"pfcwd_sw_enable" : "3,4"
|
||||||
},
|
},
|
||||||
"Ethernet92": {
|
"Ethernet92": {
|
||||||
"dscp_to_tc_map" : "[DSCP_TO_TC_MAP|AZURE]",
|
"dscp_to_tc_map" : "[DSCP_TO_TC_MAP|AZURE_UPLINK]",
|
||||||
"tc_to_queue_map" : "[TC_TO_QUEUE_MAP|AZURE]",
|
"tc_to_queue_map" : "[TC_TO_QUEUE_MAP|AZURE_UPLINK]",
|
||||||
"tc_to_pg_map" : "[TC_TO_PRIORITY_GROUP_MAP|AZURE]",
|
"tc_to_pg_map" : "[TC_TO_PRIORITY_GROUP_MAP|AZURE]",
|
||||||
"pfc_to_queue_map": "[MAP_PFC_PRIORITY_TO_QUEUE|AZURE]",
|
"pfc_to_queue_map": "[MAP_PFC_PRIORITY_TO_QUEUE|AZURE]",
|
||||||
"pfc_enable" : "2,3,4,6",
|
"pfc_enable" : "2,3,4,6",
|
||||||
"pfcwd_sw_enable" : "3,4"
|
"pfcwd_sw_enable" : "3,4"
|
||||||
},
|
},
|
||||||
"Ethernet96": {
|
"Ethernet96": {
|
||||||
"dscp_to_tc_map" : "[DSCP_TO_TC_MAP|AZURE]",
|
"dscp_to_tc_map" : "[DSCP_TO_TC_MAP|AZURE_UPLINK]",
|
||||||
"tc_to_queue_map" : "[TC_TO_QUEUE_MAP|AZURE]",
|
"tc_to_queue_map" : "[TC_TO_QUEUE_MAP|AZURE_UPLINK]",
|
||||||
"tc_to_pg_map" : "[TC_TO_PRIORITY_GROUP_MAP|AZURE]",
|
"tc_to_pg_map" : "[TC_TO_PRIORITY_GROUP_MAP|AZURE]",
|
||||||
"pfc_to_queue_map": "[MAP_PFC_PRIORITY_TO_QUEUE|AZURE]",
|
"pfc_to_queue_map": "[MAP_PFC_PRIORITY_TO_QUEUE|AZURE]",
|
||||||
"pfc_enable" : "2,3,4,6",
|
"pfc_enable" : "2,3,4,6",
|
||||||
"pfcwd_sw_enable" : "3,4"
|
"pfcwd_sw_enable" : "3,4"
|
||||||
},
|
},
|
||||||
"Ethernet100": {
|
"Ethernet100": {
|
||||||
"dscp_to_tc_map" : "[DSCP_TO_TC_MAP|AZURE]",
|
"dscp_to_tc_map" : "[DSCP_TO_TC_MAP|AZURE_UPLINK]",
|
||||||
"tc_to_queue_map" : "[TC_TO_QUEUE_MAP|AZURE]",
|
"tc_to_queue_map" : "[TC_TO_QUEUE_MAP|AZURE_UPLINK]",
|
||||||
"tc_to_pg_map" : "[TC_TO_PRIORITY_GROUP_MAP|AZURE]",
|
"tc_to_pg_map" : "[TC_TO_PRIORITY_GROUP_MAP|AZURE]",
|
||||||
"pfc_to_queue_map": "[MAP_PFC_PRIORITY_TO_QUEUE|AZURE]",
|
"pfc_to_queue_map": "[MAP_PFC_PRIORITY_TO_QUEUE|AZURE]",
|
||||||
"pfc_enable" : "2,3,4,6",
|
"pfc_enable" : "2,3,4,6",
|
||||||
|
@ -47,6 +47,17 @@
|
|||||||
"7": "7",
|
"7": "7",
|
||||||
"8": "1"
|
"8": "1"
|
||||||
},
|
},
|
||||||
|
"AZURE_UPLINK": {
|
||||||
|
"0": "0",
|
||||||
|
"1": "1",
|
||||||
|
"2": "2",
|
||||||
|
"3": "3",
|
||||||
|
"4": "4",
|
||||||
|
"5": "5",
|
||||||
|
"6": "6",
|
||||||
|
"7": "7",
|
||||||
|
"8": "1"
|
||||||
|
},
|
||||||
"AZURE_TUNNEL": {
|
"AZURE_TUNNEL": {
|
||||||
"0": "0",
|
"0": "0",
|
||||||
"1": "1",
|
"1": "1",
|
||||||
@ -126,6 +137,72 @@
|
|||||||
"62": "1",
|
"62": "1",
|
||||||
"63": "1"
|
"63": "1"
|
||||||
},
|
},
|
||||||
|
"AZURE_UPLINK": {
|
||||||
|
"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": "8",
|
||||||
|
"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_TUNNEL": {
|
"AZURE_TUNNEL": {
|
||||||
"0" : "1",
|
"0" : "1",
|
||||||
"1" : "1",
|
"1" : "1",
|
||||||
@ -317,64 +394,64 @@
|
|||||||
"pfcwd_sw_enable" : "3,4"
|
"pfcwd_sw_enable" : "3,4"
|
||||||
},
|
},
|
||||||
"Ethernet48": {
|
"Ethernet48": {
|
||||||
"dscp_to_tc_map" : "[DSCP_TO_TC_MAP|AZURE]",
|
"dscp_to_tc_map" : "[DSCP_TO_TC_MAP|AZURE_UPLINK]",
|
||||||
"tc_to_queue_map" : "[TC_TO_QUEUE_MAP|AZURE]",
|
"tc_to_queue_map" : "[TC_TO_QUEUE_MAP|AZURE_UPLINK]",
|
||||||
"tc_to_pg_map" : "[TC_TO_PRIORITY_GROUP_MAP|AZURE]",
|
"tc_to_pg_map" : "[TC_TO_PRIORITY_GROUP_MAP|AZURE]",
|
||||||
"pfc_to_queue_map": "[MAP_PFC_PRIORITY_TO_QUEUE|AZURE]",
|
"pfc_to_queue_map": "[MAP_PFC_PRIORITY_TO_QUEUE|AZURE]",
|
||||||
"pfc_enable" : "2,3,4,6",
|
"pfc_enable" : "2,3,4,6",
|
||||||
"pfcwd_sw_enable" : "3,4"
|
"pfcwd_sw_enable" : "3,4"
|
||||||
},
|
},
|
||||||
"Ethernet52": {
|
"Ethernet52": {
|
||||||
"dscp_to_tc_map" : "[DSCP_TO_TC_MAP|AZURE]",
|
"dscp_to_tc_map" : "[DSCP_TO_TC_MAP|AZURE_UPLINK]",
|
||||||
"tc_to_queue_map" : "[TC_TO_QUEUE_MAP|AZURE]",
|
"tc_to_queue_map" : "[TC_TO_QUEUE_MAP|AZURE_UPLINK]",
|
||||||
"tc_to_pg_map" : "[TC_TO_PRIORITY_GROUP_MAP|AZURE]",
|
"tc_to_pg_map" : "[TC_TO_PRIORITY_GROUP_MAP|AZURE]",
|
||||||
"pfc_to_queue_map": "[MAP_PFC_PRIORITY_TO_QUEUE|AZURE]",
|
"pfc_to_queue_map": "[MAP_PFC_PRIORITY_TO_QUEUE|AZURE]",
|
||||||
"pfc_enable" : "2,3,4,6",
|
"pfc_enable" : "2,3,4,6",
|
||||||
"pfcwd_sw_enable" : "3,4"
|
"pfcwd_sw_enable" : "3,4"
|
||||||
},
|
},
|
||||||
"Ethernet56": {
|
"Ethernet56": {
|
||||||
"dscp_to_tc_map" : "[DSCP_TO_TC_MAP|AZURE]",
|
"dscp_to_tc_map" : "[DSCP_TO_TC_MAP|AZURE_UPLINK]",
|
||||||
"tc_to_queue_map" : "[TC_TO_QUEUE_MAP|AZURE]",
|
"tc_to_queue_map" : "[TC_TO_QUEUE_MAP|AZURE_UPLINK]",
|
||||||
"tc_to_pg_map" : "[TC_TO_PRIORITY_GROUP_MAP|AZURE]",
|
"tc_to_pg_map" : "[TC_TO_PRIORITY_GROUP_MAP|AZURE]",
|
||||||
"pfc_to_queue_map": "[MAP_PFC_PRIORITY_TO_QUEUE|AZURE]",
|
"pfc_to_queue_map": "[MAP_PFC_PRIORITY_TO_QUEUE|AZURE]",
|
||||||
"pfc_enable" : "2,3,4,6",
|
"pfc_enable" : "2,3,4,6",
|
||||||
"pfcwd_sw_enable" : "3,4"
|
"pfcwd_sw_enable" : "3,4"
|
||||||
},
|
},
|
||||||
"Ethernet60": {
|
"Ethernet60": {
|
||||||
"dscp_to_tc_map" : "[DSCP_TO_TC_MAP|AZURE]",
|
"dscp_to_tc_map" : "[DSCP_TO_TC_MAP|AZURE_UPLINK]",
|
||||||
"tc_to_queue_map" : "[TC_TO_QUEUE_MAP|AZURE]",
|
"tc_to_queue_map" : "[TC_TO_QUEUE_MAP|AZURE_UPLINK]",
|
||||||
"tc_to_pg_map" : "[TC_TO_PRIORITY_GROUP_MAP|AZURE]",
|
"tc_to_pg_map" : "[TC_TO_PRIORITY_GROUP_MAP|AZURE]",
|
||||||
"pfc_to_queue_map": "[MAP_PFC_PRIORITY_TO_QUEUE|AZURE]",
|
"pfc_to_queue_map": "[MAP_PFC_PRIORITY_TO_QUEUE|AZURE]",
|
||||||
"pfc_enable" : "2,3,4,6",
|
"pfc_enable" : "2,3,4,6",
|
||||||
"pfcwd_sw_enable" : "3,4"
|
"pfcwd_sw_enable" : "3,4"
|
||||||
},
|
},
|
||||||
"Ethernet64": {
|
"Ethernet64": {
|
||||||
"dscp_to_tc_map" : "[DSCP_TO_TC_MAP|AZURE]",
|
"dscp_to_tc_map" : "[DSCP_TO_TC_MAP|AZURE_UPLINK]",
|
||||||
"tc_to_queue_map" : "[TC_TO_QUEUE_MAP|AZURE]",
|
"tc_to_queue_map" : "[TC_TO_QUEUE_MAP|AZURE_UPLINK]",
|
||||||
"tc_to_pg_map" : "[TC_TO_PRIORITY_GROUP_MAP|AZURE]",
|
"tc_to_pg_map" : "[TC_TO_PRIORITY_GROUP_MAP|AZURE]",
|
||||||
"pfc_to_queue_map": "[MAP_PFC_PRIORITY_TO_QUEUE|AZURE]",
|
"pfc_to_queue_map": "[MAP_PFC_PRIORITY_TO_QUEUE|AZURE]",
|
||||||
"pfc_enable" : "2,3,4,6",
|
"pfc_enable" : "2,3,4,6",
|
||||||
"pfcwd_sw_enable" : "3,4"
|
"pfcwd_sw_enable" : "3,4"
|
||||||
},
|
},
|
||||||
"Ethernet68": {
|
"Ethernet68": {
|
||||||
"dscp_to_tc_map" : "[DSCP_TO_TC_MAP|AZURE]",
|
"dscp_to_tc_map" : "[DSCP_TO_TC_MAP|AZURE_UPLINK]",
|
||||||
"tc_to_queue_map" : "[TC_TO_QUEUE_MAP|AZURE]",
|
"tc_to_queue_map" : "[TC_TO_QUEUE_MAP|AZURE_UPLINK]",
|
||||||
"tc_to_pg_map" : "[TC_TO_PRIORITY_GROUP_MAP|AZURE]",
|
"tc_to_pg_map" : "[TC_TO_PRIORITY_GROUP_MAP|AZURE]",
|
||||||
"pfc_to_queue_map": "[MAP_PFC_PRIORITY_TO_QUEUE|AZURE]",
|
"pfc_to_queue_map": "[MAP_PFC_PRIORITY_TO_QUEUE|AZURE]",
|
||||||
"pfc_enable" : "2,3,4,6",
|
"pfc_enable" : "2,3,4,6",
|
||||||
"pfcwd_sw_enable" : "3,4"
|
"pfcwd_sw_enable" : "3,4"
|
||||||
},
|
},
|
||||||
"Ethernet72": {
|
"Ethernet72": {
|
||||||
"dscp_to_tc_map" : "[DSCP_TO_TC_MAP|AZURE]",
|
"dscp_to_tc_map" : "[DSCP_TO_TC_MAP|AZURE_UPLINK]",
|
||||||
"tc_to_queue_map" : "[TC_TO_QUEUE_MAP|AZURE]",
|
"tc_to_queue_map" : "[TC_TO_QUEUE_MAP|AZURE_UPLINK]",
|
||||||
"tc_to_pg_map" : "[TC_TO_PRIORITY_GROUP_MAP|AZURE]",
|
"tc_to_pg_map" : "[TC_TO_PRIORITY_GROUP_MAP|AZURE]",
|
||||||
"pfc_to_queue_map": "[MAP_PFC_PRIORITY_TO_QUEUE|AZURE]",
|
"pfc_to_queue_map": "[MAP_PFC_PRIORITY_TO_QUEUE|AZURE]",
|
||||||
"pfc_enable" : "2,3,4,6",
|
"pfc_enable" : "2,3,4,6",
|
||||||
"pfcwd_sw_enable" : "3,4"
|
"pfcwd_sw_enable" : "3,4"
|
||||||
},
|
},
|
||||||
"Ethernet76": {
|
"Ethernet76": {
|
||||||
"dscp_to_tc_map" : "[DSCP_TO_TC_MAP|AZURE]",
|
"dscp_to_tc_map" : "[DSCP_TO_TC_MAP|AZURE_UPLINK]",
|
||||||
"tc_to_queue_map" : "[TC_TO_QUEUE_MAP|AZURE]",
|
"tc_to_queue_map" : "[TC_TO_QUEUE_MAP|AZURE_UPLINK]",
|
||||||
"tc_to_pg_map" : "[TC_TO_PRIORITY_GROUP_MAP|AZURE]",
|
"tc_to_pg_map" : "[TC_TO_PRIORITY_GROUP_MAP|AZURE]",
|
||||||
"pfc_to_queue_map": "[MAP_PFC_PRIORITY_TO_QUEUE|AZURE]",
|
"pfc_to_queue_map": "[MAP_PFC_PRIORITY_TO_QUEUE|AZURE]",
|
||||||
"pfc_enable" : "2,3,4,6",
|
"pfc_enable" : "2,3,4,6",
|
||||||
|
Reference in New Issue
Block a user