Update qos config to clear queues for bounced back traffic (#10176)

* Update qos config to clear queues for bounced back traffic

Signed-off-by: bingwang <bingwang@microsoft.com>
This commit is contained in:
bingwang-ms 2022-04-05 22:32:25 +08:00 committed by GitHub
parent 64dc08a372
commit b9dd1df372
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
21 changed files with 14780 additions and 302 deletions

View File

@ -1 +0,0 @@
{%- include 'qos_config.j2' %}

View File

@ -0,0 +1 @@
../Arista-7050CX3-32S-D48C8/qos.json.j2

View File

@ -1 +1,102 @@
{% if 'subtype' in DEVICE_METADATA['localhost'] and DEVICE_METADATA['localhost']['subtype'] == 'DualToR' %}
{%- macro generate_dscp_to_tc_map() %}
"DSCP_TO_TC_MAP": {
"AZURE": {
"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": "2",
"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": "0",
"3": "3",
"4": "4",
"5": "0",
"6": "0",
"7": "7"
}
},
{%- endmacro %}
{%- macro generate_tc_to_queue_map() %}
"TC_TO_QUEUE_MAP": {
"AZURE": {
"0": "0",
"1": "1",
"2": "1",
"3": "3",
"4": "4",
"5": "5",
"6": "6",
"7": "7"
}
},
{%- endmacro %}
{% endif %}
{%- include 'qos_config.j2' %} {%- include 'qos_config.j2' %}

View File

@ -1 +1,187 @@
{% if ('type' in DEVICE_METADATA['localhost'] and DEVICE_METADATA['localhost']['type'] == 'LeafRouter') %}
{%- 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"
}
},
{%- 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": "7"
}
},
{%- endmacro %}
{% elif ('subtype' in DEVICE_METADATA['localhost'] and DEVICE_METADATA['localhost']['subtype'] == 'DualToR') %}
{%- macro generate_dscp_to_tc_map() %}
"DSCP_TO_TC_MAP": {
"AZURE": {
"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": "2",
"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": "0",
"3": "3",
"4": "4",
"5": "0",
"6": "0",
"7": "7"
}
},
{%- endmacro %}
{%- macro generate_tc_to_queue_map() %}
"TC_TO_QUEUE_MAP": {
"AZURE": {
"0": "0",
"1": "1",
"2": "1",
"3": "3",
"4": "4",
"5": "5",
"6": "6",
"7": "7"
}
},
{%- endmacro %}
{% endif %}
{%- include 'qos_config.j2' %} {%- include 'qos_config.j2' %}

View File

@ -1 +0,0 @@
{%- include 'qos_config.j2' %}

View File

@ -0,0 +1 @@
../Arista-7260CX3-C64/qos.json.j2

View File

@ -1 +0,0 @@
{%- include 'qos_config.j2' %}

View File

@ -0,0 +1 @@
../Arista-7260CX3-C64/qos.json.j2

View File

@ -29,6 +29,13 @@
{%- endfor %} {%- endfor %}
{%- set port_names_active = port_names_list_active | join(',') -%} {%- set port_names_active = port_names_list_active | join(',') -%}
{%- set port_names_list_extra_queues = [] %}
{%- for port in PORT_ACTIVE %}
{% if (generate_dscp_to_tc_map is defined) and ('type' in DEVICE_METADATA['localhost'] and DEVICE_METADATA['localhost']['type'] == 'LeafRouter' and DEVICE_NEIGHBOR_METADATA is defined and DEVICE_NEIGHBOR[port].name in DEVICE_NEIGHBOR_METADATA and DEVICE_NEIGHBOR_METADATA[DEVICE_NEIGHBOR[port].name].type == 'ToRRouter') or
('subtype' in DEVICE_METADATA['localhost'] and DEVICE_METADATA['localhost']['subtype'] == 'DualToR' and DEVICE_NEIGHBOR_METADATA is defined and DEVICE_NEIGHBOR[port].name in DEVICE_NEIGHBOR_METADATA and DEVICE_NEIGHBOR_METADATA[DEVICE_NEIGHBOR[port].name].type == 'LeafRouter') %}
{%- if port_names_list_extra_queues.append(port) %}{%- endif %}
{% endif %}
{%- endfor %}
{%- set pfc_to_pg_map_supported_asics = ['mellanox', 'barefoot', 'marvell'] -%} {%- set pfc_to_pg_map_supported_asics = ['mellanox', 'barefoot', 'marvell'] -%}
{%- set backend_device_types = ['BackEndToRRouter', 'BackEndLeafRouter'] -%} {%- set backend_device_types = ['BackEndToRRouter', 'BackEndLeafRouter'] -%}
@ -64,6 +71,9 @@
"7": "7" "7": "7"
} }
}, },
{% if generate_tc_to_queue_map is defined %}
{{- generate_tc_to_queue_map() }}
{% else %}
"TC_TO_QUEUE_MAP": { "TC_TO_QUEUE_MAP": {
"AZURE": { "AZURE": {
"0": "0", "0": "0",
@ -76,6 +86,7 @@
"7": "7" "7": "7"
} }
}, },
{% endif %}
{% 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": { "AZURE": {
@ -89,6 +100,8 @@
"7": "7" "7": "7"
} }
}, },
{% elif generate_dscp_to_tc_map is defined %}
{{- generate_dscp_to_tc_map() }}
{% else %} {% else %}
"DSCP_TO_TC_MAP": { "DSCP_TO_TC_MAP": {
"AZURE": { "AZURE": {
@ -208,7 +221,12 @@
{% if asic_type in pfc_to_pg_map_supported_asics %} {% if asic_type in pfc_to_pg_map_supported_asics %}
"pfc_to_pg_map" : "AZURE", "pfc_to_pg_map" : "AZURE",
{% endif %} {% endif %}
"pfc_enable" : "3,4" {% if port in port_names_list_extra_queues %}
"pfc_enable" : "2,3,4,6",
{% else %}
"pfc_enable" : "3,4",
{% endif %}
"pfcwd_sw_enable" : "3,4"
}{% if not loop.last %},{% endif %} }{% if not loop.last %},{% endif %}
{% endfor %} {% endfor %}
@ -268,7 +286,12 @@
{% endfor %} {% endfor %}
{% for port in PORT_ACTIVE %} {% for port in PORT_ACTIVE %}
"{{ port }}|2": { "{{ port }}|2": {
{% if port in port_names_list_extra_queues %}
"scheduler" : "scheduler.1",
"wred_profile": "AZURE_LOSSLESS"
{% else %}
"scheduler": "scheduler.0" "scheduler": "scheduler.0"
{% endif %}
}, },
{% endfor %} {% endfor %}
{% for port in PORT_ACTIVE %} {% for port in PORT_ACTIVE %}
@ -278,7 +301,12 @@
{% endfor %} {% endfor %}
{% for port in PORT_ACTIVE %} {% for port in PORT_ACTIVE %}
"{{ port }}|6": { "{{ port }}|6": {
{% if port in port_names_list_extra_queues %}
"scheduler" : "scheduler.1",
"wred_profile": "AZURE_LOSSLESS"
{% else %}
"scheduler": "scheduler.0" "scheduler": "scheduler.0"
{% endif %}
}{% if not loop.last %},{% endif %} }{% if not loop.last %},{% endif %}
{% endfor %} {% endfor %}

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

View File

@ -119,196 +119,224 @@
"tc_to_queue_map" : "AZURE", "tc_to_queue_map" : "AZURE",
"tc_to_pg_map" : "AZURE", "tc_to_pg_map" : "AZURE",
"pfc_to_queue_map": "AZURE", "pfc_to_queue_map": "AZURE",
"pfc_enable" : "3,4" "pfc_enable" : "3,4",
"pfcwd_sw_enable" : "3,4"
}, },
"Ethernet8": { "Ethernet8": {
"dscp_to_tc_map" : "AZURE", "dscp_to_tc_map" : "AZURE",
"tc_to_queue_map" : "AZURE", "tc_to_queue_map" : "AZURE",
"tc_to_pg_map" : "AZURE", "tc_to_pg_map" : "AZURE",
"pfc_to_queue_map": "AZURE", "pfc_to_queue_map": "AZURE",
"pfc_enable" : "3,4" "pfc_enable" : "3,4",
"pfcwd_sw_enable" : "3,4"
}, },
"Ethernet12": { "Ethernet12": {
"dscp_to_tc_map" : "AZURE", "dscp_to_tc_map" : "AZURE",
"tc_to_queue_map" : "AZURE", "tc_to_queue_map" : "AZURE",
"tc_to_pg_map" : "AZURE", "tc_to_pg_map" : "AZURE",
"pfc_to_queue_map": "AZURE", "pfc_to_queue_map": "AZURE",
"pfc_enable" : "3,4" "pfc_enable" : "3,4",
"pfcwd_sw_enable" : "3,4"
}, },
"Ethernet16": { "Ethernet16": {
"dscp_to_tc_map" : "AZURE", "dscp_to_tc_map" : "AZURE",
"tc_to_queue_map" : "AZURE", "tc_to_queue_map" : "AZURE",
"tc_to_pg_map" : "AZURE", "tc_to_pg_map" : "AZURE",
"pfc_to_queue_map": "AZURE", "pfc_to_queue_map": "AZURE",
"pfc_enable" : "3,4" "pfc_enable" : "3,4",
"pfcwd_sw_enable" : "3,4"
}, },
"Ethernet20": { "Ethernet20": {
"dscp_to_tc_map" : "AZURE", "dscp_to_tc_map" : "AZURE",
"tc_to_queue_map" : "AZURE", "tc_to_queue_map" : "AZURE",
"tc_to_pg_map" : "AZURE", "tc_to_pg_map" : "AZURE",
"pfc_to_queue_map": "AZURE", "pfc_to_queue_map": "AZURE",
"pfc_enable" : "3,4" "pfc_enable" : "3,4",
"pfcwd_sw_enable" : "3,4"
}, },
"Ethernet24": { "Ethernet24": {
"dscp_to_tc_map" : "AZURE", "dscp_to_tc_map" : "AZURE",
"tc_to_queue_map" : "AZURE", "tc_to_queue_map" : "AZURE",
"tc_to_pg_map" : "AZURE", "tc_to_pg_map" : "AZURE",
"pfc_to_queue_map": "AZURE", "pfc_to_queue_map": "AZURE",
"pfc_enable" : "3,4" "pfc_enable" : "3,4",
"pfcwd_sw_enable" : "3,4"
}, },
"Ethernet28": { "Ethernet28": {
"dscp_to_tc_map" : "AZURE", "dscp_to_tc_map" : "AZURE",
"tc_to_queue_map" : "AZURE", "tc_to_queue_map" : "AZURE",
"tc_to_pg_map" : "AZURE", "tc_to_pg_map" : "AZURE",
"pfc_to_queue_map": "AZURE", "pfc_to_queue_map": "AZURE",
"pfc_enable" : "3,4" "pfc_enable" : "3,4",
"pfcwd_sw_enable" : "3,4"
}, },
"Ethernet32": { "Ethernet32": {
"dscp_to_tc_map" : "AZURE", "dscp_to_tc_map" : "AZURE",
"tc_to_queue_map" : "AZURE", "tc_to_queue_map" : "AZURE",
"tc_to_pg_map" : "AZURE", "tc_to_pg_map" : "AZURE",
"pfc_to_queue_map": "AZURE", "pfc_to_queue_map": "AZURE",
"pfc_enable" : "3,4" "pfc_enable" : "3,4",
"pfcwd_sw_enable" : "3,4"
}, },
"Ethernet36": { "Ethernet36": {
"dscp_to_tc_map" : "AZURE", "dscp_to_tc_map" : "AZURE",
"tc_to_queue_map" : "AZURE", "tc_to_queue_map" : "AZURE",
"tc_to_pg_map" : "AZURE", "tc_to_pg_map" : "AZURE",
"pfc_to_queue_map": "AZURE", "pfc_to_queue_map": "AZURE",
"pfc_enable" : "3,4" "pfc_enable" : "3,4",
"pfcwd_sw_enable" : "3,4"
}, },
"Ethernet40": { "Ethernet40": {
"dscp_to_tc_map" : "AZURE", "dscp_to_tc_map" : "AZURE",
"tc_to_queue_map" : "AZURE", "tc_to_queue_map" : "AZURE",
"tc_to_pg_map" : "AZURE", "tc_to_pg_map" : "AZURE",
"pfc_to_queue_map": "AZURE", "pfc_to_queue_map": "AZURE",
"pfc_enable" : "3,4" "pfc_enable" : "3,4",
"pfcwd_sw_enable" : "3,4"
}, },
"Ethernet44": { "Ethernet44": {
"dscp_to_tc_map" : "AZURE", "dscp_to_tc_map" : "AZURE",
"tc_to_queue_map" : "AZURE", "tc_to_queue_map" : "AZURE",
"tc_to_pg_map" : "AZURE", "tc_to_pg_map" : "AZURE",
"pfc_to_queue_map": "AZURE", "pfc_to_queue_map": "AZURE",
"pfc_enable" : "3,4" "pfc_enable" : "3,4",
"pfcwd_sw_enable" : "3,4"
}, },
"Ethernet48": { "Ethernet48": {
"dscp_to_tc_map" : "AZURE", "dscp_to_tc_map" : "AZURE",
"tc_to_queue_map" : "AZURE", "tc_to_queue_map" : "AZURE",
"tc_to_pg_map" : "AZURE", "tc_to_pg_map" : "AZURE",
"pfc_to_queue_map": "AZURE", "pfc_to_queue_map": "AZURE",
"pfc_enable" : "3,4" "pfc_enable" : "3,4",
"pfcwd_sw_enable" : "3,4"
}, },
"Ethernet52": { "Ethernet52": {
"dscp_to_tc_map" : "AZURE", "dscp_to_tc_map" : "AZURE",
"tc_to_queue_map" : "AZURE", "tc_to_queue_map" : "AZURE",
"tc_to_pg_map" : "AZURE", "tc_to_pg_map" : "AZURE",
"pfc_to_queue_map": "AZURE", "pfc_to_queue_map": "AZURE",
"pfc_enable" : "3,4" "pfc_enable" : "3,4",
"pfcwd_sw_enable" : "3,4"
}, },
"Ethernet56": { "Ethernet56": {
"dscp_to_tc_map" : "AZURE", "dscp_to_tc_map" : "AZURE",
"tc_to_queue_map" : "AZURE", "tc_to_queue_map" : "AZURE",
"tc_to_pg_map" : "AZURE", "tc_to_pg_map" : "AZURE",
"pfc_to_queue_map": "AZURE", "pfc_to_queue_map": "AZURE",
"pfc_enable" : "3,4" "pfc_enable" : "3,4",
"pfcwd_sw_enable" : "3,4"
}, },
"Ethernet60": { "Ethernet60": {
"dscp_to_tc_map" : "AZURE", "dscp_to_tc_map" : "AZURE",
"tc_to_queue_map" : "AZURE", "tc_to_queue_map" : "AZURE",
"tc_to_pg_map" : "AZURE", "tc_to_pg_map" : "AZURE",
"pfc_to_queue_map": "AZURE", "pfc_to_queue_map": "AZURE",
"pfc_enable" : "3,4" "pfc_enable" : "3,4",
"pfcwd_sw_enable" : "3,4"
}, },
"Ethernet64": { "Ethernet64": {
"dscp_to_tc_map" : "AZURE", "dscp_to_tc_map" : "AZURE",
"tc_to_queue_map" : "AZURE", "tc_to_queue_map" : "AZURE",
"tc_to_pg_map" : "AZURE", "tc_to_pg_map" : "AZURE",
"pfc_to_queue_map": "AZURE", "pfc_to_queue_map": "AZURE",
"pfc_enable" : "3,4" "pfc_enable" : "3,4",
"pfcwd_sw_enable" : "3,4"
}, },
"Ethernet68": { "Ethernet68": {
"dscp_to_tc_map" : "AZURE", "dscp_to_tc_map" : "AZURE",
"tc_to_queue_map" : "AZURE", "tc_to_queue_map" : "AZURE",
"tc_to_pg_map" : "AZURE", "tc_to_pg_map" : "AZURE",
"pfc_to_queue_map": "AZURE", "pfc_to_queue_map": "AZURE",
"pfc_enable" : "3,4" "pfc_enable" : "3,4",
"pfcwd_sw_enable" : "3,4"
}, },
"Ethernet72": { "Ethernet72": {
"dscp_to_tc_map" : "AZURE", "dscp_to_tc_map" : "AZURE",
"tc_to_queue_map" : "AZURE", "tc_to_queue_map" : "AZURE",
"tc_to_pg_map" : "AZURE", "tc_to_pg_map" : "AZURE",
"pfc_to_queue_map": "AZURE", "pfc_to_queue_map": "AZURE",
"pfc_enable" : "3,4" "pfc_enable" : "3,4",
"pfcwd_sw_enable" : "3,4"
}, },
"Ethernet76": { "Ethernet76": {
"dscp_to_tc_map" : "AZURE", "dscp_to_tc_map" : "AZURE",
"tc_to_queue_map" : "AZURE", "tc_to_queue_map" : "AZURE",
"tc_to_pg_map" : "AZURE", "tc_to_pg_map" : "AZURE",
"pfc_to_queue_map": "AZURE", "pfc_to_queue_map": "AZURE",
"pfc_enable" : "3,4" "pfc_enable" : "3,4",
"pfcwd_sw_enable" : "3,4"
}, },
"Ethernet80": { "Ethernet80": {
"dscp_to_tc_map" : "AZURE", "dscp_to_tc_map" : "AZURE",
"tc_to_queue_map" : "AZURE", "tc_to_queue_map" : "AZURE",
"tc_to_pg_map" : "AZURE", "tc_to_pg_map" : "AZURE",
"pfc_to_queue_map": "AZURE", "pfc_to_queue_map": "AZURE",
"pfc_enable" : "3,4" "pfc_enable" : "3,4",
"pfcwd_sw_enable" : "3,4"
}, },
"Ethernet84": { "Ethernet84": {
"dscp_to_tc_map" : "AZURE", "dscp_to_tc_map" : "AZURE",
"tc_to_queue_map" : "AZURE", "tc_to_queue_map" : "AZURE",
"tc_to_pg_map" : "AZURE", "tc_to_pg_map" : "AZURE",
"pfc_to_queue_map": "AZURE", "pfc_to_queue_map": "AZURE",
"pfc_enable" : "3,4" "pfc_enable" : "3,4",
"pfcwd_sw_enable" : "3,4"
}, },
"Ethernet88": { "Ethernet88": {
"dscp_to_tc_map" : "AZURE", "dscp_to_tc_map" : "AZURE",
"tc_to_queue_map" : "AZURE", "tc_to_queue_map" : "AZURE",
"tc_to_pg_map" : "AZURE", "tc_to_pg_map" : "AZURE",
"pfc_to_queue_map": "AZURE", "pfc_to_queue_map": "AZURE",
"pfc_enable" : "3,4" "pfc_enable" : "3,4",
"pfcwd_sw_enable" : "3,4"
}, },
"Ethernet92": { "Ethernet92": {
"dscp_to_tc_map" : "AZURE", "dscp_to_tc_map" : "AZURE",
"tc_to_queue_map" : "AZURE", "tc_to_queue_map" : "AZURE",
"tc_to_pg_map" : "AZURE", "tc_to_pg_map" : "AZURE",
"pfc_to_queue_map": "AZURE", "pfc_to_queue_map": "AZURE",
"pfc_enable" : "3,4" "pfc_enable" : "3,4",
"pfcwd_sw_enable" : "3,4"
}, },
"Ethernet96": { "Ethernet96": {
"dscp_to_tc_map" : "AZURE", "dscp_to_tc_map" : "AZURE",
"tc_to_queue_map" : "AZURE", "tc_to_queue_map" : "AZURE",
"tc_to_pg_map" : "AZURE", "tc_to_pg_map" : "AZURE",
"pfc_to_queue_map": "AZURE", "pfc_to_queue_map": "AZURE",
"pfc_enable" : "3,4" "pfc_enable" : "3,4",
"pfcwd_sw_enable" : "3,4"
}, },
"Ethernet112": { "Ethernet112": {
"dscp_to_tc_map" : "AZURE", "dscp_to_tc_map" : "AZURE",
"tc_to_queue_map" : "AZURE", "tc_to_queue_map" : "AZURE",
"tc_to_pg_map" : "AZURE", "tc_to_pg_map" : "AZURE",
"pfc_to_queue_map": "AZURE", "pfc_to_queue_map": "AZURE",
"pfc_enable" : "3,4" "pfc_enable" : "3,4",
"pfcwd_sw_enable" : "3,4"
}, },
"Ethernet116": { "Ethernet116": {
"dscp_to_tc_map" : "AZURE", "dscp_to_tc_map" : "AZURE",
"tc_to_queue_map" : "AZURE", "tc_to_queue_map" : "AZURE",
"tc_to_pg_map" : "AZURE", "tc_to_pg_map" : "AZURE",
"pfc_to_queue_map": "AZURE", "pfc_to_queue_map": "AZURE",
"pfc_enable" : "3,4" "pfc_enable" : "3,4",
"pfcwd_sw_enable" : "3,4"
}, },
"Ethernet120": { "Ethernet120": {
"dscp_to_tc_map" : "AZURE", "dscp_to_tc_map" : "AZURE",
"tc_to_queue_map" : "AZURE", "tc_to_queue_map" : "AZURE",
"tc_to_pg_map" : "AZURE", "tc_to_pg_map" : "AZURE",
"pfc_to_queue_map": "AZURE", "pfc_to_queue_map": "AZURE",
"pfc_enable" : "3,4" "pfc_enable" : "3,4",
"pfcwd_sw_enable" : "3,4"
}, },
"Ethernet124": { "Ethernet124": {
"dscp_to_tc_map" : "AZURE", "dscp_to_tc_map" : "AZURE",
"tc_to_queue_map" : "AZURE", "tc_to_queue_map" : "AZURE",
"tc_to_pg_map" : "AZURE", "tc_to_pg_map" : "AZURE",
"pfc_to_queue_map": "AZURE", "pfc_to_queue_map": "AZURE",
"pfc_enable" : "3,4" "pfc_enable" : "3,4",
"pfcwd_sw_enable" : "3,4"
} }
}, },
"WRED_PROFILE": { "WRED_PROFILE": {

View File

@ -119,315 +119,360 @@
"tc_to_queue_map" : "AZURE", "tc_to_queue_map" : "AZURE",
"tc_to_pg_map" : "AZURE", "tc_to_pg_map" : "AZURE",
"pfc_to_queue_map": "AZURE", "pfc_to_queue_map": "AZURE",
"pfc_enable" : "3,4" "pfc_enable" : "3,4",
"pfcwd_sw_enable" : "3,4"
}, },
"Ethernet4": { "Ethernet4": {
"dscp_to_tc_map" : "AZURE", "dscp_to_tc_map" : "AZURE",
"tc_to_queue_map" : "AZURE", "tc_to_queue_map" : "AZURE",
"tc_to_pg_map" : "AZURE", "tc_to_pg_map" : "AZURE",
"pfc_to_queue_map": "AZURE", "pfc_to_queue_map": "AZURE",
"pfc_enable" : "3,4" "pfc_enable" : "3,4",
"pfcwd_sw_enable" : "3,4"
}, },
"Ethernet8": { "Ethernet8": {
"dscp_to_tc_map" : "AZURE", "dscp_to_tc_map" : "AZURE",
"tc_to_queue_map" : "AZURE", "tc_to_queue_map" : "AZURE",
"tc_to_pg_map" : "AZURE", "tc_to_pg_map" : "AZURE",
"pfc_to_queue_map": "AZURE", "pfc_to_queue_map": "AZURE",
"pfc_enable" : "3,4" "pfc_enable" : "3,4",
"pfcwd_sw_enable" : "3,4"
}, },
"Ethernet12": { "Ethernet12": {
"dscp_to_tc_map" : "AZURE", "dscp_to_tc_map" : "AZURE",
"tc_to_queue_map" : "AZURE", "tc_to_queue_map" : "AZURE",
"tc_to_pg_map" : "AZURE", "tc_to_pg_map" : "AZURE",
"pfc_to_queue_map": "AZURE", "pfc_to_queue_map": "AZURE",
"pfc_enable" : "3,4" "pfc_enable" : "3,4",
"pfcwd_sw_enable" : "3,4"
}, },
"Ethernet16": { "Ethernet16": {
"dscp_to_tc_map" : "AZURE", "dscp_to_tc_map" : "AZURE",
"tc_to_queue_map" : "AZURE", "tc_to_queue_map" : "AZURE",
"tc_to_pg_map" : "AZURE", "tc_to_pg_map" : "AZURE",
"pfc_to_queue_map": "AZURE", "pfc_to_queue_map": "AZURE",
"pfc_enable" : "3,4" "pfc_enable" : "3,4",
"pfcwd_sw_enable" : "3,4"
}, },
"Ethernet20": { "Ethernet20": {
"dscp_to_tc_map" : "AZURE", "dscp_to_tc_map" : "AZURE",
"tc_to_queue_map" : "AZURE", "tc_to_queue_map" : "AZURE",
"tc_to_pg_map" : "AZURE", "tc_to_pg_map" : "AZURE",
"pfc_to_queue_map": "AZURE", "pfc_to_queue_map": "AZURE",
"pfc_enable" : "3,4" "pfc_enable" : "3,4",
"pfcwd_sw_enable" : "3,4"
}, },
"Ethernet24": { "Ethernet24": {
"dscp_to_tc_map" : "AZURE", "dscp_to_tc_map" : "AZURE",
"tc_to_queue_map" : "AZURE", "tc_to_queue_map" : "AZURE",
"tc_to_pg_map" : "AZURE", "tc_to_pg_map" : "AZURE",
"pfc_to_queue_map": "AZURE", "pfc_to_queue_map": "AZURE",
"pfc_enable" : "3,4" "pfc_enable" : "3,4",
"pfcwd_sw_enable" : "3,4"
}, },
"Ethernet28": { "Ethernet28": {
"dscp_to_tc_map" : "AZURE", "dscp_to_tc_map" : "AZURE",
"tc_to_queue_map" : "AZURE", "tc_to_queue_map" : "AZURE",
"tc_to_pg_map" : "AZURE", "tc_to_pg_map" : "AZURE",
"pfc_to_queue_map": "AZURE", "pfc_to_queue_map": "AZURE",
"pfc_enable" : "3,4" "pfc_enable" : "3,4",
"pfcwd_sw_enable" : "3,4"
}, },
"Ethernet32": { "Ethernet32": {
"dscp_to_tc_map" : "AZURE", "dscp_to_tc_map" : "AZURE",
"tc_to_queue_map" : "AZURE", "tc_to_queue_map" : "AZURE",
"tc_to_pg_map" : "AZURE", "tc_to_pg_map" : "AZURE",
"pfc_to_queue_map": "AZURE", "pfc_to_queue_map": "AZURE",
"pfc_enable" : "3,4" "pfc_enable" : "3,4",
"pfcwd_sw_enable" : "3,4"
}, },
"Ethernet36": { "Ethernet36": {
"dscp_to_tc_map" : "AZURE", "dscp_to_tc_map" : "AZURE",
"tc_to_queue_map" : "AZURE", "tc_to_queue_map" : "AZURE",
"tc_to_pg_map" : "AZURE", "tc_to_pg_map" : "AZURE",
"pfc_to_queue_map": "AZURE", "pfc_to_queue_map": "AZURE",
"pfc_enable" : "3,4" "pfc_enable" : "3,4",
"pfcwd_sw_enable" : "3,4"
}, },
"Ethernet40": { "Ethernet40": {
"dscp_to_tc_map" : "AZURE", "dscp_to_tc_map" : "AZURE",
"tc_to_queue_map" : "AZURE", "tc_to_queue_map" : "AZURE",
"tc_to_pg_map" : "AZURE", "tc_to_pg_map" : "AZURE",
"pfc_to_queue_map": "AZURE", "pfc_to_queue_map": "AZURE",
"pfc_enable" : "3,4" "pfc_enable" : "3,4",
"pfcwd_sw_enable" : "3,4"
}, },
"Ethernet44": { "Ethernet44": {
"dscp_to_tc_map" : "AZURE", "dscp_to_tc_map" : "AZURE",
"tc_to_queue_map" : "AZURE", "tc_to_queue_map" : "AZURE",
"tc_to_pg_map" : "AZURE", "tc_to_pg_map" : "AZURE",
"pfc_to_queue_map": "AZURE", "pfc_to_queue_map": "AZURE",
"pfc_enable" : "3,4" "pfc_enable" : "3,4",
"pfcwd_sw_enable" : "3,4"
}, },
"Ethernet48": { "Ethernet48": {
"dscp_to_tc_map" : "AZURE", "dscp_to_tc_map" : "AZURE",
"tc_to_queue_map" : "AZURE", "tc_to_queue_map" : "AZURE",
"tc_to_pg_map" : "AZURE", "tc_to_pg_map" : "AZURE",
"pfc_to_queue_map": "AZURE", "pfc_to_queue_map": "AZURE",
"pfc_enable" : "3,4" "pfc_enable" : "3,4",
"pfcwd_sw_enable" : "3,4"
}, },
"Ethernet52": { "Ethernet52": {
"dscp_to_tc_map" : "AZURE", "dscp_to_tc_map" : "AZURE",
"tc_to_queue_map" : "AZURE", "tc_to_queue_map" : "AZURE",
"tc_to_pg_map" : "AZURE", "tc_to_pg_map" : "AZURE",
"pfc_to_queue_map": "AZURE", "pfc_to_queue_map": "AZURE",
"pfc_enable" : "3,4" "pfc_enable" : "3,4",
"pfcwd_sw_enable" : "3,4"
}, },
"Ethernet56": { "Ethernet56": {
"dscp_to_tc_map" : "AZURE", "dscp_to_tc_map" : "AZURE",
"tc_to_queue_map" : "AZURE", "tc_to_queue_map" : "AZURE",
"tc_to_pg_map" : "AZURE", "tc_to_pg_map" : "AZURE",
"pfc_to_queue_map": "AZURE", "pfc_to_queue_map": "AZURE",
"pfc_enable" : "3,4" "pfc_enable" : "3,4",
"pfcwd_sw_enable" : "3,4"
}, },
"Ethernet60": { "Ethernet60": {
"dscp_to_tc_map" : "AZURE", "dscp_to_tc_map" : "AZURE",
"tc_to_queue_map" : "AZURE", "tc_to_queue_map" : "AZURE",
"tc_to_pg_map" : "AZURE", "tc_to_pg_map" : "AZURE",
"pfc_to_queue_map": "AZURE", "pfc_to_queue_map": "AZURE",
"pfc_enable" : "3,4" "pfc_enable" : "3,4",
"pfcwd_sw_enable" : "3,4"
}, },
"Ethernet64": { "Ethernet64": {
"dscp_to_tc_map" : "AZURE", "dscp_to_tc_map" : "AZURE",
"tc_to_queue_map" : "AZURE", "tc_to_queue_map" : "AZURE",
"tc_to_pg_map" : "AZURE", "tc_to_pg_map" : "AZURE",
"pfc_to_queue_map": "AZURE", "pfc_to_queue_map": "AZURE",
"pfc_enable" : "3,4" "pfc_enable" : "3,4",
"pfcwd_sw_enable" : "3,4"
}, },
"Ethernet68": { "Ethernet68": {
"dscp_to_tc_map" : "AZURE", "dscp_to_tc_map" : "AZURE",
"tc_to_queue_map" : "AZURE", "tc_to_queue_map" : "AZURE",
"tc_to_pg_map" : "AZURE", "tc_to_pg_map" : "AZURE",
"pfc_to_queue_map": "AZURE", "pfc_to_queue_map": "AZURE",
"pfc_enable" : "3,4" "pfc_enable" : "3,4",
"pfcwd_sw_enable" : "3,4"
}, },
"Ethernet72": { "Ethernet72": {
"dscp_to_tc_map" : "AZURE", "dscp_to_tc_map" : "AZURE",
"tc_to_queue_map" : "AZURE", "tc_to_queue_map" : "AZURE",
"tc_to_pg_map" : "AZURE", "tc_to_pg_map" : "AZURE",
"pfc_to_queue_map": "AZURE", "pfc_to_queue_map": "AZURE",
"pfc_enable" : "3,4" "pfc_enable" : "3,4",
"pfcwd_sw_enable" : "3,4"
}, },
"Ethernet76": { "Ethernet76": {
"dscp_to_tc_map" : "AZURE", "dscp_to_tc_map" : "AZURE",
"tc_to_queue_map" : "AZURE", "tc_to_queue_map" : "AZURE",
"tc_to_pg_map" : "AZURE", "tc_to_pg_map" : "AZURE",
"pfc_to_queue_map": "AZURE", "pfc_to_queue_map": "AZURE",
"pfc_enable" : "3,4" "pfc_enable" : "3,4",
"pfcwd_sw_enable" : "3,4"
}, },
"Ethernet80": { "Ethernet80": {
"dscp_to_tc_map" : "AZURE", "dscp_to_tc_map" : "AZURE",
"tc_to_queue_map" : "AZURE", "tc_to_queue_map" : "AZURE",
"tc_to_pg_map" : "AZURE", "tc_to_pg_map" : "AZURE",
"pfc_to_queue_map": "AZURE", "pfc_to_queue_map": "AZURE",
"pfc_enable" : "3,4" "pfc_enable" : "3,4",
"pfcwd_sw_enable" : "3,4"
}, },
"Ethernet84": { "Ethernet84": {
"dscp_to_tc_map" : "AZURE", "dscp_to_tc_map" : "AZURE",
"tc_to_queue_map" : "AZURE", "tc_to_queue_map" : "AZURE",
"tc_to_pg_map" : "AZURE", "tc_to_pg_map" : "AZURE",
"pfc_to_queue_map": "AZURE", "pfc_to_queue_map": "AZURE",
"pfc_enable" : "3,4" "pfc_enable" : "3,4",
"pfcwd_sw_enable" : "3,4"
}, },
"Ethernet88": { "Ethernet88": {
"dscp_to_tc_map" : "AZURE", "dscp_to_tc_map" : "AZURE",
"tc_to_queue_map" : "AZURE", "tc_to_queue_map" : "AZURE",
"tc_to_pg_map" : "AZURE", "tc_to_pg_map" : "AZURE",
"pfc_to_queue_map": "AZURE", "pfc_to_queue_map": "AZURE",
"pfc_enable" : "3,4" "pfc_enable" : "3,4",
"pfcwd_sw_enable" : "3,4"
}, },
"Ethernet92": { "Ethernet92": {
"dscp_to_tc_map" : "AZURE", "dscp_to_tc_map" : "AZURE",
"tc_to_queue_map" : "AZURE", "tc_to_queue_map" : "AZURE",
"tc_to_pg_map" : "AZURE", "tc_to_pg_map" : "AZURE",
"pfc_to_queue_map": "AZURE", "pfc_to_queue_map": "AZURE",
"pfc_enable" : "3,4" "pfc_enable" : "3,4",
"pfcwd_sw_enable" : "3,4"
}, },
"Ethernet96": { "Ethernet96": {
"dscp_to_tc_map" : "AZURE", "dscp_to_tc_map" : "AZURE",
"tc_to_queue_map" : "AZURE", "tc_to_queue_map" : "AZURE",
"tc_to_pg_map" : "AZURE", "tc_to_pg_map" : "AZURE",
"pfc_to_queue_map": "AZURE", "pfc_to_queue_map": "AZURE",
"pfc_enable" : "3,4" "pfc_enable" : "3,4",
"pfcwd_sw_enable" : "3,4"
}, },
"Ethernet100": { "Ethernet100": {
"dscp_to_tc_map" : "AZURE", "dscp_to_tc_map" : "AZURE",
"tc_to_queue_map" : "AZURE", "tc_to_queue_map" : "AZURE",
"tc_to_pg_map" : "AZURE", "tc_to_pg_map" : "AZURE",
"pfc_to_queue_map": "AZURE", "pfc_to_queue_map": "AZURE",
"pfc_enable" : "3,4" "pfc_enable" : "3,4",
"pfcwd_sw_enable" : "3,4"
}, },
"Ethernet104": { "Ethernet104": {
"dscp_to_tc_map" : "AZURE", "dscp_to_tc_map" : "AZURE",
"tc_to_queue_map" : "AZURE", "tc_to_queue_map" : "AZURE",
"tc_to_pg_map" : "AZURE", "tc_to_pg_map" : "AZURE",
"pfc_to_queue_map": "AZURE", "pfc_to_queue_map": "AZURE",
"pfc_enable" : "3,4" "pfc_enable" : "3,4",
"pfcwd_sw_enable" : "3,4"
}, },
"Ethernet108": { "Ethernet108": {
"dscp_to_tc_map" : "AZURE", "dscp_to_tc_map" : "AZURE",
"tc_to_queue_map" : "AZURE", "tc_to_queue_map" : "AZURE",
"tc_to_pg_map" : "AZURE", "tc_to_pg_map" : "AZURE",
"pfc_to_queue_map": "AZURE", "pfc_to_queue_map": "AZURE",
"pfc_enable" : "3,4" "pfc_enable" : "3,4",
"pfcwd_sw_enable" : "3,4"
}, },
"Ethernet112": { "Ethernet112": {
"dscp_to_tc_map" : "AZURE", "dscp_to_tc_map" : "AZURE",
"tc_to_queue_map" : "AZURE", "tc_to_queue_map" : "AZURE",
"tc_to_pg_map" : "AZURE", "tc_to_pg_map" : "AZURE",
"pfc_to_queue_map": "AZURE", "pfc_to_queue_map": "AZURE",
"pfc_enable" : "3,4" "pfc_enable" : "3,4",
"pfcwd_sw_enable" : "3,4"
}, },
"Ethernet116": { "Ethernet116": {
"dscp_to_tc_map" : "AZURE", "dscp_to_tc_map" : "AZURE",
"tc_to_queue_map" : "AZURE", "tc_to_queue_map" : "AZURE",
"tc_to_pg_map" : "AZURE", "tc_to_pg_map" : "AZURE",
"pfc_to_queue_map": "AZURE", "pfc_to_queue_map": "AZURE",
"pfc_enable" : "3,4" "pfc_enable" : "3,4",
"pfcwd_sw_enable" : "3,4"
}, },
"Ethernet120": { "Ethernet120": {
"dscp_to_tc_map" : "AZURE", "dscp_to_tc_map" : "AZURE",
"tc_to_queue_map" : "AZURE", "tc_to_queue_map" : "AZURE",
"tc_to_pg_map" : "AZURE", "tc_to_pg_map" : "AZURE",
"pfc_to_queue_map": "AZURE", "pfc_to_queue_map": "AZURE",
"pfc_enable" : "3,4" "pfc_enable" : "3,4",
"pfcwd_sw_enable" : "3,4"
}, },
"Ethernet124": { "Ethernet124": {
"dscp_to_tc_map" : "AZURE", "dscp_to_tc_map" : "AZURE",
"tc_to_queue_map" : "AZURE", "tc_to_queue_map" : "AZURE",
"tc_to_pg_map" : "AZURE", "tc_to_pg_map" : "AZURE",
"pfc_to_queue_map": "AZURE", "pfc_to_queue_map": "AZURE",
"pfc_enable" : "3,4" "pfc_enable" : "3,4",
"pfcwd_sw_enable" : "3,4"
}, },
"Ethernet128": { "Ethernet128": {
"dscp_to_tc_map" : "AZURE", "dscp_to_tc_map" : "AZURE",
"tc_to_queue_map" : "AZURE", "tc_to_queue_map" : "AZURE",
"tc_to_pg_map" : "AZURE", "tc_to_pg_map" : "AZURE",
"pfc_to_queue_map": "AZURE", "pfc_to_queue_map": "AZURE",
"pfc_enable" : "3,4" "pfc_enable" : "3,4",
"pfcwd_sw_enable" : "3,4"
}, },
"Ethernet132": { "Ethernet132": {
"dscp_to_tc_map" : "AZURE", "dscp_to_tc_map" : "AZURE",
"tc_to_queue_map" : "AZURE", "tc_to_queue_map" : "AZURE",
"tc_to_pg_map" : "AZURE", "tc_to_pg_map" : "AZURE",
"pfc_to_queue_map": "AZURE", "pfc_to_queue_map": "AZURE",
"pfc_enable" : "3,4" "pfc_enable" : "3,4",
"pfcwd_sw_enable" : "3,4"
}, },
"Ethernet136": { "Ethernet136": {
"dscp_to_tc_map" : "AZURE", "dscp_to_tc_map" : "AZURE",
"tc_to_queue_map" : "AZURE", "tc_to_queue_map" : "AZURE",
"tc_to_pg_map" : "AZURE", "tc_to_pg_map" : "AZURE",
"pfc_to_queue_map": "AZURE", "pfc_to_queue_map": "AZURE",
"pfc_enable" : "3,4" "pfc_enable" : "3,4",
"pfcwd_sw_enable" : "3,4"
}, },
"Ethernet140": { "Ethernet140": {
"dscp_to_tc_map" : "AZURE", "dscp_to_tc_map" : "AZURE",
"tc_to_queue_map" : "AZURE", "tc_to_queue_map" : "AZURE",
"tc_to_pg_map" : "AZURE", "tc_to_pg_map" : "AZURE",
"pfc_to_queue_map": "AZURE", "pfc_to_queue_map": "AZURE",
"pfc_enable" : "3,4" "pfc_enable" : "3,4",
"pfcwd_sw_enable" : "3,4"
}, },
"Ethernet144": { "Ethernet144": {
"dscp_to_tc_map" : "AZURE", "dscp_to_tc_map" : "AZURE",
"tc_to_queue_map" : "AZURE", "tc_to_queue_map" : "AZURE",
"tc_to_pg_map" : "AZURE", "tc_to_pg_map" : "AZURE",
"pfc_to_queue_map": "AZURE", "pfc_to_queue_map": "AZURE",
"pfc_enable" : "3,4" "pfc_enable" : "3,4",
"pfcwd_sw_enable" : "3,4"
}, },
"Ethernet148": { "Ethernet148": {
"dscp_to_tc_map" : "AZURE", "dscp_to_tc_map" : "AZURE",
"tc_to_queue_map" : "AZURE", "tc_to_queue_map" : "AZURE",
"tc_to_pg_map" : "AZURE", "tc_to_pg_map" : "AZURE",
"pfc_to_queue_map": "AZURE", "pfc_to_queue_map": "AZURE",
"pfc_enable" : "3,4" "pfc_enable" : "3,4",
"pfcwd_sw_enable" : "3,4"
}, },
"Ethernet152": { "Ethernet152": {
"dscp_to_tc_map" : "AZURE", "dscp_to_tc_map" : "AZURE",
"tc_to_queue_map" : "AZURE", "tc_to_queue_map" : "AZURE",
"tc_to_pg_map" : "AZURE", "tc_to_pg_map" : "AZURE",
"pfc_to_queue_map": "AZURE", "pfc_to_queue_map": "AZURE",
"pfc_enable" : "3,4" "pfc_enable" : "3,4",
"pfcwd_sw_enable" : "3,4"
}, },
"Ethernet156": { "Ethernet156": {
"dscp_to_tc_map" : "AZURE", "dscp_to_tc_map" : "AZURE",
"tc_to_queue_map" : "AZURE", "tc_to_queue_map" : "AZURE",
"tc_to_pg_map" : "AZURE", "tc_to_pg_map" : "AZURE",
"pfc_to_queue_map": "AZURE", "pfc_to_queue_map": "AZURE",
"pfc_enable" : "3,4" "pfc_enable" : "3,4",
"pfcwd_sw_enable" : "3,4"
}, },
"Ethernet164": { "Ethernet164": {
"dscp_to_tc_map" : "AZURE", "dscp_to_tc_map" : "AZURE",
"tc_to_queue_map" : "AZURE", "tc_to_queue_map" : "AZURE",
"tc_to_pg_map" : "AZURE", "tc_to_pg_map" : "AZURE",
"pfc_to_queue_map": "AZURE", "pfc_to_queue_map": "AZURE",
"pfc_enable" : "3,4" "pfc_enable" : "3,4",
"pfcwd_sw_enable" : "3,4"
}, },
"Ethernet176": { "Ethernet176": {
"dscp_to_tc_map" : "AZURE", "dscp_to_tc_map" : "AZURE",
"tc_to_queue_map" : "AZURE", "tc_to_queue_map" : "AZURE",
"tc_to_pg_map" : "AZURE", "tc_to_pg_map" : "AZURE",
"pfc_to_queue_map": "AZURE", "pfc_to_queue_map": "AZURE",
"pfc_enable" : "3,4" "pfc_enable" : "3,4",
"pfcwd_sw_enable" : "3,4"
}, },
"Ethernet180": { "Ethernet180": {
"dscp_to_tc_map" : "AZURE", "dscp_to_tc_map" : "AZURE",
"tc_to_queue_map" : "AZURE", "tc_to_queue_map" : "AZURE",
"tc_to_pg_map" : "AZURE", "tc_to_pg_map" : "AZURE",
"pfc_to_queue_map": "AZURE", "pfc_to_queue_map": "AZURE",
"pfc_enable" : "3,4" "pfc_enable" : "3,4",
"pfcwd_sw_enable" : "3,4"
}, },
"Ethernet184": { "Ethernet184": {
"dscp_to_tc_map" : "AZURE", "dscp_to_tc_map" : "AZURE",
"tc_to_queue_map" : "AZURE", "tc_to_queue_map" : "AZURE",
"tc_to_pg_map" : "AZURE", "tc_to_pg_map" : "AZURE",
"pfc_to_queue_map": "AZURE", "pfc_to_queue_map": "AZURE",
"pfc_enable" : "3,4" "pfc_enable" : "3,4",
"pfcwd_sw_enable" : "3,4"
}, },
"Ethernet188": { "Ethernet188": {
"dscp_to_tc_map" : "AZURE", "dscp_to_tc_map" : "AZURE",
"tc_to_queue_map" : "AZURE", "tc_to_queue_map" : "AZURE",
"tc_to_pg_map" : "AZURE", "tc_to_pg_map" : "AZURE",
"pfc_to_queue_map": "AZURE", "pfc_to_queue_map": "AZURE",
"pfc_enable" : "3,4" "pfc_enable" : "3,4",
"pfcwd_sw_enable" : "3,4"
} }
}, },
"WRED_PROFILE": { "WRED_PROFILE": {

View File

@ -119,308 +119,352 @@
"tc_to_queue_map" : "AZURE", "tc_to_queue_map" : "AZURE",
"tc_to_pg_map" : "AZURE", "tc_to_pg_map" : "AZURE",
"pfc_to_queue_map": "AZURE", "pfc_to_queue_map": "AZURE",
"pfc_enable" : "3,4" "pfc_enable" : "3,4",
"pfcwd_sw_enable" : "3,4"
}, },
"Ethernet1": { "Ethernet1": {
"dscp_to_tc_map" : "AZURE", "dscp_to_tc_map" : "AZURE",
"tc_to_queue_map" : "AZURE", "tc_to_queue_map" : "AZURE",
"tc_to_pg_map" : "AZURE", "tc_to_pg_map" : "AZURE",
"pfc_to_queue_map": "AZURE", "pfc_to_queue_map": "AZURE",
"pfc_enable" : "3,4" "pfc_enable" : "3,4",
"pfcwd_sw_enable" : "3,4"
}, },
"Ethernet4": { "Ethernet4": {
"dscp_to_tc_map" : "AZURE", "dscp_to_tc_map" : "AZURE",
"tc_to_queue_map" : "AZURE", "tc_to_queue_map" : "AZURE",
"tc_to_pg_map" : "AZURE", "tc_to_pg_map" : "AZURE",
"pfc_to_queue_map": "AZURE", "pfc_to_queue_map": "AZURE",
"pfc_enable" : "3,4" "pfc_enable" : "3,4",
"pfcwd_sw_enable" : "3,4"
}, },
"Ethernet5": { "Ethernet5": {
"dscp_to_tc_map" : "AZURE", "dscp_to_tc_map" : "AZURE",
"tc_to_queue_map" : "AZURE", "tc_to_queue_map" : "AZURE",
"tc_to_pg_map" : "AZURE", "tc_to_pg_map" : "AZURE",
"pfc_to_queue_map": "AZURE", "pfc_to_queue_map": "AZURE",
"pfc_enable" : "3,4" "pfc_enable" : "3,4",
"pfcwd_sw_enable" : "3,4"
}, },
"Ethernet6": { "Ethernet6": {
"dscp_to_tc_map" : "AZURE", "dscp_to_tc_map" : "AZURE",
"tc_to_queue_map" : "AZURE", "tc_to_queue_map" : "AZURE",
"tc_to_pg_map" : "AZURE", "tc_to_pg_map" : "AZURE",
"pfc_to_queue_map": "AZURE", "pfc_to_queue_map": "AZURE",
"pfc_enable" : "3,4" "pfc_enable" : "3,4",
"pfcwd_sw_enable" : "3,4"
}, },
"Ethernet7": { "Ethernet7": {
"dscp_to_tc_map" : "AZURE", "dscp_to_tc_map" : "AZURE",
"tc_to_queue_map" : "AZURE", "tc_to_queue_map" : "AZURE",
"tc_to_pg_map" : "AZURE", "tc_to_pg_map" : "AZURE",
"pfc_to_queue_map": "AZURE", "pfc_to_queue_map": "AZURE",
"pfc_enable" : "3,4" "pfc_enable" : "3,4",
"pfcwd_sw_enable" : "3,4"
}, },
"Ethernet8": { "Ethernet8": {
"dscp_to_tc_map" : "AZURE", "dscp_to_tc_map" : "AZURE",
"tc_to_queue_map" : "AZURE", "tc_to_queue_map" : "AZURE",
"tc_to_pg_map" : "AZURE", "tc_to_pg_map" : "AZURE",
"pfc_to_queue_map": "AZURE", "pfc_to_queue_map": "AZURE",
"pfc_enable" : "3,4" "pfc_enable" : "3,4",
"pfcwd_sw_enable" : "3,4"
}, },
"Ethernet9": { "Ethernet9": {
"dscp_to_tc_map" : "AZURE", "dscp_to_tc_map" : "AZURE",
"tc_to_queue_map" : "AZURE", "tc_to_queue_map" : "AZURE",
"tc_to_pg_map" : "AZURE", "tc_to_pg_map" : "AZURE",
"pfc_to_queue_map": "AZURE", "pfc_to_queue_map": "AZURE",
"pfc_enable" : "3,4" "pfc_enable" : "3,4",
"pfcwd_sw_enable" : "3,4"
}, },
"Ethernet10": { "Ethernet10": {
"dscp_to_tc_map" : "AZURE", "dscp_to_tc_map" : "AZURE",
"tc_to_queue_map" : "AZURE", "tc_to_queue_map" : "AZURE",
"tc_to_pg_map" : "AZURE", "tc_to_pg_map" : "AZURE",
"pfc_to_queue_map": "AZURE", "pfc_to_queue_map": "AZURE",
"pfc_enable" : "3,4" "pfc_enable" : "3,4",
"pfcwd_sw_enable" : "3,4"
}, },
"Ethernet11": { "Ethernet11": {
"dscp_to_tc_map" : "AZURE", "dscp_to_tc_map" : "AZURE",
"tc_to_queue_map" : "AZURE", "tc_to_queue_map" : "AZURE",
"tc_to_pg_map" : "AZURE", "tc_to_pg_map" : "AZURE",
"pfc_to_queue_map": "AZURE", "pfc_to_queue_map": "AZURE",
"pfc_enable" : "3,4" "pfc_enable" : "3,4",
"pfcwd_sw_enable" : "3,4"
}, },
"Ethernet12": { "Ethernet12": {
"dscp_to_tc_map" : "AZURE", "dscp_to_tc_map" : "AZURE",
"tc_to_queue_map" : "AZURE", "tc_to_queue_map" : "AZURE",
"tc_to_pg_map" : "AZURE", "tc_to_pg_map" : "AZURE",
"pfc_to_queue_map": "AZURE", "pfc_to_queue_map": "AZURE",
"pfc_enable" : "3,4" "pfc_enable" : "3,4",
"pfcwd_sw_enable" : "3,4"
}, },
"Ethernet13": { "Ethernet13": {
"dscp_to_tc_map" : "AZURE", "dscp_to_tc_map" : "AZURE",
"tc_to_queue_map" : "AZURE", "tc_to_queue_map" : "AZURE",
"tc_to_pg_map" : "AZURE", "tc_to_pg_map" : "AZURE",
"pfc_to_queue_map": "AZURE", "pfc_to_queue_map": "AZURE",
"pfc_enable" : "3,4" "pfc_enable" : "3,4",
"pfcwd_sw_enable" : "3,4"
}, },
"Ethernet14": { "Ethernet14": {
"dscp_to_tc_map" : "AZURE", "dscp_to_tc_map" : "AZURE",
"tc_to_queue_map" : "AZURE", "tc_to_queue_map" : "AZURE",
"tc_to_pg_map" : "AZURE", "tc_to_pg_map" : "AZURE",
"pfc_to_queue_map": "AZURE", "pfc_to_queue_map": "AZURE",
"pfc_enable" : "3,4" "pfc_enable" : "3,4",
"pfcwd_sw_enable" : "3,4"
}, },
"Ethernet15": { "Ethernet15": {
"dscp_to_tc_map" : "AZURE", "dscp_to_tc_map" : "AZURE",
"tc_to_queue_map" : "AZURE", "tc_to_queue_map" : "AZURE",
"tc_to_pg_map" : "AZURE", "tc_to_pg_map" : "AZURE",
"pfc_to_queue_map": "AZURE", "pfc_to_queue_map": "AZURE",
"pfc_enable" : "3,4" "pfc_enable" : "3,4",
"pfcwd_sw_enable" : "3,4"
}, },
"Ethernet16": { "Ethernet16": {
"dscp_to_tc_map" : "AZURE", "dscp_to_tc_map" : "AZURE",
"tc_to_queue_map" : "AZURE", "tc_to_queue_map" : "AZURE",
"tc_to_pg_map" : "AZURE", "tc_to_pg_map" : "AZURE",
"pfc_to_queue_map": "AZURE", "pfc_to_queue_map": "AZURE",
"pfc_enable" : "3,4" "pfc_enable" : "3,4",
"pfcwd_sw_enable" : "3,4"
}, },
"Ethernet17": { "Ethernet17": {
"dscp_to_tc_map" : "AZURE", "dscp_to_tc_map" : "AZURE",
"tc_to_queue_map" : "AZURE", "tc_to_queue_map" : "AZURE",
"tc_to_pg_map" : "AZURE", "tc_to_pg_map" : "AZURE",
"pfc_to_queue_map": "AZURE", "pfc_to_queue_map": "AZURE",
"pfc_enable" : "3,4" "pfc_enable" : "3,4",
"pfcwd_sw_enable" : "3,4"
}, },
"Ethernet20": { "Ethernet20": {
"dscp_to_tc_map" : "AZURE", "dscp_to_tc_map" : "AZURE",
"tc_to_queue_map" : "AZURE", "tc_to_queue_map" : "AZURE",
"tc_to_pg_map" : "AZURE", "tc_to_pg_map" : "AZURE",
"pfc_to_queue_map": "AZURE", "pfc_to_queue_map": "AZURE",
"pfc_enable" : "3,4" "pfc_enable" : "3,4",
"pfcwd_sw_enable" : "3,4"
}, },
"Ethernet21": { "Ethernet21": {
"dscp_to_tc_map" : "AZURE", "dscp_to_tc_map" : "AZURE",
"tc_to_queue_map" : "AZURE", "tc_to_queue_map" : "AZURE",
"tc_to_pg_map" : "AZURE", "tc_to_pg_map" : "AZURE",
"pfc_to_queue_map": "AZURE", "pfc_to_queue_map": "AZURE",
"pfc_enable" : "3,4" "pfc_enable" : "3,4",
"pfcwd_sw_enable" : "3,4"
}, },
"Ethernet22": { "Ethernet22": {
"dscp_to_tc_map" : "AZURE", "dscp_to_tc_map" : "AZURE",
"tc_to_queue_map" : "AZURE", "tc_to_queue_map" : "AZURE",
"tc_to_pg_map" : "AZURE", "tc_to_pg_map" : "AZURE",
"pfc_to_queue_map": "AZURE", "pfc_to_queue_map": "AZURE",
"pfc_enable" : "3,4" "pfc_enable" : "3,4",
"pfcwd_sw_enable" : "3,4"
}, },
"Ethernet23": { "Ethernet23": {
"dscp_to_tc_map" : "AZURE", "dscp_to_tc_map" : "AZURE",
"tc_to_queue_map" : "AZURE", "tc_to_queue_map" : "AZURE",
"tc_to_pg_map" : "AZURE", "tc_to_pg_map" : "AZURE",
"pfc_to_queue_map": "AZURE", "pfc_to_queue_map": "AZURE",
"pfc_enable" : "3,4" "pfc_enable" : "3,4",
"pfcwd_sw_enable" : "3,4"
}, },
"Ethernet24": { "Ethernet24": {
"dscp_to_tc_map" : "AZURE", "dscp_to_tc_map" : "AZURE",
"tc_to_queue_map" : "AZURE", "tc_to_queue_map" : "AZURE",
"tc_to_pg_map" : "AZURE", "tc_to_pg_map" : "AZURE",
"pfc_to_queue_map": "AZURE", "pfc_to_queue_map": "AZURE",
"pfc_enable" : "3,4" "pfc_enable" : "3,4",
"pfcwd_sw_enable" : "3,4"
}, },
"Ethernet25": { "Ethernet25": {
"dscp_to_tc_map" : "AZURE", "dscp_to_tc_map" : "AZURE",
"tc_to_queue_map" : "AZURE", "tc_to_queue_map" : "AZURE",
"tc_to_pg_map" : "AZURE", "tc_to_pg_map" : "AZURE",
"pfc_to_queue_map": "AZURE", "pfc_to_queue_map": "AZURE",
"pfc_enable" : "3,4" "pfc_enable" : "3,4",
"pfcwd_sw_enable" : "3,4"
}, },
"Ethernet26": { "Ethernet26": {
"dscp_to_tc_map" : "AZURE", "dscp_to_tc_map" : "AZURE",
"tc_to_queue_map" : "AZURE", "tc_to_queue_map" : "AZURE",
"tc_to_pg_map" : "AZURE", "tc_to_pg_map" : "AZURE",
"pfc_to_queue_map": "AZURE", "pfc_to_queue_map": "AZURE",
"pfc_enable" : "3,4" "pfc_enable" : "3,4",
"pfcwd_sw_enable" : "3,4"
}, },
"Ethernet27": { "Ethernet27": {
"dscp_to_tc_map" : "AZURE", "dscp_to_tc_map" : "AZURE",
"tc_to_queue_map" : "AZURE", "tc_to_queue_map" : "AZURE",
"tc_to_pg_map" : "AZURE", "tc_to_pg_map" : "AZURE",
"pfc_to_queue_map": "AZURE", "pfc_to_queue_map": "AZURE",
"pfc_enable" : "3,4" "pfc_enable" : "3,4",
"pfcwd_sw_enable" : "3,4"
}, },
"Ethernet28": { "Ethernet28": {
"dscp_to_tc_map" : "AZURE", "dscp_to_tc_map" : "AZURE",
"tc_to_queue_map" : "AZURE", "tc_to_queue_map" : "AZURE",
"tc_to_pg_map" : "AZURE", "tc_to_pg_map" : "AZURE",
"pfc_to_queue_map": "AZURE", "pfc_to_queue_map": "AZURE",
"pfc_enable" : "3,4" "pfc_enable" : "3,4",
"pfcwd_sw_enable" : "3,4"
}, },
"Ethernet29": { "Ethernet29": {
"dscp_to_tc_map" : "AZURE", "dscp_to_tc_map" : "AZURE",
"tc_to_queue_map" : "AZURE", "tc_to_queue_map" : "AZURE",
"tc_to_pg_map" : "AZURE", "tc_to_pg_map" : "AZURE",
"pfc_to_queue_map": "AZURE", "pfc_to_queue_map": "AZURE",
"pfc_enable" : "3,4" "pfc_enable" : "3,4",
"pfcwd_sw_enable" : "3,4"
}, },
"Ethernet30": { "Ethernet30": {
"dscp_to_tc_map" : "AZURE", "dscp_to_tc_map" : "AZURE",
"tc_to_queue_map" : "AZURE", "tc_to_queue_map" : "AZURE",
"tc_to_pg_map" : "AZURE", "tc_to_pg_map" : "AZURE",
"pfc_to_queue_map": "AZURE", "pfc_to_queue_map": "AZURE",
"pfc_enable" : "3,4" "pfc_enable" : "3,4",
"pfcwd_sw_enable" : "3,4"
}, },
"Ethernet31": { "Ethernet31": {
"dscp_to_tc_map" : "AZURE", "dscp_to_tc_map" : "AZURE",
"tc_to_queue_map" : "AZURE", "tc_to_queue_map" : "AZURE",
"tc_to_pg_map" : "AZURE", "tc_to_pg_map" : "AZURE",
"pfc_to_queue_map": "AZURE", "pfc_to_queue_map": "AZURE",
"pfc_enable" : "3,4" "pfc_enable" : "3,4",
"pfcwd_sw_enable" : "3,4"
}, },
"Ethernet32": { "Ethernet32": {
"dscp_to_tc_map" : "AZURE", "dscp_to_tc_map" : "AZURE",
"tc_to_queue_map" : "AZURE", "tc_to_queue_map" : "AZURE",
"tc_to_pg_map" : "AZURE", "tc_to_pg_map" : "AZURE",
"pfc_to_queue_map": "AZURE", "pfc_to_queue_map": "AZURE",
"pfc_enable" : "3,4" "pfc_enable" : "3,4",
"pfcwd_sw_enable" : "3,4"
}, },
"Ethernet36": { "Ethernet36": {
"dscp_to_tc_map" : "AZURE", "dscp_to_tc_map" : "AZURE",
"tc_to_queue_map" : "AZURE", "tc_to_queue_map" : "AZURE",
"tc_to_pg_map" : "AZURE", "tc_to_pg_map" : "AZURE",
"pfc_to_queue_map": "AZURE", "pfc_to_queue_map": "AZURE",
"pfc_enable" : "3,4" "pfc_enable" : "3,4",
"pfcwd_sw_enable" : "3,4"
}, },
"Ethernet37": { "Ethernet37": {
"dscp_to_tc_map" : "AZURE", "dscp_to_tc_map" : "AZURE",
"tc_to_queue_map" : "AZURE", "tc_to_queue_map" : "AZURE",
"tc_to_pg_map" : "AZURE", "tc_to_pg_map" : "AZURE",
"pfc_to_queue_map": "AZURE", "pfc_to_queue_map": "AZURE",
"pfc_enable" : "3,4" "pfc_enable" : "3,4",
"pfcwd_sw_enable" : "3,4"
}, },
"Ethernet38": { "Ethernet38": {
"dscp_to_tc_map" : "AZURE", "dscp_to_tc_map" : "AZURE",
"tc_to_queue_map" : "AZURE", "tc_to_queue_map" : "AZURE",
"tc_to_pg_map" : "AZURE", "tc_to_pg_map" : "AZURE",
"pfc_to_queue_map": "AZURE", "pfc_to_queue_map": "AZURE",
"pfc_enable" : "3,4" "pfc_enable" : "3,4",
"pfcwd_sw_enable" : "3,4"
}, },
"Ethernet39": { "Ethernet39": {
"dscp_to_tc_map" : "AZURE", "dscp_to_tc_map" : "AZURE",
"tc_to_queue_map" : "AZURE", "tc_to_queue_map" : "AZURE",
"tc_to_pg_map" : "AZURE", "tc_to_pg_map" : "AZURE",
"pfc_to_queue_map": "AZURE", "pfc_to_queue_map": "AZURE",
"pfc_enable" : "3,4" "pfc_enable" : "3,4",
"pfcwd_sw_enable" : "3,4"
}, },
"Ethernet40": { "Ethernet40": {
"dscp_to_tc_map" : "AZURE", "dscp_to_tc_map" : "AZURE",
"tc_to_queue_map" : "AZURE", "tc_to_queue_map" : "AZURE",
"tc_to_pg_map" : "AZURE", "tc_to_pg_map" : "AZURE",
"pfc_to_queue_map": "AZURE", "pfc_to_queue_map": "AZURE",
"pfc_enable" : "3,4" "pfc_enable" : "3,4",
"pfcwd_sw_enable" : "3,4"
}, },
"Ethernet41": { "Ethernet41": {
"dscp_to_tc_map" : "AZURE", "dscp_to_tc_map" : "AZURE",
"tc_to_queue_map" : "AZURE", "tc_to_queue_map" : "AZURE",
"tc_to_pg_map" : "AZURE", "tc_to_pg_map" : "AZURE",
"pfc_to_queue_map": "AZURE", "pfc_to_queue_map": "AZURE",
"pfc_enable" : "3,4" "pfc_enable" : "3,4",
"pfcwd_sw_enable" : "3,4"
}, },
"Ethernet42": { "Ethernet42": {
"dscp_to_tc_map" : "AZURE", "dscp_to_tc_map" : "AZURE",
"tc_to_queue_map" : "AZURE", "tc_to_queue_map" : "AZURE",
"tc_to_pg_map" : "AZURE", "tc_to_pg_map" : "AZURE",
"pfc_to_queue_map": "AZURE", "pfc_to_queue_map": "AZURE",
"pfc_enable" : "3,4" "pfc_enable" : "3,4",
"pfcwd_sw_enable" : "3,4"
}, },
"Ethernet48": { "Ethernet48": {
"dscp_to_tc_map" : "AZURE", "dscp_to_tc_map" : "AZURE",
"tc_to_queue_map" : "AZURE", "tc_to_queue_map" : "AZURE",
"tc_to_pg_map" : "AZURE", "tc_to_pg_map" : "AZURE",
"pfc_to_queue_map": "AZURE", "pfc_to_queue_map": "AZURE",
"pfc_enable" : "3,4" "pfc_enable" : "3,4",
"pfcwd_sw_enable" : "3,4"
}, },
"Ethernet52": { "Ethernet52": {
"dscp_to_tc_map" : "AZURE", "dscp_to_tc_map" : "AZURE",
"tc_to_queue_map" : "AZURE", "tc_to_queue_map" : "AZURE",
"tc_to_pg_map" : "AZURE", "tc_to_pg_map" : "AZURE",
"pfc_to_queue_map": "AZURE", "pfc_to_queue_map": "AZURE",
"pfc_enable" : "3,4" "pfc_enable" : "3,4",
"pfcwd_sw_enable" : "3,4"
}, },
"Ethernet53": { "Ethernet53": {
"dscp_to_tc_map" : "AZURE", "dscp_to_tc_map" : "AZURE",
"tc_to_queue_map" : "AZURE", "tc_to_queue_map" : "AZURE",
"tc_to_pg_map" : "AZURE", "tc_to_pg_map" : "AZURE",
"pfc_to_queue_map": "AZURE", "pfc_to_queue_map": "AZURE",
"pfc_enable" : "3,4" "pfc_enable" : "3,4",
"pfcwd_sw_enable" : "3,4"
}, },
"Ethernet54": { "Ethernet54": {
"dscp_to_tc_map" : "AZURE", "dscp_to_tc_map" : "AZURE",
"tc_to_queue_map" : "AZURE", "tc_to_queue_map" : "AZURE",
"tc_to_pg_map" : "AZURE", "tc_to_pg_map" : "AZURE",
"pfc_to_queue_map": "AZURE", "pfc_to_queue_map": "AZURE",
"pfc_enable" : "3,4" "pfc_enable" : "3,4",
"pfcwd_sw_enable" : "3,4"
}, },
"Ethernet55": { "Ethernet55": {
"dscp_to_tc_map" : "AZURE", "dscp_to_tc_map" : "AZURE",
"tc_to_queue_map" : "AZURE", "tc_to_queue_map" : "AZURE",
"tc_to_pg_map" : "AZURE", "tc_to_pg_map" : "AZURE",
"pfc_to_queue_map": "AZURE", "pfc_to_queue_map": "AZURE",
"pfc_enable" : "3,4" "pfc_enable" : "3,4",
"pfcwd_sw_enable" : "3,4"
}, },
"Ethernet56": { "Ethernet56": {
"dscp_to_tc_map" : "AZURE", "dscp_to_tc_map" : "AZURE",
"tc_to_queue_map" : "AZURE", "tc_to_queue_map" : "AZURE",
"tc_to_pg_map" : "AZURE", "tc_to_pg_map" : "AZURE",
"pfc_to_queue_map": "AZURE", "pfc_to_queue_map": "AZURE",
"pfc_enable" : "3,4" "pfc_enable" : "3,4",
"pfcwd_sw_enable" : "3,4"
}, },
"Ethernet57": { "Ethernet57": {
"dscp_to_tc_map" : "AZURE", "dscp_to_tc_map" : "AZURE",
"tc_to_queue_map" : "AZURE", "tc_to_queue_map" : "AZURE",
"tc_to_pg_map" : "AZURE", "tc_to_pg_map" : "AZURE",
"pfc_to_queue_map": "AZURE", "pfc_to_queue_map": "AZURE",
"pfc_enable" : "3,4" "pfc_enable" : "3,4",
"pfcwd_sw_enable" : "3,4"
}, },
"Ethernet58": { "Ethernet58": {
"dscp_to_tc_map" : "AZURE", "dscp_to_tc_map" : "AZURE",
"tc_to_queue_map" : "AZURE", "tc_to_queue_map" : "AZURE",
"tc_to_pg_map" : "AZURE", "tc_to_pg_map" : "AZURE",
"pfc_to_queue_map": "AZURE", "pfc_to_queue_map": "AZURE",
"pfc_enable" : "3,4" "pfc_enable" : "3,4",
"pfcwd_sw_enable" : "3,4"
} }
}, },
"WRED_PROFILE": { "WRED_PROFILE": {

View File

@ -123,224 +123,256 @@
"tc_to_queue_map" : "AZURE", "tc_to_queue_map" : "AZURE",
"tc_to_pg_map" : "AZURE", "tc_to_pg_map" : "AZURE",
"pfc_to_queue_map": "AZURE", "pfc_to_queue_map": "AZURE",
"pfc_enable" : "3,4" "pfc_enable" : "3,4",
"pfcwd_sw_enable" : "3,4"
}, },
"Ethernet8": { "Ethernet8": {
"dscp_to_tc_map" : "AZURE", "dscp_to_tc_map" : "AZURE",
"tc_to_queue_map" : "AZURE", "tc_to_queue_map" : "AZURE",
"tc_to_pg_map" : "AZURE", "tc_to_pg_map" : "AZURE",
"pfc_to_queue_map": "AZURE", "pfc_to_queue_map": "AZURE",
"pfc_enable" : "3,4" "pfc_enable" : "3,4",
"pfcwd_sw_enable" : "3,4"
}, },
"Ethernet16": { "Ethernet16": {
"dscp_to_tc_map" : "AZURE", "dscp_to_tc_map" : "AZURE",
"tc_to_queue_map" : "AZURE", "tc_to_queue_map" : "AZURE",
"tc_to_pg_map" : "AZURE", "tc_to_pg_map" : "AZURE",
"pfc_to_queue_map": "AZURE", "pfc_to_queue_map": "AZURE",
"pfc_enable" : "3,4" "pfc_enable" : "3,4",
"pfcwd_sw_enable" : "3,4"
}, },
"Ethernet24": { "Ethernet24": {
"dscp_to_tc_map" : "AZURE", "dscp_to_tc_map" : "AZURE",
"tc_to_queue_map" : "AZURE", "tc_to_queue_map" : "AZURE",
"tc_to_pg_map" : "AZURE", "tc_to_pg_map" : "AZURE",
"pfc_to_queue_map": "AZURE", "pfc_to_queue_map": "AZURE",
"pfc_enable" : "3,4" "pfc_enable" : "3,4",
"pfcwd_sw_enable" : "3,4"
}, },
"Ethernet32": { "Ethernet32": {
"dscp_to_tc_map" : "AZURE", "dscp_to_tc_map" : "AZURE",
"tc_to_queue_map" : "AZURE", "tc_to_queue_map" : "AZURE",
"tc_to_pg_map" : "AZURE", "tc_to_pg_map" : "AZURE",
"pfc_to_queue_map": "AZURE", "pfc_to_queue_map": "AZURE",
"pfc_enable" : "3,4" "pfc_enable" : "3,4",
"pfcwd_sw_enable" : "3,4"
}, },
"Ethernet40": { "Ethernet40": {
"dscp_to_tc_map" : "AZURE", "dscp_to_tc_map" : "AZURE",
"tc_to_queue_map" : "AZURE", "tc_to_queue_map" : "AZURE",
"tc_to_pg_map" : "AZURE", "tc_to_pg_map" : "AZURE",
"pfc_to_queue_map": "AZURE", "pfc_to_queue_map": "AZURE",
"pfc_enable" : "3,4" "pfc_enable" : "3,4",
"pfcwd_sw_enable" : "3,4"
}, },
"Ethernet48": { "Ethernet48": {
"dscp_to_tc_map" : "AZURE", "dscp_to_tc_map" : "AZURE",
"tc_to_queue_map" : "AZURE", "tc_to_queue_map" : "AZURE",
"tc_to_pg_map" : "AZURE", "tc_to_pg_map" : "AZURE",
"pfc_to_queue_map": "AZURE", "pfc_to_queue_map": "AZURE",
"pfc_enable" : "3,4" "pfc_enable" : "3,4",
"pfcwd_sw_enable" : "3,4"
}, },
"Ethernet56": { "Ethernet56": {
"dscp_to_tc_map" : "AZURE", "dscp_to_tc_map" : "AZURE",
"tc_to_queue_map" : "AZURE", "tc_to_queue_map" : "AZURE",
"tc_to_pg_map" : "AZURE", "tc_to_pg_map" : "AZURE",
"pfc_to_queue_map": "AZURE", "pfc_to_queue_map": "AZURE",
"pfc_enable" : "3,4" "pfc_enable" : "3,4",
"pfcwd_sw_enable" : "3,4"
}, },
"Ethernet64": { "Ethernet64": {
"dscp_to_tc_map" : "AZURE", "dscp_to_tc_map" : "AZURE",
"tc_to_queue_map" : "AZURE", "tc_to_queue_map" : "AZURE",
"tc_to_pg_map" : "AZURE", "tc_to_pg_map" : "AZURE",
"pfc_to_queue_map": "AZURE", "pfc_to_queue_map": "AZURE",
"pfc_enable" : "3,4" "pfc_enable" : "3,4",
"pfcwd_sw_enable" : "3,4"
}, },
"Ethernet72": { "Ethernet72": {
"dscp_to_tc_map" : "AZURE", "dscp_to_tc_map" : "AZURE",
"tc_to_queue_map" : "AZURE", "tc_to_queue_map" : "AZURE",
"tc_to_pg_map" : "AZURE", "tc_to_pg_map" : "AZURE",
"pfc_to_queue_map": "AZURE", "pfc_to_queue_map": "AZURE",
"pfc_enable" : "3,4" "pfc_enable" : "3,4",
"pfcwd_sw_enable" : "3,4"
}, },
"Ethernet80": { "Ethernet80": {
"dscp_to_tc_map" : "AZURE", "dscp_to_tc_map" : "AZURE",
"tc_to_queue_map" : "AZURE", "tc_to_queue_map" : "AZURE",
"tc_to_pg_map" : "AZURE", "tc_to_pg_map" : "AZURE",
"pfc_to_queue_map": "AZURE", "pfc_to_queue_map": "AZURE",
"pfc_enable" : "3,4" "pfc_enable" : "3,4",
"pfcwd_sw_enable" : "3,4"
}, },
"Ethernet88": { "Ethernet88": {
"dscp_to_tc_map" : "AZURE", "dscp_to_tc_map" : "AZURE",
"tc_to_queue_map" : "AZURE", "tc_to_queue_map" : "AZURE",
"tc_to_pg_map" : "AZURE", "tc_to_pg_map" : "AZURE",
"pfc_to_queue_map": "AZURE", "pfc_to_queue_map": "AZURE",
"pfc_enable" : "3,4" "pfc_enable" : "3,4",
"pfcwd_sw_enable" : "3,4"
}, },
"Ethernet96": { "Ethernet96": {
"dscp_to_tc_map" : "AZURE", "dscp_to_tc_map" : "AZURE",
"tc_to_queue_map" : "AZURE", "tc_to_queue_map" : "AZURE",
"tc_to_pg_map" : "AZURE", "tc_to_pg_map" : "AZURE",
"pfc_to_queue_map": "AZURE", "pfc_to_queue_map": "AZURE",
"pfc_enable" : "3,4" "pfc_enable" : "3,4",
"pfcwd_sw_enable" : "3,4"
}, },
"Ethernet104": { "Ethernet104": {
"dscp_to_tc_map" : "AZURE", "dscp_to_tc_map" : "AZURE",
"tc_to_queue_map" : "AZURE", "tc_to_queue_map" : "AZURE",
"tc_to_pg_map" : "AZURE", "tc_to_pg_map" : "AZURE",
"pfc_to_queue_map": "AZURE", "pfc_to_queue_map": "AZURE",
"pfc_enable" : "3,4" "pfc_enable" : "3,4",
"pfcwd_sw_enable" : "3,4"
}, },
"Ethernet112": { "Ethernet112": {
"dscp_to_tc_map" : "AZURE", "dscp_to_tc_map" : "AZURE",
"tc_to_queue_map" : "AZURE", "tc_to_queue_map" : "AZURE",
"tc_to_pg_map" : "AZURE", "tc_to_pg_map" : "AZURE",
"pfc_to_queue_map": "AZURE", "pfc_to_queue_map": "AZURE",
"pfc_enable" : "3,4" "pfc_enable" : "3,4",
"pfcwd_sw_enable" : "3,4"
}, },
"Ethernet120": { "Ethernet120": {
"dscp_to_tc_map" : "AZURE", "dscp_to_tc_map" : "AZURE",
"tc_to_queue_map" : "AZURE", "tc_to_queue_map" : "AZURE",
"tc_to_pg_map" : "AZURE", "tc_to_pg_map" : "AZURE",
"pfc_to_queue_map": "AZURE", "pfc_to_queue_map": "AZURE",
"pfc_enable" : "3,4" "pfc_enable" : "3,4",
"pfcwd_sw_enable" : "3,4"
}, },
"Ethernet128": { "Ethernet128": {
"dscp_to_tc_map" : "AZURE", "dscp_to_tc_map" : "AZURE",
"tc_to_queue_map" : "AZURE", "tc_to_queue_map" : "AZURE",
"tc_to_pg_map" : "AZURE", "tc_to_pg_map" : "AZURE",
"pfc_to_queue_map": "AZURE", "pfc_to_queue_map": "AZURE",
"pfc_enable" : "3,4" "pfc_enable" : "3,4",
"pfcwd_sw_enable" : "3,4"
}, },
"Ethernet136": { "Ethernet136": {
"dscp_to_tc_map" : "AZURE", "dscp_to_tc_map" : "AZURE",
"tc_to_queue_map" : "AZURE", "tc_to_queue_map" : "AZURE",
"tc_to_pg_map" : "AZURE", "tc_to_pg_map" : "AZURE",
"pfc_to_queue_map": "AZURE", "pfc_to_queue_map": "AZURE",
"pfc_enable" : "3,4" "pfc_enable" : "3,4",
"pfcwd_sw_enable" : "3,4"
}, },
"Ethernet144": { "Ethernet144": {
"dscp_to_tc_map" : "AZURE", "dscp_to_tc_map" : "AZURE",
"tc_to_queue_map" : "AZURE", "tc_to_queue_map" : "AZURE",
"tc_to_pg_map" : "AZURE", "tc_to_pg_map" : "AZURE",
"pfc_to_queue_map": "AZURE", "pfc_to_queue_map": "AZURE",
"pfc_enable" : "3,4" "pfc_enable" : "3,4",
"pfcwd_sw_enable" : "3,4"
}, },
"Ethernet152": { "Ethernet152": {
"dscp_to_tc_map" : "AZURE", "dscp_to_tc_map" : "AZURE",
"tc_to_queue_map" : "AZURE", "tc_to_queue_map" : "AZURE",
"tc_to_pg_map" : "AZURE", "tc_to_pg_map" : "AZURE",
"pfc_to_queue_map": "AZURE", "pfc_to_queue_map": "AZURE",
"pfc_enable" : "3,4" "pfc_enable" : "3,4",
"pfcwd_sw_enable" : "3,4"
}, },
"Ethernet160": { "Ethernet160": {
"dscp_to_tc_map" : "AZURE", "dscp_to_tc_map" : "AZURE",
"tc_to_queue_map" : "AZURE", "tc_to_queue_map" : "AZURE",
"tc_to_pg_map" : "AZURE", "tc_to_pg_map" : "AZURE",
"pfc_to_queue_map": "AZURE", "pfc_to_queue_map": "AZURE",
"pfc_enable" : "3,4" "pfc_enable" : "3,4",
"pfcwd_sw_enable" : "3,4"
}, },
"Ethernet168": { "Ethernet168": {
"dscp_to_tc_map" : "AZURE", "dscp_to_tc_map" : "AZURE",
"tc_to_queue_map" : "AZURE", "tc_to_queue_map" : "AZURE",
"tc_to_pg_map" : "AZURE", "tc_to_pg_map" : "AZURE",
"pfc_to_queue_map": "AZURE", "pfc_to_queue_map": "AZURE",
"pfc_enable" : "3,4" "pfc_enable" : "3,4",
"pfcwd_sw_enable" : "3,4"
}, },
"Ethernet176": { "Ethernet176": {
"dscp_to_tc_map" : "AZURE", "dscp_to_tc_map" : "AZURE",
"tc_to_queue_map" : "AZURE", "tc_to_queue_map" : "AZURE",
"tc_to_pg_map" : "AZURE", "tc_to_pg_map" : "AZURE",
"pfc_to_queue_map": "AZURE", "pfc_to_queue_map": "AZURE",
"pfc_enable" : "3,4" "pfc_enable" : "3,4",
"pfcwd_sw_enable" : "3,4"
}, },
"Ethernet184": { "Ethernet184": {
"dscp_to_tc_map" : "AZURE", "dscp_to_tc_map" : "AZURE",
"tc_to_queue_map" : "AZURE", "tc_to_queue_map" : "AZURE",
"tc_to_pg_map" : "AZURE", "tc_to_pg_map" : "AZURE",
"pfc_to_queue_map": "AZURE", "pfc_to_queue_map": "AZURE",
"pfc_enable" : "3,4" "pfc_enable" : "3,4",
"pfcwd_sw_enable" : "3,4"
}, },
"Ethernet192": { "Ethernet192": {
"dscp_to_tc_map" : "AZURE", "dscp_to_tc_map" : "AZURE",
"tc_to_queue_map" : "AZURE", "tc_to_queue_map" : "AZURE",
"tc_to_pg_map" : "AZURE", "tc_to_pg_map" : "AZURE",
"pfc_to_queue_map": "AZURE", "pfc_to_queue_map": "AZURE",
"pfc_enable" : "3,4" "pfc_enable" : "3,4",
"pfcwd_sw_enable" : "3,4"
}, },
"Ethernet200": { "Ethernet200": {
"dscp_to_tc_map" : "AZURE", "dscp_to_tc_map" : "AZURE",
"tc_to_queue_map" : "AZURE", "tc_to_queue_map" : "AZURE",
"tc_to_pg_map" : "AZURE", "tc_to_pg_map" : "AZURE",
"pfc_to_queue_map": "AZURE", "pfc_to_queue_map": "AZURE",
"pfc_enable" : "3,4" "pfc_enable" : "3,4",
"pfcwd_sw_enable" : "3,4"
}, },
"Ethernet208": { "Ethernet208": {
"dscp_to_tc_map" : "AZURE", "dscp_to_tc_map" : "AZURE",
"tc_to_queue_map" : "AZURE", "tc_to_queue_map" : "AZURE",
"tc_to_pg_map" : "AZURE", "tc_to_pg_map" : "AZURE",
"pfc_to_queue_map": "AZURE", "pfc_to_queue_map": "AZURE",
"pfc_enable" : "3,4" "pfc_enable" : "3,4",
"pfcwd_sw_enable" : "3,4"
}, },
"Ethernet216": { "Ethernet216": {
"dscp_to_tc_map" : "AZURE", "dscp_to_tc_map" : "AZURE",
"tc_to_queue_map" : "AZURE", "tc_to_queue_map" : "AZURE",
"tc_to_pg_map" : "AZURE", "tc_to_pg_map" : "AZURE",
"pfc_to_queue_map": "AZURE", "pfc_to_queue_map": "AZURE",
"pfc_enable" : "3,4" "pfc_enable" : "3,4",
"pfcwd_sw_enable" : "3,4"
}, },
"Ethernet224": { "Ethernet224": {
"dscp_to_tc_map" : "AZURE", "dscp_to_tc_map" : "AZURE",
"tc_to_queue_map" : "AZURE", "tc_to_queue_map" : "AZURE",
"tc_to_pg_map" : "AZURE", "tc_to_pg_map" : "AZURE",
"pfc_to_queue_map": "AZURE", "pfc_to_queue_map": "AZURE",
"pfc_enable" : "3,4" "pfc_enable" : "3,4",
"pfcwd_sw_enable" : "3,4"
}, },
"Ethernet232": { "Ethernet232": {
"dscp_to_tc_map" : "AZURE", "dscp_to_tc_map" : "AZURE",
"tc_to_queue_map" : "AZURE", "tc_to_queue_map" : "AZURE",
"tc_to_pg_map" : "AZURE", "tc_to_pg_map" : "AZURE",
"pfc_to_queue_map": "AZURE", "pfc_to_queue_map": "AZURE",
"pfc_enable" : "3,4" "pfc_enable" : "3,4",
"pfcwd_sw_enable" : "3,4"
}, },
"Ethernet240": { "Ethernet240": {
"dscp_to_tc_map" : "AZURE", "dscp_to_tc_map" : "AZURE",
"tc_to_queue_map" : "AZURE", "tc_to_queue_map" : "AZURE",
"tc_to_pg_map" : "AZURE", "tc_to_pg_map" : "AZURE",
"pfc_to_queue_map": "AZURE", "pfc_to_queue_map": "AZURE",
"pfc_enable" : "3,4" "pfc_enable" : "3,4",
"pfcwd_sw_enable" : "3,4"
}, },
"Ethernet248": { "Ethernet248": {
"dscp_to_tc_map" : "AZURE", "dscp_to_tc_map" : "AZURE",
"tc_to_queue_map" : "AZURE", "tc_to_queue_map" : "AZURE",
"tc_to_pg_map" : "AZURE", "tc_to_pg_map" : "AZURE",
"pfc_to_queue_map": "AZURE", "pfc_to_queue_map": "AZURE",
"pfc_enable" : "3,4" "pfc_enable" : "3,4",
"pfcwd_sw_enable" : "3,4"
} }
}, },
"WRED_PROFILE": { "WRED_PROFILE": {

View File

@ -119,196 +119,224 @@
"tc_to_queue_map" : "AZURE", "tc_to_queue_map" : "AZURE",
"tc_to_pg_map" : "AZURE", "tc_to_pg_map" : "AZURE",
"pfc_to_queue_map": "AZURE", "pfc_to_queue_map": "AZURE",
"pfc_enable" : "3,4" "pfc_enable" : "3,4",
"pfcwd_sw_enable" : "3,4"
}, },
"Ethernet8": { "Ethernet8": {
"dscp_to_tc_map" : "AZURE", "dscp_to_tc_map" : "AZURE",
"tc_to_queue_map" : "AZURE", "tc_to_queue_map" : "AZURE",
"tc_to_pg_map" : "AZURE", "tc_to_pg_map" : "AZURE",
"pfc_to_queue_map": "AZURE", "pfc_to_queue_map": "AZURE",
"pfc_enable" : "3,4" "pfc_enable" : "3,4",
"pfcwd_sw_enable" : "3,4"
}, },
"Ethernet12": { "Ethernet12": {
"dscp_to_tc_map" : "AZURE", "dscp_to_tc_map" : "AZURE",
"tc_to_queue_map" : "AZURE", "tc_to_queue_map" : "AZURE",
"tc_to_pg_map" : "AZURE", "tc_to_pg_map" : "AZURE",
"pfc_to_queue_map": "AZURE", "pfc_to_queue_map": "AZURE",
"pfc_enable" : "3,4" "pfc_enable" : "3,4",
"pfcwd_sw_enable" : "3,4"
}, },
"Ethernet16": { "Ethernet16": {
"dscp_to_tc_map" : "AZURE", "dscp_to_tc_map" : "AZURE",
"tc_to_queue_map" : "AZURE", "tc_to_queue_map" : "AZURE",
"tc_to_pg_map" : "AZURE", "tc_to_pg_map" : "AZURE",
"pfc_to_queue_map": "AZURE", "pfc_to_queue_map": "AZURE",
"pfc_enable" : "3,4" "pfc_enable" : "3,4",
"pfcwd_sw_enable" : "3,4"
}, },
"Ethernet20": { "Ethernet20": {
"dscp_to_tc_map" : "AZURE", "dscp_to_tc_map" : "AZURE",
"tc_to_queue_map" : "AZURE", "tc_to_queue_map" : "AZURE",
"tc_to_pg_map" : "AZURE", "tc_to_pg_map" : "AZURE",
"pfc_to_queue_map": "AZURE", "pfc_to_queue_map": "AZURE",
"pfc_enable" : "3,4" "pfc_enable" : "3,4",
"pfcwd_sw_enable" : "3,4"
}, },
"Ethernet24": { "Ethernet24": {
"dscp_to_tc_map" : "AZURE", "dscp_to_tc_map" : "AZURE",
"tc_to_queue_map" : "AZURE", "tc_to_queue_map" : "AZURE",
"tc_to_pg_map" : "AZURE", "tc_to_pg_map" : "AZURE",
"pfc_to_queue_map": "AZURE", "pfc_to_queue_map": "AZURE",
"pfc_enable" : "3,4" "pfc_enable" : "3,4",
"pfcwd_sw_enable" : "3,4"
}, },
"Ethernet28": { "Ethernet28": {
"dscp_to_tc_map" : "AZURE", "dscp_to_tc_map" : "AZURE",
"tc_to_queue_map" : "AZURE", "tc_to_queue_map" : "AZURE",
"tc_to_pg_map" : "AZURE", "tc_to_pg_map" : "AZURE",
"pfc_to_queue_map": "AZURE", "pfc_to_queue_map": "AZURE",
"pfc_enable" : "3,4" "pfc_enable" : "3,4",
"pfcwd_sw_enable" : "3,4"
}, },
"Ethernet32": { "Ethernet32": {
"dscp_to_tc_map" : "AZURE", "dscp_to_tc_map" : "AZURE",
"tc_to_queue_map" : "AZURE", "tc_to_queue_map" : "AZURE",
"tc_to_pg_map" : "AZURE", "tc_to_pg_map" : "AZURE",
"pfc_to_queue_map": "AZURE", "pfc_to_queue_map": "AZURE",
"pfc_enable" : "3,4" "pfc_enable" : "3,4",
"pfcwd_sw_enable" : "3,4"
}, },
"Ethernet36": { "Ethernet36": {
"dscp_to_tc_map" : "AZURE", "dscp_to_tc_map" : "AZURE",
"tc_to_queue_map" : "AZURE", "tc_to_queue_map" : "AZURE",
"tc_to_pg_map" : "AZURE", "tc_to_pg_map" : "AZURE",
"pfc_to_queue_map": "AZURE", "pfc_to_queue_map": "AZURE",
"pfc_enable" : "3,4" "pfc_enable" : "3,4",
"pfcwd_sw_enable" : "3,4"
}, },
"Ethernet40": { "Ethernet40": {
"dscp_to_tc_map" : "AZURE", "dscp_to_tc_map" : "AZURE",
"tc_to_queue_map" : "AZURE", "tc_to_queue_map" : "AZURE",
"tc_to_pg_map" : "AZURE", "tc_to_pg_map" : "AZURE",
"pfc_to_queue_map": "AZURE", "pfc_to_queue_map": "AZURE",
"pfc_enable" : "3,4" "pfc_enable" : "3,4",
"pfcwd_sw_enable" : "3,4"
}, },
"Ethernet44": { "Ethernet44": {
"dscp_to_tc_map" : "AZURE", "dscp_to_tc_map" : "AZURE",
"tc_to_queue_map" : "AZURE", "tc_to_queue_map" : "AZURE",
"tc_to_pg_map" : "AZURE", "tc_to_pg_map" : "AZURE",
"pfc_to_queue_map": "AZURE", "pfc_to_queue_map": "AZURE",
"pfc_enable" : "3,4" "pfc_enable" : "3,4",
"pfcwd_sw_enable" : "3,4"
}, },
"Ethernet48": { "Ethernet48": {
"dscp_to_tc_map" : "AZURE", "dscp_to_tc_map" : "AZURE",
"tc_to_queue_map" : "AZURE", "tc_to_queue_map" : "AZURE",
"tc_to_pg_map" : "AZURE", "tc_to_pg_map" : "AZURE",
"pfc_to_queue_map": "AZURE", "pfc_to_queue_map": "AZURE",
"pfc_enable" : "3,4" "pfc_enable" : "3,4",
"pfcwd_sw_enable" : "3,4"
}, },
"Ethernet52": { "Ethernet52": {
"dscp_to_tc_map" : "AZURE", "dscp_to_tc_map" : "AZURE",
"tc_to_queue_map" : "AZURE", "tc_to_queue_map" : "AZURE",
"tc_to_pg_map" : "AZURE", "tc_to_pg_map" : "AZURE",
"pfc_to_queue_map": "AZURE", "pfc_to_queue_map": "AZURE",
"pfc_enable" : "3,4" "pfc_enable" : "3,4",
"pfcwd_sw_enable" : "3,4"
}, },
"Ethernet56": { "Ethernet56": {
"dscp_to_tc_map" : "AZURE", "dscp_to_tc_map" : "AZURE",
"tc_to_queue_map" : "AZURE", "tc_to_queue_map" : "AZURE",
"tc_to_pg_map" : "AZURE", "tc_to_pg_map" : "AZURE",
"pfc_to_queue_map": "AZURE", "pfc_to_queue_map": "AZURE",
"pfc_enable" : "3,4" "pfc_enable" : "3,4",
"pfcwd_sw_enable" : "3,4"
}, },
"Ethernet60": { "Ethernet60": {
"dscp_to_tc_map" : "AZURE", "dscp_to_tc_map" : "AZURE",
"tc_to_queue_map" : "AZURE", "tc_to_queue_map" : "AZURE",
"tc_to_pg_map" : "AZURE", "tc_to_pg_map" : "AZURE",
"pfc_to_queue_map": "AZURE", "pfc_to_queue_map": "AZURE",
"pfc_enable" : "3,4" "pfc_enable" : "3,4",
"pfcwd_sw_enable" : "3,4"
}, },
"Ethernet64": { "Ethernet64": {
"dscp_to_tc_map" : "AZURE", "dscp_to_tc_map" : "AZURE",
"tc_to_queue_map" : "AZURE", "tc_to_queue_map" : "AZURE",
"tc_to_pg_map" : "AZURE", "tc_to_pg_map" : "AZURE",
"pfc_to_queue_map": "AZURE", "pfc_to_queue_map": "AZURE",
"pfc_enable" : "3,4" "pfc_enable" : "3,4",
"pfcwd_sw_enable" : "3,4"
}, },
"Ethernet68": { "Ethernet68": {
"dscp_to_tc_map" : "AZURE", "dscp_to_tc_map" : "AZURE",
"tc_to_queue_map" : "AZURE", "tc_to_queue_map" : "AZURE",
"tc_to_pg_map" : "AZURE", "tc_to_pg_map" : "AZURE",
"pfc_to_queue_map": "AZURE", "pfc_to_queue_map": "AZURE",
"pfc_enable" : "3,4" "pfc_enable" : "3,4",
"pfcwd_sw_enable" : "3,4"
}, },
"Ethernet72": { "Ethernet72": {
"dscp_to_tc_map" : "AZURE", "dscp_to_tc_map" : "AZURE",
"tc_to_queue_map" : "AZURE", "tc_to_queue_map" : "AZURE",
"tc_to_pg_map" : "AZURE", "tc_to_pg_map" : "AZURE",
"pfc_to_queue_map": "AZURE", "pfc_to_queue_map": "AZURE",
"pfc_enable" : "3,4" "pfc_enable" : "3,4",
"pfcwd_sw_enable" : "3,4"
}, },
"Ethernet76": { "Ethernet76": {
"dscp_to_tc_map" : "AZURE", "dscp_to_tc_map" : "AZURE",
"tc_to_queue_map" : "AZURE", "tc_to_queue_map" : "AZURE",
"tc_to_pg_map" : "AZURE", "tc_to_pg_map" : "AZURE",
"pfc_to_queue_map": "AZURE", "pfc_to_queue_map": "AZURE",
"pfc_enable" : "3,4" "pfc_enable" : "3,4",
"pfcwd_sw_enable" : "3,4"
}, },
"Ethernet80": { "Ethernet80": {
"dscp_to_tc_map" : "AZURE", "dscp_to_tc_map" : "AZURE",
"tc_to_queue_map" : "AZURE", "tc_to_queue_map" : "AZURE",
"tc_to_pg_map" : "AZURE", "tc_to_pg_map" : "AZURE",
"pfc_to_queue_map": "AZURE", "pfc_to_queue_map": "AZURE",
"pfc_enable" : "3,4" "pfc_enable" : "3,4",
"pfcwd_sw_enable" : "3,4"
}, },
"Ethernet84": { "Ethernet84": {
"dscp_to_tc_map" : "AZURE", "dscp_to_tc_map" : "AZURE",
"tc_to_queue_map" : "AZURE", "tc_to_queue_map" : "AZURE",
"tc_to_pg_map" : "AZURE", "tc_to_pg_map" : "AZURE",
"pfc_to_queue_map": "AZURE", "pfc_to_queue_map": "AZURE",
"pfc_enable" : "3,4" "pfc_enable" : "3,4",
"pfcwd_sw_enable" : "3,4"
}, },
"Ethernet88": { "Ethernet88": {
"dscp_to_tc_map" : "AZURE", "dscp_to_tc_map" : "AZURE",
"tc_to_queue_map" : "AZURE", "tc_to_queue_map" : "AZURE",
"tc_to_pg_map" : "AZURE", "tc_to_pg_map" : "AZURE",
"pfc_to_queue_map": "AZURE", "pfc_to_queue_map": "AZURE",
"pfc_enable" : "3,4" "pfc_enable" : "3,4",
"pfcwd_sw_enable" : "3,4"
}, },
"Ethernet92": { "Ethernet92": {
"dscp_to_tc_map" : "AZURE", "dscp_to_tc_map" : "AZURE",
"tc_to_queue_map" : "AZURE", "tc_to_queue_map" : "AZURE",
"tc_to_pg_map" : "AZURE", "tc_to_pg_map" : "AZURE",
"pfc_to_queue_map": "AZURE", "pfc_to_queue_map": "AZURE",
"pfc_enable" : "3,4" "pfc_enable" : "3,4",
"pfcwd_sw_enable" : "3,4"
}, },
"Ethernet96": { "Ethernet96": {
"dscp_to_tc_map" : "AZURE", "dscp_to_tc_map" : "AZURE",
"tc_to_queue_map" : "AZURE", "tc_to_queue_map" : "AZURE",
"tc_to_pg_map" : "AZURE", "tc_to_pg_map" : "AZURE",
"pfc_to_queue_map": "AZURE", "pfc_to_queue_map": "AZURE",
"pfc_enable" : "3,4" "pfc_enable" : "3,4",
"pfcwd_sw_enable" : "3,4"
}, },
"Ethernet112": { "Ethernet112": {
"dscp_to_tc_map" : "AZURE", "dscp_to_tc_map" : "AZURE",
"tc_to_queue_map" : "AZURE", "tc_to_queue_map" : "AZURE",
"tc_to_pg_map" : "AZURE", "tc_to_pg_map" : "AZURE",
"pfc_to_queue_map": "AZURE", "pfc_to_queue_map": "AZURE",
"pfc_enable" : "3,4" "pfc_enable" : "3,4",
"pfcwd_sw_enable" : "3,4"
}, },
"Ethernet116": { "Ethernet116": {
"dscp_to_tc_map" : "AZURE", "dscp_to_tc_map" : "AZURE",
"tc_to_queue_map" : "AZURE", "tc_to_queue_map" : "AZURE",
"tc_to_pg_map" : "AZURE", "tc_to_pg_map" : "AZURE",
"pfc_to_queue_map": "AZURE", "pfc_to_queue_map": "AZURE",
"pfc_enable" : "3,4" "pfc_enable" : "3,4",
"pfcwd_sw_enable" : "3,4"
}, },
"Ethernet120": { "Ethernet120": {
"dscp_to_tc_map" : "AZURE", "dscp_to_tc_map" : "AZURE",
"tc_to_queue_map" : "AZURE", "tc_to_queue_map" : "AZURE",
"tc_to_pg_map" : "AZURE", "tc_to_pg_map" : "AZURE",
"pfc_to_queue_map": "AZURE", "pfc_to_queue_map": "AZURE",
"pfc_enable" : "3,4" "pfc_enable" : "3,4",
"pfcwd_sw_enable" : "3,4"
}, },
"Ethernet124": { "Ethernet124": {
"dscp_to_tc_map" : "AZURE", "dscp_to_tc_map" : "AZURE",
"tc_to_queue_map" : "AZURE", "tc_to_queue_map" : "AZURE",
"tc_to_pg_map" : "AZURE", "tc_to_pg_map" : "AZURE",
"pfc_to_queue_map": "AZURE", "pfc_to_queue_map": "AZURE",
"pfc_enable" : "3,4" "pfc_enable" : "3,4",
"pfcwd_sw_enable" : "3,4"
} }
}, },
"WRED_PROFILE": { "WRED_PROFILE": {

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

View File

@ -119,315 +119,360 @@
"tc_to_queue_map" : "AZURE", "tc_to_queue_map" : "AZURE",
"tc_to_pg_map" : "AZURE", "tc_to_pg_map" : "AZURE",
"pfc_to_queue_map": "AZURE", "pfc_to_queue_map": "AZURE",
"pfc_enable" : "3,4" "pfc_enable" : "3,4",
"pfcwd_sw_enable" : "3,4"
}, },
"Ethernet4": { "Ethernet4": {
"dscp_to_tc_map" : "AZURE", "dscp_to_tc_map" : "AZURE",
"tc_to_queue_map" : "AZURE", "tc_to_queue_map" : "AZURE",
"tc_to_pg_map" : "AZURE", "tc_to_pg_map" : "AZURE",
"pfc_to_queue_map": "AZURE", "pfc_to_queue_map": "AZURE",
"pfc_enable" : "3,4" "pfc_enable" : "3,4",
"pfcwd_sw_enable" : "3,4"
}, },
"Ethernet8": { "Ethernet8": {
"dscp_to_tc_map" : "AZURE", "dscp_to_tc_map" : "AZURE",
"tc_to_queue_map" : "AZURE", "tc_to_queue_map" : "AZURE",
"tc_to_pg_map" : "AZURE", "tc_to_pg_map" : "AZURE",
"pfc_to_queue_map": "AZURE", "pfc_to_queue_map": "AZURE",
"pfc_enable" : "3,4" "pfc_enable" : "3,4",
"pfcwd_sw_enable" : "3,4"
}, },
"Ethernet12": { "Ethernet12": {
"dscp_to_tc_map" : "AZURE", "dscp_to_tc_map" : "AZURE",
"tc_to_queue_map" : "AZURE", "tc_to_queue_map" : "AZURE",
"tc_to_pg_map" : "AZURE", "tc_to_pg_map" : "AZURE",
"pfc_to_queue_map": "AZURE", "pfc_to_queue_map": "AZURE",
"pfc_enable" : "3,4" "pfc_enable" : "3,4",
"pfcwd_sw_enable" : "3,4"
}, },
"Ethernet16": { "Ethernet16": {
"dscp_to_tc_map" : "AZURE", "dscp_to_tc_map" : "AZURE",
"tc_to_queue_map" : "AZURE", "tc_to_queue_map" : "AZURE",
"tc_to_pg_map" : "AZURE", "tc_to_pg_map" : "AZURE",
"pfc_to_queue_map": "AZURE", "pfc_to_queue_map": "AZURE",
"pfc_enable" : "3,4" "pfc_enable" : "3,4",
"pfcwd_sw_enable" : "3,4"
}, },
"Ethernet20": { "Ethernet20": {
"dscp_to_tc_map" : "AZURE", "dscp_to_tc_map" : "AZURE",
"tc_to_queue_map" : "AZURE", "tc_to_queue_map" : "AZURE",
"tc_to_pg_map" : "AZURE", "tc_to_pg_map" : "AZURE",
"pfc_to_queue_map": "AZURE", "pfc_to_queue_map": "AZURE",
"pfc_enable" : "3,4" "pfc_enable" : "3,4",
"pfcwd_sw_enable" : "3,4"
}, },
"Ethernet24": { "Ethernet24": {
"dscp_to_tc_map" : "AZURE", "dscp_to_tc_map" : "AZURE",
"tc_to_queue_map" : "AZURE", "tc_to_queue_map" : "AZURE",
"tc_to_pg_map" : "AZURE", "tc_to_pg_map" : "AZURE",
"pfc_to_queue_map": "AZURE", "pfc_to_queue_map": "AZURE",
"pfc_enable" : "3,4" "pfc_enable" : "3,4",
"pfcwd_sw_enable" : "3,4"
}, },
"Ethernet28": { "Ethernet28": {
"dscp_to_tc_map" : "AZURE", "dscp_to_tc_map" : "AZURE",
"tc_to_queue_map" : "AZURE", "tc_to_queue_map" : "AZURE",
"tc_to_pg_map" : "AZURE", "tc_to_pg_map" : "AZURE",
"pfc_to_queue_map": "AZURE", "pfc_to_queue_map": "AZURE",
"pfc_enable" : "3,4" "pfc_enable" : "3,4",
"pfcwd_sw_enable" : "3,4"
}, },
"Ethernet32": { "Ethernet32": {
"dscp_to_tc_map" : "AZURE", "dscp_to_tc_map" : "AZURE",
"tc_to_queue_map" : "AZURE", "tc_to_queue_map" : "AZURE",
"tc_to_pg_map" : "AZURE", "tc_to_pg_map" : "AZURE",
"pfc_to_queue_map": "AZURE", "pfc_to_queue_map": "AZURE",
"pfc_enable" : "3,4" "pfc_enable" : "3,4",
"pfcwd_sw_enable" : "3,4"
}, },
"Ethernet36": { "Ethernet36": {
"dscp_to_tc_map" : "AZURE", "dscp_to_tc_map" : "AZURE",
"tc_to_queue_map" : "AZURE", "tc_to_queue_map" : "AZURE",
"tc_to_pg_map" : "AZURE", "tc_to_pg_map" : "AZURE",
"pfc_to_queue_map": "AZURE", "pfc_to_queue_map": "AZURE",
"pfc_enable" : "3,4" "pfc_enable" : "3,4",
"pfcwd_sw_enable" : "3,4"
}, },
"Ethernet40": { "Ethernet40": {
"dscp_to_tc_map" : "AZURE", "dscp_to_tc_map" : "AZURE",
"tc_to_queue_map" : "AZURE", "tc_to_queue_map" : "AZURE",
"tc_to_pg_map" : "AZURE", "tc_to_pg_map" : "AZURE",
"pfc_to_queue_map": "AZURE", "pfc_to_queue_map": "AZURE",
"pfc_enable" : "3,4" "pfc_enable" : "3,4",
"pfcwd_sw_enable" : "3,4"
}, },
"Ethernet44": { "Ethernet44": {
"dscp_to_tc_map" : "AZURE", "dscp_to_tc_map" : "AZURE",
"tc_to_queue_map" : "AZURE", "tc_to_queue_map" : "AZURE",
"tc_to_pg_map" : "AZURE", "tc_to_pg_map" : "AZURE",
"pfc_to_queue_map": "AZURE", "pfc_to_queue_map": "AZURE",
"pfc_enable" : "3,4" "pfc_enable" : "3,4",
"pfcwd_sw_enable" : "3,4"
}, },
"Ethernet48": { "Ethernet48": {
"dscp_to_tc_map" : "AZURE", "dscp_to_tc_map" : "AZURE",
"tc_to_queue_map" : "AZURE", "tc_to_queue_map" : "AZURE",
"tc_to_pg_map" : "AZURE", "tc_to_pg_map" : "AZURE",
"pfc_to_queue_map": "AZURE", "pfc_to_queue_map": "AZURE",
"pfc_enable" : "3,4" "pfc_enable" : "3,4",
"pfcwd_sw_enable" : "3,4"
}, },
"Ethernet52": { "Ethernet52": {
"dscp_to_tc_map" : "AZURE", "dscp_to_tc_map" : "AZURE",
"tc_to_queue_map" : "AZURE", "tc_to_queue_map" : "AZURE",
"tc_to_pg_map" : "AZURE", "tc_to_pg_map" : "AZURE",
"pfc_to_queue_map": "AZURE", "pfc_to_queue_map": "AZURE",
"pfc_enable" : "3,4" "pfc_enable" : "3,4",
"pfcwd_sw_enable" : "3,4"
}, },
"Ethernet56": { "Ethernet56": {
"dscp_to_tc_map" : "AZURE", "dscp_to_tc_map" : "AZURE",
"tc_to_queue_map" : "AZURE", "tc_to_queue_map" : "AZURE",
"tc_to_pg_map" : "AZURE", "tc_to_pg_map" : "AZURE",
"pfc_to_queue_map": "AZURE", "pfc_to_queue_map": "AZURE",
"pfc_enable" : "3,4" "pfc_enable" : "3,4",
"pfcwd_sw_enable" : "3,4"
}, },
"Ethernet60": { "Ethernet60": {
"dscp_to_tc_map" : "AZURE", "dscp_to_tc_map" : "AZURE",
"tc_to_queue_map" : "AZURE", "tc_to_queue_map" : "AZURE",
"tc_to_pg_map" : "AZURE", "tc_to_pg_map" : "AZURE",
"pfc_to_queue_map": "AZURE", "pfc_to_queue_map": "AZURE",
"pfc_enable" : "3,4" "pfc_enable" : "3,4",
"pfcwd_sw_enable" : "3,4"
}, },
"Ethernet64": { "Ethernet64": {
"dscp_to_tc_map" : "AZURE", "dscp_to_tc_map" : "AZURE",
"tc_to_queue_map" : "AZURE", "tc_to_queue_map" : "AZURE",
"tc_to_pg_map" : "AZURE", "tc_to_pg_map" : "AZURE",
"pfc_to_queue_map": "AZURE", "pfc_to_queue_map": "AZURE",
"pfc_enable" : "3,4" "pfc_enable" : "3,4",
"pfcwd_sw_enable" : "3,4"
}, },
"Ethernet68": { "Ethernet68": {
"dscp_to_tc_map" : "AZURE", "dscp_to_tc_map" : "AZURE",
"tc_to_queue_map" : "AZURE", "tc_to_queue_map" : "AZURE",
"tc_to_pg_map" : "AZURE", "tc_to_pg_map" : "AZURE",
"pfc_to_queue_map": "AZURE", "pfc_to_queue_map": "AZURE",
"pfc_enable" : "3,4" "pfc_enable" : "3,4",
"pfcwd_sw_enable" : "3,4"
}, },
"Ethernet72": { "Ethernet72": {
"dscp_to_tc_map" : "AZURE", "dscp_to_tc_map" : "AZURE",
"tc_to_queue_map" : "AZURE", "tc_to_queue_map" : "AZURE",
"tc_to_pg_map" : "AZURE", "tc_to_pg_map" : "AZURE",
"pfc_to_queue_map": "AZURE", "pfc_to_queue_map": "AZURE",
"pfc_enable" : "3,4" "pfc_enable" : "3,4",
"pfcwd_sw_enable" : "3,4"
}, },
"Ethernet76": { "Ethernet76": {
"dscp_to_tc_map" : "AZURE", "dscp_to_tc_map" : "AZURE",
"tc_to_queue_map" : "AZURE", "tc_to_queue_map" : "AZURE",
"tc_to_pg_map" : "AZURE", "tc_to_pg_map" : "AZURE",
"pfc_to_queue_map": "AZURE", "pfc_to_queue_map": "AZURE",
"pfc_enable" : "3,4" "pfc_enable" : "3,4",
"pfcwd_sw_enable" : "3,4"
}, },
"Ethernet80": { "Ethernet80": {
"dscp_to_tc_map" : "AZURE", "dscp_to_tc_map" : "AZURE",
"tc_to_queue_map" : "AZURE", "tc_to_queue_map" : "AZURE",
"tc_to_pg_map" : "AZURE", "tc_to_pg_map" : "AZURE",
"pfc_to_queue_map": "AZURE", "pfc_to_queue_map": "AZURE",
"pfc_enable" : "3,4" "pfc_enable" : "3,4",
"pfcwd_sw_enable" : "3,4"
}, },
"Ethernet84": { "Ethernet84": {
"dscp_to_tc_map" : "AZURE", "dscp_to_tc_map" : "AZURE",
"tc_to_queue_map" : "AZURE", "tc_to_queue_map" : "AZURE",
"tc_to_pg_map" : "AZURE", "tc_to_pg_map" : "AZURE",
"pfc_to_queue_map": "AZURE", "pfc_to_queue_map": "AZURE",
"pfc_enable" : "3,4" "pfc_enable" : "3,4",
"pfcwd_sw_enable" : "3,4"
}, },
"Ethernet88": { "Ethernet88": {
"dscp_to_tc_map" : "AZURE", "dscp_to_tc_map" : "AZURE",
"tc_to_queue_map" : "AZURE", "tc_to_queue_map" : "AZURE",
"tc_to_pg_map" : "AZURE", "tc_to_pg_map" : "AZURE",
"pfc_to_queue_map": "AZURE", "pfc_to_queue_map": "AZURE",
"pfc_enable" : "3,4" "pfc_enable" : "3,4",
"pfcwd_sw_enable" : "3,4"
}, },
"Ethernet92": { "Ethernet92": {
"dscp_to_tc_map" : "AZURE", "dscp_to_tc_map" : "AZURE",
"tc_to_queue_map" : "AZURE", "tc_to_queue_map" : "AZURE",
"tc_to_pg_map" : "AZURE", "tc_to_pg_map" : "AZURE",
"pfc_to_queue_map": "AZURE", "pfc_to_queue_map": "AZURE",
"pfc_enable" : "3,4" "pfc_enable" : "3,4",
"pfcwd_sw_enable" : "3,4"
}, },
"Ethernet96": { "Ethernet96": {
"dscp_to_tc_map" : "AZURE", "dscp_to_tc_map" : "AZURE",
"tc_to_queue_map" : "AZURE", "tc_to_queue_map" : "AZURE",
"tc_to_pg_map" : "AZURE", "tc_to_pg_map" : "AZURE",
"pfc_to_queue_map": "AZURE", "pfc_to_queue_map": "AZURE",
"pfc_enable" : "3,4" "pfc_enable" : "3,4",
"pfcwd_sw_enable" : "3,4"
}, },
"Ethernet100": { "Ethernet100": {
"dscp_to_tc_map" : "AZURE", "dscp_to_tc_map" : "AZURE",
"tc_to_queue_map" : "AZURE", "tc_to_queue_map" : "AZURE",
"tc_to_pg_map" : "AZURE", "tc_to_pg_map" : "AZURE",
"pfc_to_queue_map": "AZURE", "pfc_to_queue_map": "AZURE",
"pfc_enable" : "3,4" "pfc_enable" : "3,4",
"pfcwd_sw_enable" : "3,4"
}, },
"Ethernet104": { "Ethernet104": {
"dscp_to_tc_map" : "AZURE", "dscp_to_tc_map" : "AZURE",
"tc_to_queue_map" : "AZURE", "tc_to_queue_map" : "AZURE",
"tc_to_pg_map" : "AZURE", "tc_to_pg_map" : "AZURE",
"pfc_to_queue_map": "AZURE", "pfc_to_queue_map": "AZURE",
"pfc_enable" : "3,4" "pfc_enable" : "3,4",
"pfcwd_sw_enable" : "3,4"
}, },
"Ethernet108": { "Ethernet108": {
"dscp_to_tc_map" : "AZURE", "dscp_to_tc_map" : "AZURE",
"tc_to_queue_map" : "AZURE", "tc_to_queue_map" : "AZURE",
"tc_to_pg_map" : "AZURE", "tc_to_pg_map" : "AZURE",
"pfc_to_queue_map": "AZURE", "pfc_to_queue_map": "AZURE",
"pfc_enable" : "3,4" "pfc_enable" : "3,4",
"pfcwd_sw_enable" : "3,4"
}, },
"Ethernet112": { "Ethernet112": {
"dscp_to_tc_map" : "AZURE", "dscp_to_tc_map" : "AZURE",
"tc_to_queue_map" : "AZURE", "tc_to_queue_map" : "AZURE",
"tc_to_pg_map" : "AZURE", "tc_to_pg_map" : "AZURE",
"pfc_to_queue_map": "AZURE", "pfc_to_queue_map": "AZURE",
"pfc_enable" : "3,4" "pfc_enable" : "3,4",
"pfcwd_sw_enable" : "3,4"
}, },
"Ethernet116": { "Ethernet116": {
"dscp_to_tc_map" : "AZURE", "dscp_to_tc_map" : "AZURE",
"tc_to_queue_map" : "AZURE", "tc_to_queue_map" : "AZURE",
"tc_to_pg_map" : "AZURE", "tc_to_pg_map" : "AZURE",
"pfc_to_queue_map": "AZURE", "pfc_to_queue_map": "AZURE",
"pfc_enable" : "3,4" "pfc_enable" : "3,4",
"pfcwd_sw_enable" : "3,4"
}, },
"Ethernet120": { "Ethernet120": {
"dscp_to_tc_map" : "AZURE", "dscp_to_tc_map" : "AZURE",
"tc_to_queue_map" : "AZURE", "tc_to_queue_map" : "AZURE",
"tc_to_pg_map" : "AZURE", "tc_to_pg_map" : "AZURE",
"pfc_to_queue_map": "AZURE", "pfc_to_queue_map": "AZURE",
"pfc_enable" : "3,4" "pfc_enable" : "3,4",
"pfcwd_sw_enable" : "3,4"
}, },
"Ethernet124": { "Ethernet124": {
"dscp_to_tc_map" : "AZURE", "dscp_to_tc_map" : "AZURE",
"tc_to_queue_map" : "AZURE", "tc_to_queue_map" : "AZURE",
"tc_to_pg_map" : "AZURE", "tc_to_pg_map" : "AZURE",
"pfc_to_queue_map": "AZURE", "pfc_to_queue_map": "AZURE",
"pfc_enable" : "3,4" "pfc_enable" : "3,4",
"pfcwd_sw_enable" : "3,4"
}, },
"Ethernet128": { "Ethernet128": {
"dscp_to_tc_map" : "AZURE", "dscp_to_tc_map" : "AZURE",
"tc_to_queue_map" : "AZURE", "tc_to_queue_map" : "AZURE",
"tc_to_pg_map" : "AZURE", "tc_to_pg_map" : "AZURE",
"pfc_to_queue_map": "AZURE", "pfc_to_queue_map": "AZURE",
"pfc_enable" : "3,4" "pfc_enable" : "3,4",
"pfcwd_sw_enable" : "3,4"
}, },
"Ethernet132": { "Ethernet132": {
"dscp_to_tc_map" : "AZURE", "dscp_to_tc_map" : "AZURE",
"tc_to_queue_map" : "AZURE", "tc_to_queue_map" : "AZURE",
"tc_to_pg_map" : "AZURE", "tc_to_pg_map" : "AZURE",
"pfc_to_queue_map": "AZURE", "pfc_to_queue_map": "AZURE",
"pfc_enable" : "3,4" "pfc_enable" : "3,4",
"pfcwd_sw_enable" : "3,4"
}, },
"Ethernet136": { "Ethernet136": {
"dscp_to_tc_map" : "AZURE", "dscp_to_tc_map" : "AZURE",
"tc_to_queue_map" : "AZURE", "tc_to_queue_map" : "AZURE",
"tc_to_pg_map" : "AZURE", "tc_to_pg_map" : "AZURE",
"pfc_to_queue_map": "AZURE", "pfc_to_queue_map": "AZURE",
"pfc_enable" : "3,4" "pfc_enable" : "3,4",
"pfcwd_sw_enable" : "3,4"
}, },
"Ethernet140": { "Ethernet140": {
"dscp_to_tc_map" : "AZURE", "dscp_to_tc_map" : "AZURE",
"tc_to_queue_map" : "AZURE", "tc_to_queue_map" : "AZURE",
"tc_to_pg_map" : "AZURE", "tc_to_pg_map" : "AZURE",
"pfc_to_queue_map": "AZURE", "pfc_to_queue_map": "AZURE",
"pfc_enable" : "3,4" "pfc_enable" : "3,4",
"pfcwd_sw_enable" : "3,4"
}, },
"Ethernet144": { "Ethernet144": {
"dscp_to_tc_map" : "AZURE", "dscp_to_tc_map" : "AZURE",
"tc_to_queue_map" : "AZURE", "tc_to_queue_map" : "AZURE",
"tc_to_pg_map" : "AZURE", "tc_to_pg_map" : "AZURE",
"pfc_to_queue_map": "AZURE", "pfc_to_queue_map": "AZURE",
"pfc_enable" : "3,4" "pfc_enable" : "3,4",
"pfcwd_sw_enable" : "3,4"
}, },
"Ethernet148": { "Ethernet148": {
"dscp_to_tc_map" : "AZURE", "dscp_to_tc_map" : "AZURE",
"tc_to_queue_map" : "AZURE", "tc_to_queue_map" : "AZURE",
"tc_to_pg_map" : "AZURE", "tc_to_pg_map" : "AZURE",
"pfc_to_queue_map": "AZURE", "pfc_to_queue_map": "AZURE",
"pfc_enable" : "3,4" "pfc_enable" : "3,4",
"pfcwd_sw_enable" : "3,4"
}, },
"Ethernet152": { "Ethernet152": {
"dscp_to_tc_map" : "AZURE", "dscp_to_tc_map" : "AZURE",
"tc_to_queue_map" : "AZURE", "tc_to_queue_map" : "AZURE",
"tc_to_pg_map" : "AZURE", "tc_to_pg_map" : "AZURE",
"pfc_to_queue_map": "AZURE", "pfc_to_queue_map": "AZURE",
"pfc_enable" : "3,4" "pfc_enable" : "3,4",
"pfcwd_sw_enable" : "3,4"
}, },
"Ethernet156": { "Ethernet156": {
"dscp_to_tc_map" : "AZURE", "dscp_to_tc_map" : "AZURE",
"tc_to_queue_map" : "AZURE", "tc_to_queue_map" : "AZURE",
"tc_to_pg_map" : "AZURE", "tc_to_pg_map" : "AZURE",
"pfc_to_queue_map": "AZURE", "pfc_to_queue_map": "AZURE",
"pfc_enable" : "3,4" "pfc_enable" : "3,4",
"pfcwd_sw_enable" : "3,4"
}, },
"Ethernet164": { "Ethernet164": {
"dscp_to_tc_map" : "AZURE", "dscp_to_tc_map" : "AZURE",
"tc_to_queue_map" : "AZURE", "tc_to_queue_map" : "AZURE",
"tc_to_pg_map" : "AZURE", "tc_to_pg_map" : "AZURE",
"pfc_to_queue_map": "AZURE", "pfc_to_queue_map": "AZURE",
"pfc_enable" : "3,4" "pfc_enable" : "3,4",
"pfcwd_sw_enable" : "3,4"
}, },
"Ethernet176": { "Ethernet176": {
"dscp_to_tc_map" : "AZURE", "dscp_to_tc_map" : "AZURE",
"tc_to_queue_map" : "AZURE", "tc_to_queue_map" : "AZURE",
"tc_to_pg_map" : "AZURE", "tc_to_pg_map" : "AZURE",
"pfc_to_queue_map": "AZURE", "pfc_to_queue_map": "AZURE",
"pfc_enable" : "3,4" "pfc_enable" : "3,4",
"pfcwd_sw_enable" : "3,4"
}, },
"Ethernet180": { "Ethernet180": {
"dscp_to_tc_map" : "AZURE", "dscp_to_tc_map" : "AZURE",
"tc_to_queue_map" : "AZURE", "tc_to_queue_map" : "AZURE",
"tc_to_pg_map" : "AZURE", "tc_to_pg_map" : "AZURE",
"pfc_to_queue_map": "AZURE", "pfc_to_queue_map": "AZURE",
"pfc_enable" : "3,4" "pfc_enable" : "3,4",
"pfcwd_sw_enable" : "3,4"
}, },
"Ethernet184": { "Ethernet184": {
"dscp_to_tc_map" : "AZURE", "dscp_to_tc_map" : "AZURE",
"tc_to_queue_map" : "AZURE", "tc_to_queue_map" : "AZURE",
"tc_to_pg_map" : "AZURE", "tc_to_pg_map" : "AZURE",
"pfc_to_queue_map": "AZURE", "pfc_to_queue_map": "AZURE",
"pfc_enable" : "3,4" "pfc_enable" : "3,4",
"pfcwd_sw_enable" : "3,4"
}, },
"Ethernet188": { "Ethernet188": {
"dscp_to_tc_map" : "AZURE", "dscp_to_tc_map" : "AZURE",
"tc_to_queue_map" : "AZURE", "tc_to_queue_map" : "AZURE",
"tc_to_pg_map" : "AZURE", "tc_to_pg_map" : "AZURE",
"pfc_to_queue_map": "AZURE", "pfc_to_queue_map": "AZURE",
"pfc_enable" : "3,4" "pfc_enable" : "3,4",
"pfcwd_sw_enable" : "3,4"
} }
}, },
"WRED_PROFILE": { "WRED_PROFILE": {

View File

@ -119,308 +119,352 @@
"tc_to_queue_map" : "AZURE", "tc_to_queue_map" : "AZURE",
"tc_to_pg_map" : "AZURE", "tc_to_pg_map" : "AZURE",
"pfc_to_queue_map": "AZURE", "pfc_to_queue_map": "AZURE",
"pfc_enable" : "3,4" "pfc_enable" : "3,4",
"pfcwd_sw_enable" : "3,4"
}, },
"Ethernet1": { "Ethernet1": {
"dscp_to_tc_map" : "AZURE", "dscp_to_tc_map" : "AZURE",
"tc_to_queue_map" : "AZURE", "tc_to_queue_map" : "AZURE",
"tc_to_pg_map" : "AZURE", "tc_to_pg_map" : "AZURE",
"pfc_to_queue_map": "AZURE", "pfc_to_queue_map": "AZURE",
"pfc_enable" : "3,4" "pfc_enable" : "3,4",
"pfcwd_sw_enable" : "3,4"
}, },
"Ethernet4": { "Ethernet4": {
"dscp_to_tc_map" : "AZURE", "dscp_to_tc_map" : "AZURE",
"tc_to_queue_map" : "AZURE", "tc_to_queue_map" : "AZURE",
"tc_to_pg_map" : "AZURE", "tc_to_pg_map" : "AZURE",
"pfc_to_queue_map": "AZURE", "pfc_to_queue_map": "AZURE",
"pfc_enable" : "3,4" "pfc_enable" : "3,4",
"pfcwd_sw_enable" : "3,4"
}, },
"Ethernet5": { "Ethernet5": {
"dscp_to_tc_map" : "AZURE", "dscp_to_tc_map" : "AZURE",
"tc_to_queue_map" : "AZURE", "tc_to_queue_map" : "AZURE",
"tc_to_pg_map" : "AZURE", "tc_to_pg_map" : "AZURE",
"pfc_to_queue_map": "AZURE", "pfc_to_queue_map": "AZURE",
"pfc_enable" : "3,4" "pfc_enable" : "3,4",
"pfcwd_sw_enable" : "3,4"
}, },
"Ethernet6": { "Ethernet6": {
"dscp_to_tc_map" : "AZURE", "dscp_to_tc_map" : "AZURE",
"tc_to_queue_map" : "AZURE", "tc_to_queue_map" : "AZURE",
"tc_to_pg_map" : "AZURE", "tc_to_pg_map" : "AZURE",
"pfc_to_queue_map": "AZURE", "pfc_to_queue_map": "AZURE",
"pfc_enable" : "3,4" "pfc_enable" : "3,4",
"pfcwd_sw_enable" : "3,4"
}, },
"Ethernet7": { "Ethernet7": {
"dscp_to_tc_map" : "AZURE", "dscp_to_tc_map" : "AZURE",
"tc_to_queue_map" : "AZURE", "tc_to_queue_map" : "AZURE",
"tc_to_pg_map" : "AZURE", "tc_to_pg_map" : "AZURE",
"pfc_to_queue_map": "AZURE", "pfc_to_queue_map": "AZURE",
"pfc_enable" : "3,4" "pfc_enable" : "3,4",
"pfcwd_sw_enable" : "3,4"
}, },
"Ethernet8": { "Ethernet8": {
"dscp_to_tc_map" : "AZURE", "dscp_to_tc_map" : "AZURE",
"tc_to_queue_map" : "AZURE", "tc_to_queue_map" : "AZURE",
"tc_to_pg_map" : "AZURE", "tc_to_pg_map" : "AZURE",
"pfc_to_queue_map": "AZURE", "pfc_to_queue_map": "AZURE",
"pfc_enable" : "3,4" "pfc_enable" : "3,4",
"pfcwd_sw_enable" : "3,4"
}, },
"Ethernet9": { "Ethernet9": {
"dscp_to_tc_map" : "AZURE", "dscp_to_tc_map" : "AZURE",
"tc_to_queue_map" : "AZURE", "tc_to_queue_map" : "AZURE",
"tc_to_pg_map" : "AZURE", "tc_to_pg_map" : "AZURE",
"pfc_to_queue_map": "AZURE", "pfc_to_queue_map": "AZURE",
"pfc_enable" : "3,4" "pfc_enable" : "3,4",
"pfcwd_sw_enable" : "3,4"
}, },
"Ethernet10": { "Ethernet10": {
"dscp_to_tc_map" : "AZURE", "dscp_to_tc_map" : "AZURE",
"tc_to_queue_map" : "AZURE", "tc_to_queue_map" : "AZURE",
"tc_to_pg_map" : "AZURE", "tc_to_pg_map" : "AZURE",
"pfc_to_queue_map": "AZURE", "pfc_to_queue_map": "AZURE",
"pfc_enable" : "3,4" "pfc_enable" : "3,4",
"pfcwd_sw_enable" : "3,4"
}, },
"Ethernet11": { "Ethernet11": {
"dscp_to_tc_map" : "AZURE", "dscp_to_tc_map" : "AZURE",
"tc_to_queue_map" : "AZURE", "tc_to_queue_map" : "AZURE",
"tc_to_pg_map" : "AZURE", "tc_to_pg_map" : "AZURE",
"pfc_to_queue_map": "AZURE", "pfc_to_queue_map": "AZURE",
"pfc_enable" : "3,4" "pfc_enable" : "3,4",
"pfcwd_sw_enable" : "3,4"
}, },
"Ethernet12": { "Ethernet12": {
"dscp_to_tc_map" : "AZURE", "dscp_to_tc_map" : "AZURE",
"tc_to_queue_map" : "AZURE", "tc_to_queue_map" : "AZURE",
"tc_to_pg_map" : "AZURE", "tc_to_pg_map" : "AZURE",
"pfc_to_queue_map": "AZURE", "pfc_to_queue_map": "AZURE",
"pfc_enable" : "3,4" "pfc_enable" : "3,4",
"pfcwd_sw_enable" : "3,4"
}, },
"Ethernet13": { "Ethernet13": {
"dscp_to_tc_map" : "AZURE", "dscp_to_tc_map" : "AZURE",
"tc_to_queue_map" : "AZURE", "tc_to_queue_map" : "AZURE",
"tc_to_pg_map" : "AZURE", "tc_to_pg_map" : "AZURE",
"pfc_to_queue_map": "AZURE", "pfc_to_queue_map": "AZURE",
"pfc_enable" : "3,4" "pfc_enable" : "3,4",
"pfcwd_sw_enable" : "3,4"
}, },
"Ethernet14": { "Ethernet14": {
"dscp_to_tc_map" : "AZURE", "dscp_to_tc_map" : "AZURE",
"tc_to_queue_map" : "AZURE", "tc_to_queue_map" : "AZURE",
"tc_to_pg_map" : "AZURE", "tc_to_pg_map" : "AZURE",
"pfc_to_queue_map": "AZURE", "pfc_to_queue_map": "AZURE",
"pfc_enable" : "3,4" "pfc_enable" : "3,4",
"pfcwd_sw_enable" : "3,4"
}, },
"Ethernet15": { "Ethernet15": {
"dscp_to_tc_map" : "AZURE", "dscp_to_tc_map" : "AZURE",
"tc_to_queue_map" : "AZURE", "tc_to_queue_map" : "AZURE",
"tc_to_pg_map" : "AZURE", "tc_to_pg_map" : "AZURE",
"pfc_to_queue_map": "AZURE", "pfc_to_queue_map": "AZURE",
"pfc_enable" : "3,4" "pfc_enable" : "3,4",
"pfcwd_sw_enable" : "3,4"
}, },
"Ethernet16": { "Ethernet16": {
"dscp_to_tc_map" : "AZURE", "dscp_to_tc_map" : "AZURE",
"tc_to_queue_map" : "AZURE", "tc_to_queue_map" : "AZURE",
"tc_to_pg_map" : "AZURE", "tc_to_pg_map" : "AZURE",
"pfc_to_queue_map": "AZURE", "pfc_to_queue_map": "AZURE",
"pfc_enable" : "3,4" "pfc_enable" : "3,4",
"pfcwd_sw_enable" : "3,4"
}, },
"Ethernet17": { "Ethernet17": {
"dscp_to_tc_map" : "AZURE", "dscp_to_tc_map" : "AZURE",
"tc_to_queue_map" : "AZURE", "tc_to_queue_map" : "AZURE",
"tc_to_pg_map" : "AZURE", "tc_to_pg_map" : "AZURE",
"pfc_to_queue_map": "AZURE", "pfc_to_queue_map": "AZURE",
"pfc_enable" : "3,4" "pfc_enable" : "3,4",
"pfcwd_sw_enable" : "3,4"
}, },
"Ethernet20": { "Ethernet20": {
"dscp_to_tc_map" : "AZURE", "dscp_to_tc_map" : "AZURE",
"tc_to_queue_map" : "AZURE", "tc_to_queue_map" : "AZURE",
"tc_to_pg_map" : "AZURE", "tc_to_pg_map" : "AZURE",
"pfc_to_queue_map": "AZURE", "pfc_to_queue_map": "AZURE",
"pfc_enable" : "3,4" "pfc_enable" : "3,4",
"pfcwd_sw_enable" : "3,4"
}, },
"Ethernet21": { "Ethernet21": {
"dscp_to_tc_map" : "AZURE", "dscp_to_tc_map" : "AZURE",
"tc_to_queue_map" : "AZURE", "tc_to_queue_map" : "AZURE",
"tc_to_pg_map" : "AZURE", "tc_to_pg_map" : "AZURE",
"pfc_to_queue_map": "AZURE", "pfc_to_queue_map": "AZURE",
"pfc_enable" : "3,4" "pfc_enable" : "3,4",
"pfcwd_sw_enable" : "3,4"
}, },
"Ethernet22": { "Ethernet22": {
"dscp_to_tc_map" : "AZURE", "dscp_to_tc_map" : "AZURE",
"tc_to_queue_map" : "AZURE", "tc_to_queue_map" : "AZURE",
"tc_to_pg_map" : "AZURE", "tc_to_pg_map" : "AZURE",
"pfc_to_queue_map": "AZURE", "pfc_to_queue_map": "AZURE",
"pfc_enable" : "3,4" "pfc_enable" : "3,4",
"pfcwd_sw_enable" : "3,4"
}, },
"Ethernet23": { "Ethernet23": {
"dscp_to_tc_map" : "AZURE", "dscp_to_tc_map" : "AZURE",
"tc_to_queue_map" : "AZURE", "tc_to_queue_map" : "AZURE",
"tc_to_pg_map" : "AZURE", "tc_to_pg_map" : "AZURE",
"pfc_to_queue_map": "AZURE", "pfc_to_queue_map": "AZURE",
"pfc_enable" : "3,4" "pfc_enable" : "3,4",
"pfcwd_sw_enable" : "3,4"
}, },
"Ethernet24": { "Ethernet24": {
"dscp_to_tc_map" : "AZURE", "dscp_to_tc_map" : "AZURE",
"tc_to_queue_map" : "AZURE", "tc_to_queue_map" : "AZURE",
"tc_to_pg_map" : "AZURE", "tc_to_pg_map" : "AZURE",
"pfc_to_queue_map": "AZURE", "pfc_to_queue_map": "AZURE",
"pfc_enable" : "3,4" "pfc_enable" : "3,4",
"pfcwd_sw_enable" : "3,4"
}, },
"Ethernet25": { "Ethernet25": {
"dscp_to_tc_map" : "AZURE", "dscp_to_tc_map" : "AZURE",
"tc_to_queue_map" : "AZURE", "tc_to_queue_map" : "AZURE",
"tc_to_pg_map" : "AZURE", "tc_to_pg_map" : "AZURE",
"pfc_to_queue_map": "AZURE", "pfc_to_queue_map": "AZURE",
"pfc_enable" : "3,4" "pfc_enable" : "3,4",
"pfcwd_sw_enable" : "3,4"
}, },
"Ethernet26": { "Ethernet26": {
"dscp_to_tc_map" : "AZURE", "dscp_to_tc_map" : "AZURE",
"tc_to_queue_map" : "AZURE", "tc_to_queue_map" : "AZURE",
"tc_to_pg_map" : "AZURE", "tc_to_pg_map" : "AZURE",
"pfc_to_queue_map": "AZURE", "pfc_to_queue_map": "AZURE",
"pfc_enable" : "3,4" "pfc_enable" : "3,4",
"pfcwd_sw_enable" : "3,4"
}, },
"Ethernet27": { "Ethernet27": {
"dscp_to_tc_map" : "AZURE", "dscp_to_tc_map" : "AZURE",
"tc_to_queue_map" : "AZURE", "tc_to_queue_map" : "AZURE",
"tc_to_pg_map" : "AZURE", "tc_to_pg_map" : "AZURE",
"pfc_to_queue_map": "AZURE", "pfc_to_queue_map": "AZURE",
"pfc_enable" : "3,4" "pfc_enable" : "3,4",
"pfcwd_sw_enable" : "3,4"
}, },
"Ethernet28": { "Ethernet28": {
"dscp_to_tc_map" : "AZURE", "dscp_to_tc_map" : "AZURE",
"tc_to_queue_map" : "AZURE", "tc_to_queue_map" : "AZURE",
"tc_to_pg_map" : "AZURE", "tc_to_pg_map" : "AZURE",
"pfc_to_queue_map": "AZURE", "pfc_to_queue_map": "AZURE",
"pfc_enable" : "3,4" "pfc_enable" : "3,4",
"pfcwd_sw_enable" : "3,4"
}, },
"Ethernet29": { "Ethernet29": {
"dscp_to_tc_map" : "AZURE", "dscp_to_tc_map" : "AZURE",
"tc_to_queue_map" : "AZURE", "tc_to_queue_map" : "AZURE",
"tc_to_pg_map" : "AZURE", "tc_to_pg_map" : "AZURE",
"pfc_to_queue_map": "AZURE", "pfc_to_queue_map": "AZURE",
"pfc_enable" : "3,4" "pfc_enable" : "3,4",
"pfcwd_sw_enable" : "3,4"
}, },
"Ethernet30": { "Ethernet30": {
"dscp_to_tc_map" : "AZURE", "dscp_to_tc_map" : "AZURE",
"tc_to_queue_map" : "AZURE", "tc_to_queue_map" : "AZURE",
"tc_to_pg_map" : "AZURE", "tc_to_pg_map" : "AZURE",
"pfc_to_queue_map": "AZURE", "pfc_to_queue_map": "AZURE",
"pfc_enable" : "3,4" "pfc_enable" : "3,4",
"pfcwd_sw_enable" : "3,4"
}, },
"Ethernet31": { "Ethernet31": {
"dscp_to_tc_map" : "AZURE", "dscp_to_tc_map" : "AZURE",
"tc_to_queue_map" : "AZURE", "tc_to_queue_map" : "AZURE",
"tc_to_pg_map" : "AZURE", "tc_to_pg_map" : "AZURE",
"pfc_to_queue_map": "AZURE", "pfc_to_queue_map": "AZURE",
"pfc_enable" : "3,4" "pfc_enable" : "3,4",
"pfcwd_sw_enable" : "3,4"
}, },
"Ethernet32": { "Ethernet32": {
"dscp_to_tc_map" : "AZURE", "dscp_to_tc_map" : "AZURE",
"tc_to_queue_map" : "AZURE", "tc_to_queue_map" : "AZURE",
"tc_to_pg_map" : "AZURE", "tc_to_pg_map" : "AZURE",
"pfc_to_queue_map": "AZURE", "pfc_to_queue_map": "AZURE",
"pfc_enable" : "3,4" "pfc_enable" : "3,4",
"pfcwd_sw_enable" : "3,4"
}, },
"Ethernet36": { "Ethernet36": {
"dscp_to_tc_map" : "AZURE", "dscp_to_tc_map" : "AZURE",
"tc_to_queue_map" : "AZURE", "tc_to_queue_map" : "AZURE",
"tc_to_pg_map" : "AZURE", "tc_to_pg_map" : "AZURE",
"pfc_to_queue_map": "AZURE", "pfc_to_queue_map": "AZURE",
"pfc_enable" : "3,4" "pfc_enable" : "3,4",
"pfcwd_sw_enable" : "3,4"
}, },
"Ethernet37": { "Ethernet37": {
"dscp_to_tc_map" : "AZURE", "dscp_to_tc_map" : "AZURE",
"tc_to_queue_map" : "AZURE", "tc_to_queue_map" : "AZURE",
"tc_to_pg_map" : "AZURE", "tc_to_pg_map" : "AZURE",
"pfc_to_queue_map": "AZURE", "pfc_to_queue_map": "AZURE",
"pfc_enable" : "3,4" "pfc_enable" : "3,4",
"pfcwd_sw_enable" : "3,4"
}, },
"Ethernet38": { "Ethernet38": {
"dscp_to_tc_map" : "AZURE", "dscp_to_tc_map" : "AZURE",
"tc_to_queue_map" : "AZURE", "tc_to_queue_map" : "AZURE",
"tc_to_pg_map" : "AZURE", "tc_to_pg_map" : "AZURE",
"pfc_to_queue_map": "AZURE", "pfc_to_queue_map": "AZURE",
"pfc_enable" : "3,4" "pfc_enable" : "3,4",
"pfcwd_sw_enable" : "3,4"
}, },
"Ethernet39": { "Ethernet39": {
"dscp_to_tc_map" : "AZURE", "dscp_to_tc_map" : "AZURE",
"tc_to_queue_map" : "AZURE", "tc_to_queue_map" : "AZURE",
"tc_to_pg_map" : "AZURE", "tc_to_pg_map" : "AZURE",
"pfc_to_queue_map": "AZURE", "pfc_to_queue_map": "AZURE",
"pfc_enable" : "3,4" "pfc_enable" : "3,4",
"pfcwd_sw_enable" : "3,4"
}, },
"Ethernet40": { "Ethernet40": {
"dscp_to_tc_map" : "AZURE", "dscp_to_tc_map" : "AZURE",
"tc_to_queue_map" : "AZURE", "tc_to_queue_map" : "AZURE",
"tc_to_pg_map" : "AZURE", "tc_to_pg_map" : "AZURE",
"pfc_to_queue_map": "AZURE", "pfc_to_queue_map": "AZURE",
"pfc_enable" : "3,4" "pfc_enable" : "3,4",
"pfcwd_sw_enable" : "3,4"
}, },
"Ethernet41": { "Ethernet41": {
"dscp_to_tc_map" : "AZURE", "dscp_to_tc_map" : "AZURE",
"tc_to_queue_map" : "AZURE", "tc_to_queue_map" : "AZURE",
"tc_to_pg_map" : "AZURE", "tc_to_pg_map" : "AZURE",
"pfc_to_queue_map": "AZURE", "pfc_to_queue_map": "AZURE",
"pfc_enable" : "3,4" "pfc_enable" : "3,4",
"pfcwd_sw_enable" : "3,4"
}, },
"Ethernet42": { "Ethernet42": {
"dscp_to_tc_map" : "AZURE", "dscp_to_tc_map" : "AZURE",
"tc_to_queue_map" : "AZURE", "tc_to_queue_map" : "AZURE",
"tc_to_pg_map" : "AZURE", "tc_to_pg_map" : "AZURE",
"pfc_to_queue_map": "AZURE", "pfc_to_queue_map": "AZURE",
"pfc_enable" : "3,4" "pfc_enable" : "3,4",
"pfcwd_sw_enable" : "3,4"
}, },
"Ethernet48": { "Ethernet48": {
"dscp_to_tc_map" : "AZURE", "dscp_to_tc_map" : "AZURE",
"tc_to_queue_map" : "AZURE", "tc_to_queue_map" : "AZURE",
"tc_to_pg_map" : "AZURE", "tc_to_pg_map" : "AZURE",
"pfc_to_queue_map": "AZURE", "pfc_to_queue_map": "AZURE",
"pfc_enable" : "3,4" "pfc_enable" : "3,4",
"pfcwd_sw_enable" : "3,4"
}, },
"Ethernet52": { "Ethernet52": {
"dscp_to_tc_map" : "AZURE", "dscp_to_tc_map" : "AZURE",
"tc_to_queue_map" : "AZURE", "tc_to_queue_map" : "AZURE",
"tc_to_pg_map" : "AZURE", "tc_to_pg_map" : "AZURE",
"pfc_to_queue_map": "AZURE", "pfc_to_queue_map": "AZURE",
"pfc_enable" : "3,4" "pfc_enable" : "3,4",
"pfcwd_sw_enable" : "3,4"
}, },
"Ethernet53": { "Ethernet53": {
"dscp_to_tc_map" : "AZURE", "dscp_to_tc_map" : "AZURE",
"tc_to_queue_map" : "AZURE", "tc_to_queue_map" : "AZURE",
"tc_to_pg_map" : "AZURE", "tc_to_pg_map" : "AZURE",
"pfc_to_queue_map": "AZURE", "pfc_to_queue_map": "AZURE",
"pfc_enable" : "3,4" "pfc_enable" : "3,4",
"pfcwd_sw_enable" : "3,4"
}, },
"Ethernet54": { "Ethernet54": {
"dscp_to_tc_map" : "AZURE", "dscp_to_tc_map" : "AZURE",
"tc_to_queue_map" : "AZURE", "tc_to_queue_map" : "AZURE",
"tc_to_pg_map" : "AZURE", "tc_to_pg_map" : "AZURE",
"pfc_to_queue_map": "AZURE", "pfc_to_queue_map": "AZURE",
"pfc_enable" : "3,4" "pfc_enable" : "3,4",
"pfcwd_sw_enable" : "3,4"
}, },
"Ethernet55": { "Ethernet55": {
"dscp_to_tc_map" : "AZURE", "dscp_to_tc_map" : "AZURE",
"tc_to_queue_map" : "AZURE", "tc_to_queue_map" : "AZURE",
"tc_to_pg_map" : "AZURE", "tc_to_pg_map" : "AZURE",
"pfc_to_queue_map": "AZURE", "pfc_to_queue_map": "AZURE",
"pfc_enable" : "3,4" "pfc_enable" : "3,4",
"pfcwd_sw_enable" : "3,4"
}, },
"Ethernet56": { "Ethernet56": {
"dscp_to_tc_map" : "AZURE", "dscp_to_tc_map" : "AZURE",
"tc_to_queue_map" : "AZURE", "tc_to_queue_map" : "AZURE",
"tc_to_pg_map" : "AZURE", "tc_to_pg_map" : "AZURE",
"pfc_to_queue_map": "AZURE", "pfc_to_queue_map": "AZURE",
"pfc_enable" : "3,4" "pfc_enable" : "3,4",
"pfcwd_sw_enable" : "3,4"
}, },
"Ethernet57": { "Ethernet57": {
"dscp_to_tc_map" : "AZURE", "dscp_to_tc_map" : "AZURE",
"tc_to_queue_map" : "AZURE", "tc_to_queue_map" : "AZURE",
"tc_to_pg_map" : "AZURE", "tc_to_pg_map" : "AZURE",
"pfc_to_queue_map": "AZURE", "pfc_to_queue_map": "AZURE",
"pfc_enable" : "3,4" "pfc_enable" : "3,4",
"pfcwd_sw_enable" : "3,4"
}, },
"Ethernet58": { "Ethernet58": {
"dscp_to_tc_map" : "AZURE", "dscp_to_tc_map" : "AZURE",
"tc_to_queue_map" : "AZURE", "tc_to_queue_map" : "AZURE",
"tc_to_pg_map" : "AZURE", "tc_to_pg_map" : "AZURE",
"pfc_to_queue_map": "AZURE", "pfc_to_queue_map": "AZURE",
"pfc_enable" : "3,4" "pfc_enable" : "3,4",
"pfcwd_sw_enable" : "3,4"
} }
}, },
"WRED_PROFILE": { "WRED_PROFILE": {

View File

@ -123,224 +123,256 @@
"tc_to_queue_map" : "AZURE", "tc_to_queue_map" : "AZURE",
"tc_to_pg_map" : "AZURE", "tc_to_pg_map" : "AZURE",
"pfc_to_queue_map": "AZURE", "pfc_to_queue_map": "AZURE",
"pfc_enable" : "3,4" "pfc_enable" : "3,4",
"pfcwd_sw_enable" : "3,4"
}, },
"Ethernet8": { "Ethernet8": {
"dscp_to_tc_map" : "AZURE", "dscp_to_tc_map" : "AZURE",
"tc_to_queue_map" : "AZURE", "tc_to_queue_map" : "AZURE",
"tc_to_pg_map" : "AZURE", "tc_to_pg_map" : "AZURE",
"pfc_to_queue_map": "AZURE", "pfc_to_queue_map": "AZURE",
"pfc_enable" : "3,4" "pfc_enable" : "3,4",
"pfcwd_sw_enable" : "3,4"
}, },
"Ethernet16": { "Ethernet16": {
"dscp_to_tc_map" : "AZURE", "dscp_to_tc_map" : "AZURE",
"tc_to_queue_map" : "AZURE", "tc_to_queue_map" : "AZURE",
"tc_to_pg_map" : "AZURE", "tc_to_pg_map" : "AZURE",
"pfc_to_queue_map": "AZURE", "pfc_to_queue_map": "AZURE",
"pfc_enable" : "3,4" "pfc_enable" : "3,4",
"pfcwd_sw_enable" : "3,4"
}, },
"Ethernet24": { "Ethernet24": {
"dscp_to_tc_map" : "AZURE", "dscp_to_tc_map" : "AZURE",
"tc_to_queue_map" : "AZURE", "tc_to_queue_map" : "AZURE",
"tc_to_pg_map" : "AZURE", "tc_to_pg_map" : "AZURE",
"pfc_to_queue_map": "AZURE", "pfc_to_queue_map": "AZURE",
"pfc_enable" : "3,4" "pfc_enable" : "3,4",
"pfcwd_sw_enable" : "3,4"
}, },
"Ethernet32": { "Ethernet32": {
"dscp_to_tc_map" : "AZURE", "dscp_to_tc_map" : "AZURE",
"tc_to_queue_map" : "AZURE", "tc_to_queue_map" : "AZURE",
"tc_to_pg_map" : "AZURE", "tc_to_pg_map" : "AZURE",
"pfc_to_queue_map": "AZURE", "pfc_to_queue_map": "AZURE",
"pfc_enable" : "3,4" "pfc_enable" : "3,4",
"pfcwd_sw_enable" : "3,4"
}, },
"Ethernet40": { "Ethernet40": {
"dscp_to_tc_map" : "AZURE", "dscp_to_tc_map" : "AZURE",
"tc_to_queue_map" : "AZURE", "tc_to_queue_map" : "AZURE",
"tc_to_pg_map" : "AZURE", "tc_to_pg_map" : "AZURE",
"pfc_to_queue_map": "AZURE", "pfc_to_queue_map": "AZURE",
"pfc_enable" : "3,4" "pfc_enable" : "3,4",
"pfcwd_sw_enable" : "3,4"
}, },
"Ethernet48": { "Ethernet48": {
"dscp_to_tc_map" : "AZURE", "dscp_to_tc_map" : "AZURE",
"tc_to_queue_map" : "AZURE", "tc_to_queue_map" : "AZURE",
"tc_to_pg_map" : "AZURE", "tc_to_pg_map" : "AZURE",
"pfc_to_queue_map": "AZURE", "pfc_to_queue_map": "AZURE",
"pfc_enable" : "3,4" "pfc_enable" : "3,4",
"pfcwd_sw_enable" : "3,4"
}, },
"Ethernet56": { "Ethernet56": {
"dscp_to_tc_map" : "AZURE", "dscp_to_tc_map" : "AZURE",
"tc_to_queue_map" : "AZURE", "tc_to_queue_map" : "AZURE",
"tc_to_pg_map" : "AZURE", "tc_to_pg_map" : "AZURE",
"pfc_to_queue_map": "AZURE", "pfc_to_queue_map": "AZURE",
"pfc_enable" : "3,4" "pfc_enable" : "3,4",
"pfcwd_sw_enable" : "3,4"
}, },
"Ethernet64": { "Ethernet64": {
"dscp_to_tc_map" : "AZURE", "dscp_to_tc_map" : "AZURE",
"tc_to_queue_map" : "AZURE", "tc_to_queue_map" : "AZURE",
"tc_to_pg_map" : "AZURE", "tc_to_pg_map" : "AZURE",
"pfc_to_queue_map": "AZURE", "pfc_to_queue_map": "AZURE",
"pfc_enable" : "3,4" "pfc_enable" : "3,4",
"pfcwd_sw_enable" : "3,4"
}, },
"Ethernet72": { "Ethernet72": {
"dscp_to_tc_map" : "AZURE", "dscp_to_tc_map" : "AZURE",
"tc_to_queue_map" : "AZURE", "tc_to_queue_map" : "AZURE",
"tc_to_pg_map" : "AZURE", "tc_to_pg_map" : "AZURE",
"pfc_to_queue_map": "AZURE", "pfc_to_queue_map": "AZURE",
"pfc_enable" : "3,4" "pfc_enable" : "3,4",
"pfcwd_sw_enable" : "3,4"
}, },
"Ethernet80": { "Ethernet80": {
"dscp_to_tc_map" : "AZURE", "dscp_to_tc_map" : "AZURE",
"tc_to_queue_map" : "AZURE", "tc_to_queue_map" : "AZURE",
"tc_to_pg_map" : "AZURE", "tc_to_pg_map" : "AZURE",
"pfc_to_queue_map": "AZURE", "pfc_to_queue_map": "AZURE",
"pfc_enable" : "3,4" "pfc_enable" : "3,4",
"pfcwd_sw_enable" : "3,4"
}, },
"Ethernet88": { "Ethernet88": {
"dscp_to_tc_map" : "AZURE", "dscp_to_tc_map" : "AZURE",
"tc_to_queue_map" : "AZURE", "tc_to_queue_map" : "AZURE",
"tc_to_pg_map" : "AZURE", "tc_to_pg_map" : "AZURE",
"pfc_to_queue_map": "AZURE", "pfc_to_queue_map": "AZURE",
"pfc_enable" : "3,4" "pfc_enable" : "3,4",
"pfcwd_sw_enable" : "3,4"
}, },
"Ethernet96": { "Ethernet96": {
"dscp_to_tc_map" : "AZURE", "dscp_to_tc_map" : "AZURE",
"tc_to_queue_map" : "AZURE", "tc_to_queue_map" : "AZURE",
"tc_to_pg_map" : "AZURE", "tc_to_pg_map" : "AZURE",
"pfc_to_queue_map": "AZURE", "pfc_to_queue_map": "AZURE",
"pfc_enable" : "3,4" "pfc_enable" : "3,4",
"pfcwd_sw_enable" : "3,4"
}, },
"Ethernet104": { "Ethernet104": {
"dscp_to_tc_map" : "AZURE", "dscp_to_tc_map" : "AZURE",
"tc_to_queue_map" : "AZURE", "tc_to_queue_map" : "AZURE",
"tc_to_pg_map" : "AZURE", "tc_to_pg_map" : "AZURE",
"pfc_to_queue_map": "AZURE", "pfc_to_queue_map": "AZURE",
"pfc_enable" : "3,4" "pfc_enable" : "3,4",
"pfcwd_sw_enable" : "3,4"
}, },
"Ethernet112": { "Ethernet112": {
"dscp_to_tc_map" : "AZURE", "dscp_to_tc_map" : "AZURE",
"tc_to_queue_map" : "AZURE", "tc_to_queue_map" : "AZURE",
"tc_to_pg_map" : "AZURE", "tc_to_pg_map" : "AZURE",
"pfc_to_queue_map": "AZURE", "pfc_to_queue_map": "AZURE",
"pfc_enable" : "3,4" "pfc_enable" : "3,4",
"pfcwd_sw_enable" : "3,4"
}, },
"Ethernet120": { "Ethernet120": {
"dscp_to_tc_map" : "AZURE", "dscp_to_tc_map" : "AZURE",
"tc_to_queue_map" : "AZURE", "tc_to_queue_map" : "AZURE",
"tc_to_pg_map" : "AZURE", "tc_to_pg_map" : "AZURE",
"pfc_to_queue_map": "AZURE", "pfc_to_queue_map": "AZURE",
"pfc_enable" : "3,4" "pfc_enable" : "3,4",
"pfcwd_sw_enable" : "3,4"
}, },
"Ethernet128": { "Ethernet128": {
"dscp_to_tc_map" : "AZURE", "dscp_to_tc_map" : "AZURE",
"tc_to_queue_map" : "AZURE", "tc_to_queue_map" : "AZURE",
"tc_to_pg_map" : "AZURE", "tc_to_pg_map" : "AZURE",
"pfc_to_queue_map": "AZURE", "pfc_to_queue_map": "AZURE",
"pfc_enable" : "3,4" "pfc_enable" : "3,4",
"pfcwd_sw_enable" : "3,4"
}, },
"Ethernet136": { "Ethernet136": {
"dscp_to_tc_map" : "AZURE", "dscp_to_tc_map" : "AZURE",
"tc_to_queue_map" : "AZURE", "tc_to_queue_map" : "AZURE",
"tc_to_pg_map" : "AZURE", "tc_to_pg_map" : "AZURE",
"pfc_to_queue_map": "AZURE", "pfc_to_queue_map": "AZURE",
"pfc_enable" : "3,4" "pfc_enable" : "3,4",
"pfcwd_sw_enable" : "3,4"
}, },
"Ethernet144": { "Ethernet144": {
"dscp_to_tc_map" : "AZURE", "dscp_to_tc_map" : "AZURE",
"tc_to_queue_map" : "AZURE", "tc_to_queue_map" : "AZURE",
"tc_to_pg_map" : "AZURE", "tc_to_pg_map" : "AZURE",
"pfc_to_queue_map": "AZURE", "pfc_to_queue_map": "AZURE",
"pfc_enable" : "3,4" "pfc_enable" : "3,4",
"pfcwd_sw_enable" : "3,4"
}, },
"Ethernet152": { "Ethernet152": {
"dscp_to_tc_map" : "AZURE", "dscp_to_tc_map" : "AZURE",
"tc_to_queue_map" : "AZURE", "tc_to_queue_map" : "AZURE",
"tc_to_pg_map" : "AZURE", "tc_to_pg_map" : "AZURE",
"pfc_to_queue_map": "AZURE", "pfc_to_queue_map": "AZURE",
"pfc_enable" : "3,4" "pfc_enable" : "3,4",
"pfcwd_sw_enable" : "3,4"
}, },
"Ethernet160": { "Ethernet160": {
"dscp_to_tc_map" : "AZURE", "dscp_to_tc_map" : "AZURE",
"tc_to_queue_map" : "AZURE", "tc_to_queue_map" : "AZURE",
"tc_to_pg_map" : "AZURE", "tc_to_pg_map" : "AZURE",
"pfc_to_queue_map": "AZURE", "pfc_to_queue_map": "AZURE",
"pfc_enable" : "3,4" "pfc_enable" : "3,4",
"pfcwd_sw_enable" : "3,4"
}, },
"Ethernet168": { "Ethernet168": {
"dscp_to_tc_map" : "AZURE", "dscp_to_tc_map" : "AZURE",
"tc_to_queue_map" : "AZURE", "tc_to_queue_map" : "AZURE",
"tc_to_pg_map" : "AZURE", "tc_to_pg_map" : "AZURE",
"pfc_to_queue_map": "AZURE", "pfc_to_queue_map": "AZURE",
"pfc_enable" : "3,4" "pfc_enable" : "3,4",
"pfcwd_sw_enable" : "3,4"
}, },
"Ethernet176": { "Ethernet176": {
"dscp_to_tc_map" : "AZURE", "dscp_to_tc_map" : "AZURE",
"tc_to_queue_map" : "AZURE", "tc_to_queue_map" : "AZURE",
"tc_to_pg_map" : "AZURE", "tc_to_pg_map" : "AZURE",
"pfc_to_queue_map": "AZURE", "pfc_to_queue_map": "AZURE",
"pfc_enable" : "3,4" "pfc_enable" : "3,4",
"pfcwd_sw_enable" : "3,4"
}, },
"Ethernet184": { "Ethernet184": {
"dscp_to_tc_map" : "AZURE", "dscp_to_tc_map" : "AZURE",
"tc_to_queue_map" : "AZURE", "tc_to_queue_map" : "AZURE",
"tc_to_pg_map" : "AZURE", "tc_to_pg_map" : "AZURE",
"pfc_to_queue_map": "AZURE", "pfc_to_queue_map": "AZURE",
"pfc_enable" : "3,4" "pfc_enable" : "3,4",
"pfcwd_sw_enable" : "3,4"
}, },
"Ethernet192": { "Ethernet192": {
"dscp_to_tc_map" : "AZURE", "dscp_to_tc_map" : "AZURE",
"tc_to_queue_map" : "AZURE", "tc_to_queue_map" : "AZURE",
"tc_to_pg_map" : "AZURE", "tc_to_pg_map" : "AZURE",
"pfc_to_queue_map": "AZURE", "pfc_to_queue_map": "AZURE",
"pfc_enable" : "3,4" "pfc_enable" : "3,4",
"pfcwd_sw_enable" : "3,4"
}, },
"Ethernet200": { "Ethernet200": {
"dscp_to_tc_map" : "AZURE", "dscp_to_tc_map" : "AZURE",
"tc_to_queue_map" : "AZURE", "tc_to_queue_map" : "AZURE",
"tc_to_pg_map" : "AZURE", "tc_to_pg_map" : "AZURE",
"pfc_to_queue_map": "AZURE", "pfc_to_queue_map": "AZURE",
"pfc_enable" : "3,4" "pfc_enable" : "3,4",
"pfcwd_sw_enable" : "3,4"
}, },
"Ethernet208": { "Ethernet208": {
"dscp_to_tc_map" : "AZURE", "dscp_to_tc_map" : "AZURE",
"tc_to_queue_map" : "AZURE", "tc_to_queue_map" : "AZURE",
"tc_to_pg_map" : "AZURE", "tc_to_pg_map" : "AZURE",
"pfc_to_queue_map": "AZURE", "pfc_to_queue_map": "AZURE",
"pfc_enable" : "3,4" "pfc_enable" : "3,4",
"pfcwd_sw_enable" : "3,4"
}, },
"Ethernet216": { "Ethernet216": {
"dscp_to_tc_map" : "AZURE", "dscp_to_tc_map" : "AZURE",
"tc_to_queue_map" : "AZURE", "tc_to_queue_map" : "AZURE",
"tc_to_pg_map" : "AZURE", "tc_to_pg_map" : "AZURE",
"pfc_to_queue_map": "AZURE", "pfc_to_queue_map": "AZURE",
"pfc_enable" : "3,4" "pfc_enable" : "3,4",
"pfcwd_sw_enable" : "3,4"
}, },
"Ethernet224": { "Ethernet224": {
"dscp_to_tc_map" : "AZURE", "dscp_to_tc_map" : "AZURE",
"tc_to_queue_map" : "AZURE", "tc_to_queue_map" : "AZURE",
"tc_to_pg_map" : "AZURE", "tc_to_pg_map" : "AZURE",
"pfc_to_queue_map": "AZURE", "pfc_to_queue_map": "AZURE",
"pfc_enable" : "3,4" "pfc_enable" : "3,4",
"pfcwd_sw_enable" : "3,4"
}, },
"Ethernet232": { "Ethernet232": {
"dscp_to_tc_map" : "AZURE", "dscp_to_tc_map" : "AZURE",
"tc_to_queue_map" : "AZURE", "tc_to_queue_map" : "AZURE",
"tc_to_pg_map" : "AZURE", "tc_to_pg_map" : "AZURE",
"pfc_to_queue_map": "AZURE", "pfc_to_queue_map": "AZURE",
"pfc_enable" : "3,4" "pfc_enable" : "3,4",
"pfcwd_sw_enable" : "3,4"
}, },
"Ethernet240": { "Ethernet240": {
"dscp_to_tc_map" : "AZURE", "dscp_to_tc_map" : "AZURE",
"tc_to_queue_map" : "AZURE", "tc_to_queue_map" : "AZURE",
"tc_to_pg_map" : "AZURE", "tc_to_pg_map" : "AZURE",
"pfc_to_queue_map": "AZURE", "pfc_to_queue_map": "AZURE",
"pfc_enable" : "3,4" "pfc_enable" : "3,4",
"pfcwd_sw_enable" : "3,4"
}, },
"Ethernet248": { "Ethernet248": {
"dscp_to_tc_map" : "AZURE", "dscp_to_tc_map" : "AZURE",
"tc_to_queue_map" : "AZURE", "tc_to_queue_map" : "AZURE",
"tc_to_pg_map" : "AZURE", "tc_to_pg_map" : "AZURE",
"pfc_to_queue_map": "AZURE", "pfc_to_queue_map": "AZURE",
"pfc_enable" : "3,4" "pfc_enable" : "3,4",
"pfcwd_sw_enable" : "3,4"
} }
}, },
"WRED_PROFILE": { "WRED_PROFILE": {

View File

@ -274,6 +274,49 @@ class TestJ2Files(TestCase):
sample_output_file = os.path.join(self.test_dir, 'sample_output', utils.PYvX_DIR, 'qos-dell6100.json') sample_output_file = os.path.join(self.test_dir, 'sample_output', utils.PYvX_DIR, 'qos-dell6100.json')
assert utils.cmp(sample_output_file, self.output_file), self.run_diff(sample_output_file, self.output_file) assert utils.cmp(sample_output_file, self.output_file), self.run_diff(sample_output_file, self.output_file)
def test_qos_dscp_remapping_render_template(self):
if utils.PYvX_DIR != 'py3':
# Skip on python2 as the change will not be backported to previous version
return
dir_paths = [
'../../../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'
]
sample_outputs = [
'qos-arista7050cx3-dualtor.json',
'qos-arista7260-dualtor.json',
'qos-arista7260-t1.json'
]
sample_minigraph_files = [
'sample-arista-7050cx3-dualtor-minigraph.xml',
'sample-arista-7260-dualtor-minigraph.xml',
'sample-arista-7260-t1-minigraph.xml'
]
for i, path in enumerate(dir_paths):
device_template_path = os.path.join(self.test_dir, path)
sample_output = sample_outputs[i]
sample_minigraph_file = os.path.join(self.test_dir,sample_minigraph_files[i])
qos_file = os.path.join(device_template_path, 'qos.json.j2')
port_config_ini_file = os.path.join(device_template_path, 'port_config.ini')
test_output = os.path.join(self.test_dir, 'output.json')
# copy qos_config.j2 to the target directory to have all templates in one directory
qos_config_file = os.path.join(self.test_dir, '..', '..', '..', 'files', 'build_templates', 'qos_config.j2')
shutil.copy2(qos_config_file, device_template_path)
argument = '-m ' + sample_minigraph_file + ' -p ' + port_config_ini_file + ' -t ' + qos_file + ' > ' + test_output
self.run_script(argument)
# cleanup
qos_config_file_new = os.path.join(device_template_path, 'qos_config.j2')
os.remove(qos_config_file_new)
sample_output_file = os.path.join(self.test_dir, 'sample_output', utils.PYvX_DIR, sample_output)
assert utils.cmp(sample_output_file, test_output)
os.remove(test_output)
def _test_buffers_render_template(self, vendor, platform, sku, minigraph, buffer_template, expected): def _test_buffers_render_template(self, vendor, platform, sku, minigraph, buffer_template, expected):
dir_path = os.path.join(self.test_dir, '..', '..', '..', 'device', vendor, platform, sku) dir_path = os.path.join(self.test_dir, '..', '..', '..', 'device', vendor, platform, sku)
buffers_file = os.path.join(dir_path, buffer_template) buffers_file = os.path.join(dir_path, buffer_template)