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

pyang doesn't implement sx:augment-structure (RFC 8791, ietf-yang-structure-ext) #851

Open
predi opened this issue Apr 3, 2023 · 0 comments

Comments

@predi
Copy link

predi commented Apr 3, 2023

pyang/plugins/structure.py only registers the extension keyword and its grammar but doesn't actually implement sx:structure augmentation.

There's a

## FIXME: validate augment-structure

comment in structure.py that should be resolved.

This could be implemented much easier if not done in form of a plugin. It is essentially a YANG "augment" statement that targets a specialized schema/data node. The majority of implementation could probably be shared with that for "augment", most notably statements.v_expand_2_augment(...) in expand_2 phase of validation.

Related to: #719 and #516

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

No branches or pull requests

1 participant