You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Add file_pull option to Cisco IOS devices
* Add docs, ruff and change fragment.
* Pylint fixes
Ignore the import position as Ruff is handling that.
* Address feedback
* Fix pylint commands
The find command was too greedy and capturing files ignore by the pylint config in pyproject.toml. This allows pylint to use the pyproject.tom.
* Rewrite to make the logic for checking files part of the Device.
Not all Devices use netmiko, these changes allow other devices to also implement fix exist validation.
* Update ios_device.py
* Ruff
* Apply suggestions from code review
Co-authored-by: Gary Snider <75227981+gsnider2195@users.noreply.github.com>
* Apply suggestions from code review.
---------
Co-authored-by: Gary Snider <75227981+gsnider2195@users.noreply.github.com>
Copy file name to clipboardExpand all lines: docs/user/lib_getting_started.md
+29Lines changed: 29 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -250,6 +250,35 @@ interface GigabitEthernet1
250
250
>>>
251
251
```
252
252
253
+
#### Remote File Copy (Download to Device)
254
+
255
+
Some devices support copying files directly from a URL to the device. This is useful for larger files like OS images. To do this, you need to use the `FileCopyModel` data model to specify the source file information and then pass that to the `remote_file_copy` method. Currently only supported on Cisco IOS devices. Tested with ftp, http, https, sftp, and tftp urls.
Before using this feature you may need to configure a client on the device. For instance, on a Cisco IOS device you would need to set the source interface for the ip http client when using http or https urls. You can do this with the `config` method:
0 commit comments