Skip to content

Release 2.3.0#369

Open
itdependsnetworks wants to merge 10 commits intomainfrom
release-2.3.0
Open

Release 2.3.0#369
itdependsnetworks wants to merge 10 commits intomainfrom
release-2.3.0

Conversation

@itdependsnetworks
Copy link
Copy Markdown
Contributor

No description provided.

gsnider2195 and others added 7 commits April 8, 2026 11:00
* Update EOS remote file copy commands
…TTPS) (#366)

* Added remote_file_copy support for ASADevice (FTP, TFTP, SCP, HTTP, HTTPS).


Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
* Updates to the EOS driver based on PR comments from #365

Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
* Add remote file copy for cisco nxos devices
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

seems odd its file 2.2 but talking about v2.3 release.

#### Remote File Copy (Download to Device)

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 and Juniper Junos devices. Tested with ftp, http, https, sftp, and tftp urls.
Some devices support copying files directly from a URL to the device. This is useful for large 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. The model is currently supported on Cisco IOS, Juniper Junos, and Arista EOS devices. It has been tested with ftp, http, https, sftp, and tftp urls.
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ssupport ASA and nxos now too right? should we change to currently supported on Cisco and not mention NOS


def _uptime_to_string(self, uptime):
days = uptime / (24 * 60 * 60)
days = uptime // (24 * 60 * 60)
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the double // expected?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

answer will go for the next few code examples as well.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

apparently it rounds the number

>>> days = 1231231 // (24 * 60 * 60)
>>> days
14
>>> days = 1231231 / (24 * 60 * 60)
>>> days
14.250358796296297

Copy link
Copy Markdown
Contributor

@jeffkala jeffkala left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

put a few things. Main one being release notes don't seem like they worked correctly its overwriting 2.2 vs creating new 2.3 file.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants