sonic-net / sonic-swss

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

[202305] Parse subport value added to config_db (#3161) #3200

Open smagarwal-arista opened 2 months ago

smagarwal-arista commented 2 months ago

Description of PR

Cherry-pick https://github.com/sonic-net/sonic-swss/pull/3161 to 202305

PRs #18499 / #19314 Added support for subport values to be automatically calculated and inserted on creation of config_db.json. This change succeeds in adding the subport value into config_db.json - but it results in a log

WARNING #orchagent: message repeated 18564 times: [ :- parsePortConfig: Unknown field(subport): skipping ...]

being printed. This prevents the log being printed by handling the subport value.

Why I did it To prevent the orchagent log

How I verified it I manually tested on an Arista device that the log no longer appears

smagarwal-arista commented 2 months ago

/azpw run Azure.sonic-swss

mssonicbld commented 2 months ago

/AzurePipelines run Azure.sonic-swss

azure-pipelines[bot] commented 2 months ago
Azure Pipelines successfully started running 1 pipeline(s).
smagarwal-arista commented 2 months ago

/azpw run Azure.sonic-swss

mssonicbld commented 2 months ago

/AzurePipelines run Azure.sonic-swss

azure-pipelines[bot] commented 2 months ago
Azure Pipelines successfully started running 1 pipeline(s).
prsunny commented 1 month ago

buildimage PR is not merged and approved for backport to 20235. Until that is done, this PR cannot be cherry-picked.