-
Notifications
You must be signed in to change notification settings - Fork 48
Create napalm-netmiko middlelayer (discussion) #225
Comments
@dbarrosop @mirceaulinic The main value I see it that would allow us to share common code between drivers that use Netmiko. When you say make configuration changes here--I assume you are referring to making configuration changes using the NAPALM config change API?
I think we could share code, but implementing the NAPALM Config API would probably have to be in the device specific driver (or worded another way, I think it is going to be really hard to achieve much of the NAPALM Config API in a generic Netmiko driver). I would also wonder if we should make Paramiko/Netmiko a dependency and push shared code up into NAPALM-base (i.e. I get a bit worried about adding complexity that a third middle-layer would add). But I think you envision more than just sharing common code. I do think (at a minimum) we should try to come up with a way to share common Netmiko code inside of NAPALM (whether in a middle-layer or in NAPALM-base). |
@ktbyers I think it should support for any device:
For certain profiles we could maybe implement other methods. The idea is that this should provide the minimum necessary for |
Mapping these to Netmiko
Netmiko has no concept of candidate config (in general). It has two config methods
|
Worst case |
Thread from @dbarrosop
if you have the time I'd like to discuss the idea of having a generic
napalm-netmiko
driver, something to allow instant support to devices that are supported by netmikothe idea would be to have the minimum required to detect the type of device and run commands and make configuration changes, nothing else
the rest of the functionality should come from napalm-yang and profiles
potentially IOS could go in there as well I guess but only the bits that involve making config changes
the replace operation wouldn't work there (unless IOS)
thoughts?
The text was updated successfully, but these errors were encountered: