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

YANG deviations not being maintained to DB #42

Open
remingtonc opened this issue Mar 5, 2019 · 3 comments
Open

YANG deviations not being maintained to DB #42

remingtonc opened this issue Mar 5, 2019 · 3 comments
Assignees
Labels
bug Something isn't working etl Related to ETL process
Milestone

Comments

@remingtonc
Copy link
Contributor

This is problematic. e.g. https://github.com/YangModels/yang/blob/master/vendor/cisco/xr/651/cisco-xr-openconfig-network-instance-deviations.yang#L372
XPath still linked to IOS XR - 6.5.1 in TDM.

@remingtonc remingtonc added bug Something isn't working etl Related to ETL process labels Mar 5, 2019
@remingtonc remingtonc self-assigned this Mar 5, 2019
@remingtonc
Copy link
Contributor Author

remingtonc commented Mar 5, 2019

The YANG module parsing itself is working. The issue is in the caching in ETL.

@remingtonc remingtonc changed the title YANG deviations not being applied YANG deviations not being maintained to DB Mar 5, 2019
@remingtonc
Copy link
Contributor Author

remingtonc commented Mar 5, 2019

This is actually super weird because deviations will vary A LOT. We might need to start directly tracking XPaths per release as well? Or add an attribute to the edge indicating deviated for a list of releases?

@remingtonc
Copy link
Contributor Author

I think we need to add the notion of the "base module" versus the "compiled module" which is the actual representation qualified by a release&[device] and the "base module". Both modules are linked to DataPaths but the compiled module is what should be traversed for determining release/device support.

@remingtonc remingtonc added this to the v2 milestone Mar 8, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working etl Related to ETL process
Projects
None yet
Development

No branches or pull requests

1 participant