Need to be able to see full path on all outputs
paramountk opened this issue · comments
Hi,
I am comparing device configs that are in json format.
All is working as expected, but on the output, I would like to be able to see the full path.
An example - I am comparing a set of ISIS interfaces - using a section that takes me to the - configuration - protocols - isis.
One interface there has a different metric from base config.
This is then picked up by deep diff, but I am shown:
root['interface'][1]
The [1] does not help me - I need to identify this interface.
Any help would be appreciated on using this great tool.
Hi @paramountk
[1]
is part of your path. Maybe you should transform your input so instead of having a list in the interface
, you have a dictionary with string field names that make sense to you.