-
Notifications
You must be signed in to change notification settings - Fork 15
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
Gaps in Yang tree #70
Comments
@kot-begemot-uk Hi Anton, I understand your concern. |
cps_get_oid.py if/interfaces should produce result. Specifically, it should return the enveloping container and the full list should be presently obtainable under cps_get_oid.py if/interfaces/interface Due to CPS yang-data data bug #71 that is presently erroneously returned at cps_get_oid.py dell-base-if-cmn/if/interfaces That does not, however change the overall issue - it should be possible to request the tree at any level and the implementation should recurse down to grab all underlying elements same way all other yang implementations do. |
What is the problem you are reporting - Fundamental design fault |
It is a standard expectation for a yang tree that a read at any level will yield the branches under that level.
For example:
if we have a tree of {"if":{"interfaces":[...]}} a read at if will produce the contents of the "if" container and all of its included lists.
In cps it does not - there are several places in the model where the top level container containing interesting lists cannot be read. Specifically - the above example (it is parented in the incorrect location - dell-base-cmn which is in a separate issue).
The text was updated successfully, but these errors were encountered: