libyang: upgrade to v3 step 5 -- sonic-mgmt-common #21789
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Why I did it
libyang3 porting.
Make sonic-mgmt-common build against libyang3 instead of libyang1.
NOTE: this PR actually includes (as a squashed commits) PR #21679, #21719, #21716, #21718, #21752). Please review the individual commits (skipping the squashed commit) otherwise this may seem too large/confusing.
Main Tracking PR #21679
Work item tracking
How I did it
How to verify it
All PRs listed on #21679 must be merged into a local build tree in order to test due to cross-repository dependencies.
It is expected the CI/CD system to FAIL with this PR due to cross dependencies, so do not treat such failures as a reason to not review these changes.
Which release branch to backport (provide reason below if selected)
None
Tested branch (Please provide the tested image version)
master as of 20250212
Description for the changelog
libyang: upgrade to v3 step 5 -- sonic-mgmt-common
Link to config_db schema for YANG module changes
N/A
A picture of a cute animal (not mandatory but encouraged)
Signed-off-by: Brad House (@bradh352)