[qos] change the template keyword from Compute-AI to ComputeAI (#17902)
Why I did it Align the keywords to make qos configuration take effect Work item tracking Microsoft ADO (number only): How I did it Change the keyword to ComputeAI How to verify it reload minigraph and check the qos configuration
This commit is contained in:
parent
f1d6655004
commit
5516381d7e
@ -83,7 +83,7 @@
|
|||||||
('type' in DEVICE_METADATA['localhost'] and
|
('type' in DEVICE_METADATA['localhost'] and
|
||||||
DEVICE_METADATA['localhost']['type'] in backend_device_types) and
|
DEVICE_METADATA['localhost']['type'] in backend_device_types) and
|
||||||
('resource_type' in DEVICE_METADATA['localhost'] and
|
('resource_type' in DEVICE_METADATA['localhost'] and
|
||||||
DEVICE_METADATA['localhost']['resource_type'] == 'Compute-AI') %}
|
DEVICE_METADATA['localhost']['resource_type'] == 'ComputeAI') %}
|
||||||
{{- generate_tc_to_pg_map() }}
|
{{- generate_tc_to_pg_map() }}
|
||||||
{% else %}
|
{% else %}
|
||||||
"TC_TO_PRIORITY_GROUP_MAP": {
|
"TC_TO_PRIORITY_GROUP_MAP": {
|
||||||
@ -147,7 +147,7 @@
|
|||||||
('type' in DEVICE_METADATA['localhost'] and
|
('type' in DEVICE_METADATA['localhost'] and
|
||||||
DEVICE_METADATA['localhost']['type'] in backend_device_types) and
|
DEVICE_METADATA['localhost']['type'] in backend_device_types) and
|
||||||
('resource_type' in DEVICE_METADATA['localhost'] and
|
('resource_type' in DEVICE_METADATA['localhost'] and
|
||||||
DEVICE_METADATA['localhost']['resource_type'] == 'Compute-AI') %}
|
DEVICE_METADATA['localhost']['resource_type'] == 'ComputeAI') %}
|
||||||
{{- generate_dscp_to_tc_map() }}
|
{{- generate_dscp_to_tc_map() }}
|
||||||
{% else %}
|
{% else %}
|
||||||
"DSCP_TO_TC_MAP": {
|
"DSCP_TO_TC_MAP": {
|
||||||
@ -241,7 +241,7 @@
|
|||||||
('type' in DEVICE_METADATA['localhost'] and
|
('type' in DEVICE_METADATA['localhost'] and
|
||||||
DEVICE_METADATA['localhost']['type'] in backend_device_types) and
|
DEVICE_METADATA['localhost']['type'] in backend_device_types) and
|
||||||
('resource_type' in DEVICE_METADATA['localhost'] and
|
('resource_type' in DEVICE_METADATA['localhost'] and
|
||||||
DEVICE_METADATA['localhost']['resource_type'] == 'Compute-AI') %}
|
DEVICE_METADATA['localhost']['resource_type'] == 'ComputeAI') %}
|
||||||
"SCHEDULER": {
|
"SCHEDULER": {
|
||||||
"scheduler.0": {
|
"scheduler.0": {
|
||||||
"type" : "DWRR",
|
"type" : "DWRR",
|
||||||
@ -406,7 +406,7 @@
|
|||||||
{% if 'type' in DEVICE_METADATA['localhost'] and
|
{% if 'type' in DEVICE_METADATA['localhost'] and
|
||||||
DEVICE_METADATA['localhost']['type'] in backend_device_types and
|
DEVICE_METADATA['localhost']['type'] in backend_device_types and
|
||||||
'resource_type' in DEVICE_METADATA['localhost'] and
|
'resource_type' in DEVICE_METADATA['localhost'] and
|
||||||
DEVICE_METADATA['localhost']['resource_type'] == 'Compute-AI' %}
|
DEVICE_METADATA['localhost']['resource_type'] == 'ComputeAI' %}
|
||||||
{% for port in PORT_ACTIVE %}
|
{% for port in PORT_ACTIVE %}
|
||||||
"{{ port }}|0": {
|
"{{ port }}|0": {
|
||||||
"scheduler": "scheduler.0"
|
"scheduler": "scheduler.0"
|
||||||
|
Loading…
Reference in New Issue
Block a user