napalm-automation / napalm-base

Apache License 2.0
32 stars 48 forks source link

Discussion: Save commands sent #298

Closed itdependsnetworks closed 7 years ago

itdependsnetworks commented 7 years ago

I think there should be a standard method for calling commands, e.g. napalm_get_command. Any driver should call that method when initiating a command on a device. This would set up the next step were you would be able to define a path to save the commands.

I think @dbarrosop had an even more abstract idea, so that it could further help with mock_drivers, but I am sure my explanation would butcher his initial intentions.

itdependsnetworks commented 7 years ago

Just went to PR's and saw @dbarrosop already adding :)