cisco-ie / tdm

Telemetry Data Mapper to ease data discovery, correlation, and usage with YANG, MIBs, etc.
Apache License 2.0
37 stars 5 forks source link

YANG XPath Fixes (v2 for significant change) #55

Closed remingtonc closed 5 years ago

remingtonc commented 5 years ago

Fixes ETL derivation of XPaths to properly prefix. Augmented XPaths were not properly prefixed at their augment points in the XPath. Makes machine_id prefix with both prefix and module at the same time, this makes machine_id relatively useless for regular YANG usage. UI now includes logic to show correct XPath for different situations. human_id is now based on RFC 8040 representation of XPath and is most correct in display. Includes migration script to upgrade old mappings machine_id to new machine_id.

Resolves #16 #54

16 is fixed by accepting that we are completely botching the machine_id aspect of things.