summaryrefslogtreecommitdiff
path: root/python/vyos/remote.py
AgeCommit message (Collapse)Author
2024-03-06remote: T6104: fix logic of failure case in MissingHostKeyPolicyJohn Estabrook
2024-02-08Merge pull request #2507 from erkin/image-toolsDaniil Baturin
op-mode: T4038: Python rewrite of image tools
2024-01-27remote: T5994: fix typo in check_storage for Ftp classJohn Estabrook
2024-01-25op-mode: T4038: Python rewrite of image toolserkin
2023-12-13T5774: fix regressions in remote.upload and use in config_mgmtJohn Estabrook
2023-11-27image-tools: T5751: restore arg raise_error for non-interactive useJohn Estabrook
2023-11-25remote: T5773: Fix for broken config uploaderkin
2023-11-18T2405: add Git support to commit-archiveYun Zheng Hu
T2405: add Git support to commit-archive
2023-11-14remote: T5726: Disable the progressbar if the shell is noninteractive or the ↵erkin
terminal is missing capabilities
2023-10-12remote: T5650: Resize-aware progressbar implementationerkin
2023-07-25remote: T4412: Improved error handling for uploads/downloadszsdc
- added ability to set a timeout, with default value 10s - added exceptions handling to show nicer messages for users - denied to use untrusted SSH hosts in non-interactive mode
2023-07-15T5195: add/fix missing importsJohn Estabrook
2023-07-15T5195: vyos.util -> vyos.utils package refactoring part #2Christian Breunig
2023-07-14T5195: vyos.util -> vyos.utils package refactoring (#2093)Christian Breunig
* T5195: move run, cmd, call, rc_cmd helper to vyos.utils.process * T5195: use read_file and write_file implementation from vyos.utils.file Changed code automatically using: find . -type f -not -path '*/\.*' -exec sed -i 's/^from vyos.util import read_file$/from vyos.utils.file import read_file/g' {} + find . -type f -not -path '*/\.*' -exec sed -i 's/^from vyos.util import write_file$/from vyos.utils.file import write_file/g' {} + * T5195: move chmod* helpers to vyos.utils.permission * T5195: use colon_separated_to_dict from vyos.utils.dict * T5195: move is_systemd_service_* to vyos.utils.process * T5195: fix boot issues with missing imports * T5195: move dict_search_* helpers to vyos.utils.dict * T5195: move network helpers to vyos.utils.network * T5195: move commit_* helpers to vyos.utils.commit * T5195: move user I/O helpers to vyos.utils.io
2022-01-11remote: T3950: Gracefully handle chained exceptionserkin
2021-12-16remote: T3356: Remove incomplete HTTP upload progressbar supporterkin
2021-12-16remote: T4037: Report the final URL when following redirectserkin
2021-12-02remote: T4037: Follow HTTP redirectserkin
2021-11-24T3356: Rewrite remote.pyerkin
2021-06-20T3268: remote: Determine source address from given network interfaceerkin
2021-06-20T3563: remote: Allow `paramiko.transport.Transport().close()` to ↵erkin
automatically close the socket
2021-06-17T3356: remote: Use the local filename if the destination is a directory in ↵erkin
SFTP transfers.
2021-06-13T3563: Call `socket.shutdown()` with appropriate argumenterkin
2021-06-09remote, util: Move general helper routines from `remote.py` to `util.py`erkin
2021-06-08remote: import is_ipv6 from vyos.templateChristian Poessinger
2021-06-08remote: Use `is_ipv6()` instead of ad hoc IPv6 checkerkin
2021-06-06T3563: Add support for IPv6 source addresses in SSH connectionserkin
2021-05-30T3356: Add progressbars to SFTP and HTTP transferserkin
2021-05-29T3356: Add progressbars to FTP transferserkin
Allow ports to be specified in URL strings
2021-05-18T3356: remote: Read username and password from environment variableserkin
2021-05-18T3356: remote: Add friendly download procedure for user-facing scriptserkin
2021-05-11T3356: remote: Add authentication supporterkin
Add docstrings
2021-05-07remote: T3356: use custom MissingHostKeyPolicyLulu Cathrinus Grimalkin
2021-05-06T3356: remote: Add support for obtaining the size of a remote fileerkin
2021-04-23T3356: Add support for custom source address for connectionserkin
2021-04-16util: T3356: Fix password variableserkin
2021-03-30Remove SFTP empty password checkerkin
2021-03-30T3356: Encode strings given to/returned from curl in TFTP transferserkin
2021-03-15Properly raise an error instead of exitingerkin
2021-03-15T3356: Generic download() and upload() for dynamically dispatching ↵erkin
appropriate transfer procedure
2021-03-11config: T3356: Replace curl wrapper with (mostly) native remote file ↵erkin
transfer functions
2020-04-21remote: T2270: correct use of username:passwordJohn Estabrook
2020-04-11util: T2205: convert remote to use cmdThomas Mangin
2020-04-10util: T2253: fix translation of subprocess.check_output to cmdJohn Estabrook
2020-04-10Revert "Revert "util: T2226: rewrite remote function helpers to use cmd""John Estabrook
This reverts commit 10717c6a3cdf7da7025b03c1abdbd813b4970b19.
2020-04-08Revert "util: T2226: rewrite remote function helpers to use cmd"John Estabrook
This reverts commit 7219d4013814a55c4eeaf36b7a36d5e8076d09f0.
2020-04-06util: T2226: rewrite remote function helpers to use cmdThomas Mangin
2019-10-01T1424: Check for http error or redirect, when loading remote files.John Estabrook
(ported from vyatta-cfg f051e369)
2019-06-03T1423: Create known_hosts file if not presentJohn Estabrook
In the recent rewrite of the config merge script, support for merging remote config files checks and adds the host key in known_hosts; however, this function fails if known_hosts is not present. Fix.
2019-05-28T1397: Rewrite the config merge scriptJohn Estabrook
Add vyos.config.show_config to show working configuration. Add vyos.remote.get_config_remote() for obtaining remote config files.