Open remingtonc opened 5 years ago
The YANG module parsing itself is working. The issue is in the caching in ETL.
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?
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.
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.