Skip to content

Minor modifications to ietf-system-capabilities state RFC 9196#1790

Merged
michalvasko merged 2 commits intoCESNET:develfrom
jeremie6wind:devel
Mar 11, 2026
Merged

Minor modifications to ietf-system-capabilities state RFC 9196#1790
michalvasko merged 2 commits intoCESNET:develfrom
jeremie6wind:devel

Conversation

@jeremie6wind
Copy link
Contributor

Hi,

I propose those two patches to modify the content of the ietf-system-capabilities state.

For the first patch:
"/" xpath is missing from the state.
As per-node-capabilities is a keyless list. Create the node-selector with lyd_new_term.
For the 2nd patch:
I removed the config-changes and state-changes, so another application can merge
custom xpaths with custom support for on-change and periodic notifications.

Thank you.
Best regards,
Jeremie

As per-node-capabilities is a keyless list. Create the node-selector
with lyd_new_term.

Fixes: 473e0ff ("main UPDATE implement capabilities modules (CESNET#1715)")
Link: https://datatracker.ietf.org/doc/html/rfc9196#section-4.2
Signed-off-by: Jeremie Leska <jeremie.leska@6wind.com>
@michalvasko
Copy link
Member

I do not generally have a problem with the changes but since the subscriptions are handled by sysrepo, periodic subscriptions will always be supported for all the data. As for on-change, those may not be supported for some operational data but I am not sure it is really worth it to make it as complex as you suggest.

Regarding the failing tests, I was just about to fix it but okay, since you did.

@jeremie6wind
Copy link
Contributor Author

Ok so I will remove the patch in the middle.
Thank you

Signed-off-by: Jeremie Leska <jeremie.leska@6wind.com>
@michalvasko michalvasko merged commit ba9f998 into CESNET:devel Mar 11, 2026
7 checks 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