Sunday, April 12, 2020

Find who to blame for a configuration on Cisco Nexus! | Netmiko & GUI Automation

NXOS Blame | Netmiko & GUI Automation

NXOS Blame enables you to determine who made what change on a cisco nexus switch in a cute and tidy GUI. This was inspired by the blame feature on Github.

 

The way this works is heavily reliant on the "show accounting log" command available on Cisco Nexus devices. The output from that command is then compared with the running configuration.

 

Keep in mind that this project is proof of concept. In a real production environment, it's probably better to collect "show accounting log" daily and accumulate the dataset so that older accounting data is not lost. :)

 

Source Code

https://github.com/syedur-rahman/networkcoder/tree/master/projects/nxos_blame

 

Demonstration

GUI

https://i.imgur.com/36aNEym.png

 

Netmiko Progress

https://i.imgur.com/WWwRl2y.gif

 

Blame!

https://i.imgur.com/EcA8Niq.gif

 

Hope you are all cozy during the quarantine. Feel free to ask any questions should you have any!



No comments:

Post a Comment