This repository has been archived on 2025-03-20. You can view files and clone it, but cannot push or open issues or pull requests.
sonic-buildimage/files
Alpesh Patel 4ee9565064 qos template change for backend compute-ai deployment (#16150)
#### Why I did it

To enable qos config for a certain backend deployment mode, for resource-type "Compute-AI".
This deployment has the following requirement:

- Config below enabled if DEVICE_TYPE as one of backend_device_types
- Config below enabled if ResourceType is 'Compute-AI'
- 2 lossless TCs' (2, 3)
- 2 lossy TCs' (0,1)
- DSCP to TC map uses 4 DSCP code points and maps to the TCs' as follows:
   "DSCP_TO_TC_MAP": {
        "AZURE": {
             "48" : "0",
            "46" : "1",
            "3"  : "3",
            "4"  : "4"
        }
    }

- WRED profile has green {min/max/mark%} as {2M/10M/5%}

This required template change <as in the PR> in addition to the vendor qos.json.j2 file (not included here).

### How I did it

#### How to verify it
- with the above change and the vendor config change, generated the qos.json file and verified that the objective stated in "Why I did it" was met

- verified no error

### Description for the changelog
Update qos_config.j2 for Comptue-AI deployment on one of backend device type roles
2023-09-21 18:34:15 +08:00
..
Aboot [platform]: Disable interrupt for intel i2c-i801 driver (#16309) (#16457) 2023-09-06 09:49:58 -07:00
apt [Build] Support j2 template for debian sources (#12557) (#13185) 2022-12-30 09:47:33 +08:00
build/versions [ci/build]: Upgrade SONiC package versions (#16316) 2023-09-05 21:54:50 -07:00
build_scripts During build time mask only those feature/services that are disabled excplicitly (#13283) (#13296) 2023-01-09 10:28:03 -08:00
build_templates qos template change for backend compute-ai deployment (#16150) 2023-09-21 18:34:15 +08:00
dhcp Assign the higher metric value for Ipv6 default route learnt via RA message (#16367) (#16440) 2023-09-05 21:52:38 -07:00
docker [dockerd] Force usage of cgo DNS resolver (#13649) 2023-02-22 04:33:44 +08:00
image_config Fix issue: systemctl daemon-reload would sporadically cause udev handler fail (#15253) (#15959) 2023-08-22 09:54:56 -07:00
initramfs-tools [202205] Implement zram compression for docker in RAM (#15137) 2023-06-02 08:36:18 -07:00
scripts [swss] Chassis db clean up optimization and bug fixes (#16454) (#16541) 2023-09-14 14:07:15 -07:00
sshd Remove SSH host keys after installing the custom version of sshd (#10633) 2022-04-25 10:38:52 -07:00