sonic-net / sonic-swss

SONiC Switch State Service (SwSS)
https://azure.github.io/SONiC
Other
170 stars 510 forks source link

[action] [PR:3163] Do not apply QoS mapping item on the switch until the object is created (#3163) #3184

Closed mssonicbld closed 3 months ago

mssonicbld commented 3 months ago

What I did

Do not apply the global DSCP to TC map to the switch object until the mapping object has been created.

Why I did it

Fix issue: if orchagent handles tables in the following order, it will fail in step 1 and the configure will never applied.

PORT_QOS_MAP|global object and then DSCP_TO_TC object

mssonicbld commented 3 months ago

Original PR: https://github.com/sonic-net/sonic-swss/pull/3163