Closed davidmat50 closed 1 year ago
note: i removed this function in last commit because i added FindIdentity because I thought it would be more useful and efficient. I will add it back and fix this issue at the same time.
leaf-list
sd-wifi-imp-imp
references identity
imp_imp:sd-wifi-imp-imp
which does not have any other identities that have that identity as their base. That is to say nothing derives from that identity so it make sense the derive list is empty.
I do see an issue where if there were 3 modules: a, b and c and I have
a imports b and c b import c
Then the identities in "c" as seen by "a" are different then the identities of "c" been by "b" which throws off the count among other things.
i think i fixed this.
For the below files, the method Derived() for idetifyref type of 'sd-product-capability-imp-imp' was expected to give the the derived values from the the imported module, BUt it was not giving all the derived values from module_for_import.yang file
files used are sde2e-customer-cfs-cut.yang:
module_for_import.yang
module_for_import_import.yang