Skip to content

Conversation

@bradh352
Copy link
Contributor

@bradh352 bradh352 commented Feb 28, 2025

In libyang v1, there was an LYD_OPT_NOEXTDEPS flag. This was removed, and this patch re-adds a flag with similar functionality.

The gNMI/RESTCONF portion of the SONiC port is currently relying on this patch:
sonic-net/sonic-mgmt-common#157

If this isn't accepted upstream, we'll need to maintain this patch separately.

Fixes #2355

In libyang v1, there was an LYD_OPT_NOEXTDEPS flag.  This was
removed, and this patch re-adds a flag with similar functionality.
@michalvasko
Copy link
Member

We have discussed this flag and as I have said before, we removed it intentionally and we do not want to support it because it is not reliable and, what is worse, leads to bad design of applications.

@michalvasko michalvasko closed this Mar 3, 2025
@bradh352
Copy link
Contributor Author

bradh352 commented Mar 3, 2025

understood, just one of those policies to always submit upstream :) We'll maintain this patch separately in SONiC until the code that relies on this can be rearchitected.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants