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

Support a netconf query with a value/content, RFC-6241 section 6.2.6 #84

Merged
merged 1 commit into from
Nov 1, 2023

Conversation

gcampbell512
Copy link
Contributor

Create a query containing a value node. This change adds the value as a leaf node in the query tree and then adds a NULL data node to that value. This allows callers to create a suitable query to call apteryx_query_full.

carlgsmith
carlgsmith previously approved these changes Oct 30, 2023
@carlgsmith carlgsmith dismissed their stale review October 30, 2023 04:16

checking if there is a way to avoid adding null to indicate not null

This change modifies sch_xml_to_gnode/_sch_xml_to_gnode to create
query trees consistent with the requirements of a call to
apteryx_query_full. Leaf nodes are now terminated with a child node with
no data. Leaf nodes with values have a child node with the data set to
the query value.
@carlgsmith carlgsmith merged commit 12e3058 into alliedtelesis:master Nov 1, 2023
1 check passed
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