pytest-dev / pytest-testinfra

Testinfra test your infrastructures
https://testinfra.readthedocs.io
Apache License 2.0
2.38k stars 355 forks source link

Bridge between testinfra and netmiko #245

Open cleonte opened 7 years ago

cleonte commented 7 years ago

Thinking out loud here...

what do you think about a link between testinfra and netmiko

https://github.com/ktbyers/netmiko

at this point mostly for checking lets say if an interface is up or in the right vlan,

what do you think?

Cheers

philpep commented 7 years ago

Hello,

I think it could be a good idea. Implementation could be done by adding a 'netmiko' backend and provide (or adapt) modules to interact with host handled through the netmiko backend.

I'm not an user of netmiko, it seems the most useful command is send_command(). Could you provide an example of tests you would write ? Thanks !