-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
File Uploading #2
Comments
Any help is welcome. |
I think the SCP transfer mechanism and associated methods like MD5, space verification should probably be pushed into Netmiko. I restructured Netmiko 1.5.0 (Netmiko develop branch) to better accomplish this and did a very brief test on Juniper (at least for a put file). I say this because this is inherently bound to SSH. Also the use of SCP extends beyond the NAPALM drivers. So that is where I am probably going to work on this issue at. I would probably then propose we make wrapper methods whereby NAPALM calls the underlying Netmiko methods for file transfer operations ...of course, people can do what they want, what they are interested in, but that is the direction I recently re-started working in. |
@ktbyers I don't want to give you extra work, but also don't want to take credit for your work :) Is this something that can be PR'd agains the re-unified branch? same on the IOS side. |
@itdependsnetworks This is all essentially in Netmiko. Netmiko has ios, asa, nxos support. I have some amount of support for Juniper and Arista (but need to do more for both of these). So I think we should layer any NAPALM file transfer mechanisms on top of that driver. Here are the methods in the Netmiko FileTransfer class:
It has a |
File Uploading
I worked on this last hackathon, but there was not a consensus on the methods. Since then @ktbyers has a demo here: https://github.com/ktbyers/napalm-ios/tree/file_copy
My plan for the hackathon is to finally work on this.
The text was updated successfully, but these errors were encountered: