|
83 | 83 | ('type' in DEVICE_METADATA['localhost'] and
|
84 | 84 | DEVICE_METADATA['localhost']['type'] in backend_device_types) and
|
85 | 85 | ('resource_type' in DEVICE_METADATA['localhost'] and
|
86 |
| - DEVICE_METADATA['localhost']['resource_type'] == 'Compute-AI') %} |
| 86 | + DEVICE_METADATA['localhost']['resource_type'] == 'ComputeAI') %} |
87 | 87 | {{- generate_tc_to_pg_map() }}
|
88 | 88 | {% else %}
|
89 | 89 | "TC_TO_PRIORITY_GROUP_MAP": {
|
|
147 | 147 | ('type' in DEVICE_METADATA['localhost'] and
|
148 | 148 | DEVICE_METADATA['localhost']['type'] in backend_device_types) and
|
149 | 149 | ('resource_type' in DEVICE_METADATA['localhost'] and
|
150 |
| - DEVICE_METADATA['localhost']['resource_type'] == 'Compute-AI') %} |
| 150 | + DEVICE_METADATA['localhost']['resource_type'] == 'ComputeAI') %} |
151 | 151 | {{- generate_dscp_to_tc_map() }}
|
152 | 152 | {% else %}
|
153 | 153 | "DSCP_TO_TC_MAP": {
|
|
241 | 241 | ('type' in DEVICE_METADATA['localhost'] and
|
242 | 242 | DEVICE_METADATA['localhost']['type'] in backend_device_types) and
|
243 | 243 | ('resource_type' in DEVICE_METADATA['localhost'] and
|
244 |
| - DEVICE_METADATA['localhost']['resource_type'] == 'Compute-AI') %} |
| 244 | + DEVICE_METADATA['localhost']['resource_type'] == 'ComputeAI') %} |
245 | 245 | "SCHEDULER": {
|
246 | 246 | "scheduler.0": {
|
247 | 247 | "type" : "DWRR",
|
|
406 | 406 | {% if 'type' in DEVICE_METADATA['localhost'] and
|
407 | 407 | DEVICE_METADATA['localhost']['type'] in backend_device_types and
|
408 | 408 | 'resource_type' in DEVICE_METADATA['localhost'] and
|
409 |
| - DEVICE_METADATA['localhost']['resource_type'] == 'Compute-AI' %} |
| 409 | + DEVICE_METADATA['localhost']['resource_type'] == 'ComputeAI' %} |
410 | 410 | {% for port in PORT_ACTIVE %}
|
411 | 411 | "{{ port }}|0": {
|
412 | 412 | "scheduler": "scheduler.0"
|
|
0 commit comments