Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix with defaults - report-all failing some netconf tests #83

Merged
merged 1 commit into from
Oct 25, 2023

Conversation

psiyengar
Copy link
Contributor

The with default handling for netconf was mostly copied from the equivalent apteryx-rest rest.c code. There are differences however between the way restconf and netconf return data. Restconf only returns information from the query end, but netconf returns a complete tree from the top of the model. This means the way the with-defaults is handled needs to change.

The patch has been adapted based on the original commit authored by gcampbell512.

The with default handling for netconf was mostly copied from the
equivalent apteryx-rest rest.c code. There are differences however
between the way restconf and netconf return data. Restconf only returns
information from the query end, but netconf returns a complete tree
from the top of the model. This means the way the with-defaults
is handled needs to change.

The patch has been adapted based on the original commit
authored by gcampbell512.
@carlgsmith carlgsmith merged commit 8b268f6 into alliedtelesis:master Oct 25, 2023
1 check passed
@psiyengar psiyengar deleted the devel branch October 25, 2023 22:02
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