miaow2 / netbox-config-diff

Find diff and push rendered device configurations from NetBox to devices and apply them.
https://miaow2.github.io/netbox-config-diff/
Apache License 2.0
74 stars 4 forks source link

Create some statistics about the diff. #76

Open chris240189 opened 1 month ago

chris240189 commented 1 month ago

I am working towards getting a couple of switches fully automated and to get a feel of how "big" a diff is, it would be useful to not only having a status attribute, but also something like "102 insertions(+), 22 deletions(-)" exposed to be used as sortable columns in the config compliance overview or just the lines of code of the "patch" output.

miaow2 commented 1 month ago

Hi @chris240189 thanks for your suggestion, I should think about how to implement this, but I'm unlikely to be able to do any sorting because my knowledge of JavaScript is very small