Skip to content
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

Allow copy to generic files (for backup) or to/from remote destination #231

Merged
merged 3 commits into from
Nov 28, 2023

Conversation

troglobit
Copy link
Contributor

Tested working:

  • copy running-config startup-config
  • copy running-config foo
    => /cfg/foo.cfg
  • copy factory-config running-config
  • copy foo startup-config
  • copy startup-config running-config
  • copy startup-config tftp://192.168.122.1/upload/
    => /tftproot/upload/startup-config.cfg
  • copy tftp://192.168.122.1/upload/startup-config.cfg foo
  • copy tftp://192.168.122.1/upload/startup-config.cfg startup-config

Fix #155

Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
Allow copy from/to with either datastore, file (in /cfg), or curl.

Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
src/klish-plugin-infix/xml/infix.xml Outdated Show resolved Hide resolved
Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
@troglobit troglobit merged commit 0ff5b94 into main Nov 28, 2023
0 of 2 checks passed
@troglobit troglobit deleted the cli-copy-v2 branch November 28, 2023 10:15
@troglobit troglobit added this to the Infix v23.11 milestone Dec 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

cli: allow copy startup-config my-backup-config
3 participants