Closed wen587 closed 2 months ago
The pre-commit check detected issues in the files touched by this pull request. The pre-commit check is a mandatory check, please fix detected issues.
Detailed pre-commit check results:
trim trailing whitespace.................................................FailedTo run the pre-commit checks locally, you can follow below steps:
pre-commit
package is installed:
sudo pip install pre-commit
pre-commit install
pre-commit
pre-commit run --from-ref <commit_id> --to-ref <commit_id>
LGTM with suggestion to replace NDM mention in description to general "golden config override" description, as in code changes
@wen587 @qiluo-msft Do we need this PR for release branches?
Hi @bingwang-ms , it should be include in 202405.
@wen587 PR conflicts with 202405 branch
Hi @bingwang-ms , please check conflict resolve PR: https://github.com/sonic-net/sonic-mgmt/pull/13997
Only diff is .azure-pipelines/pr_test_scripts.yaml
Description of PR
Summary: This PR is to build a test insfrasture to simulate the process of Golden Config override with new table or exisitint tables. Fixes # (issue)
Type of change
Back port request
Approach
What is the motivation for this PR?
There is a need to validate new feature or new tables without change in minigraph parser. Here we setup a test infrastructure to mimic the behavior of Golden Config override process and override ConfigDB with the desired template.
How did you do it?
Define a new way of config reload with override. Add a common template to generate common feature and add a test case to generate specific table to test.
How did you verify/test it?
E2E test
Any platform specific information?
Supported testbed topology if it's a new test case?
Documentation