Age | Commit message (Collapse) | Author | |
---|---|---|---|
2023-06-10 | configsession: T5248: add functions set/load_section | John Estabrook | |
2023-01-11 | container: T4880: fix name collision | John Estabrook | |
2023-01-09 | container: T4880: add REST API endpoint for add/delelete/show images | John Estabrook | |
2022-05-26 | http-api: T4442: Add action reset | Viacheslav Hletenko | |
Add action 'reset' (op-mode) for HTTP-API http://localhost/reset curl --unix-socket /run/api.sock -X POST -Fkey=mykey \ -Fdata='{"op": "reset", "path": ["ip", "bgp", "192.0.2.14"]}' \ http://localhost/reset | |||
2022-03-10 | Revert "save-config: T4292: rewrite vyatta-save-config.pl to Python" | John Estabrook | |
This reverts commit c4d389488970c8510200cac96a67182e9333b891. Revert while investigating failure in vyos-configtest. | |||
2022-03-08 | save-config: T4292: rewrite vyatta-save-config.pl to Python | John Estabrook | |
2021-07-30 | vyos.util: drop custom implementations in favor of is_systemd_service_running() | Christian Poessinger | |
Commit f520182b ("vyos.util: add is_systemd_service_running() helper function") added a new helper function that can be used to check if a systemd service is running. Drop all custom implementations in favor of this library call. | |||
2021-02-17 | configsession: T3259: avoid deadlock when data fills stdout pipe | John Estabrook | |
If the subprocess is producing enough data (in this case showConfig on a large config file), then the construction: p = subprocess.Popen(.., stdout=subprocess.PIPE, ..) p.wait() will deadlock with the subprocess waiting for data to be consumed, while the Python process waits for its termination. So consume data, then wait for termination. | |||
2020-10-21 | configsession: T3004: add call to config load script | John Estabrook | |
2020-08-31 | configd: T2582: inject shim env variable into configsession | John Estabrook | |
ConfigSession needs to have required env vars manully injected; add the shim definition env var to the list, if config daemon is active. | |||
2020-08-08 | http api: T1431: update args of call to install-image | John Estabrook | |
commit 3f8884587 added an endpoint for image management; T2753 updated the command line options. Make script call consistent. | |||
2020-04-22 | http api: T2096: form of show/generate should be consistent with other cmds | John Estabrook | |
2020-03-11 | http api: T2096: Added show and generate | Matthias Fetzer | |
2020-02-05 | smoke-test: adding generate cmd to configsession | hagbard | |
- in preparation for a wireguard cli test case, generate is used to create the keys later used in the config | |||
2020-01-24 | Python: T1986: close subprocess channel | Christian Poessinger | |
Without closing the communication channel to the subprocess, Python will complain e.g. when executing vyos-smoketest binary. /usr/lib/python3/dist-packages/vyos/configsession.py:110: ResourceWarning: unclosed file <_io.BufferedReader name=3> self.__run_command([CLI_SHELL_API, 'setupSession']) ResourceWarning: Enable tracemalloc to get the object allocation traceback | |||
2019-10-23 | [HTTP API] Add endpoints for config file and image management. | Daniil Baturin | |
2019-09-19 | [boot-config-loader] T1622: (bugfix) set gid and write permissions | John Estabrook | |
Set gid and permissions so that vyatta-cfg group has access to the active config; fix typo in arg len check; reorganize; add log output. | |||
2019-08-31 | [boot-config-loader] T1622: Add failsafe and back trace | John Estabrook | |
2019-08-05 | T1431: add showConfig operation to the HTTP API. | Daniil Baturin | |
2019-08-05 | [vyos.configsession] Return the output of the external process from ↵ | Daniil Baturin | |
__run_command. | |||
2019-06-16 | T1432: inject VyOS-specific environment variables into the session environment. | Daniil Baturin | |
They are widely referenced by command templates, but a process started as a service doesn't automatically get them. | |||
2019-06-16 | T1432: add a finalizer to vyos.configsession to avoid leaking sessions. | Daniil Baturin | |
2019-06-16 | T1432: add a discard function to vyos.configsession | Daniil Baturin | |
2019-06-13 | T1431: make it possible to obtain session environment and run vyos.config ↵ | Daniil Baturin | |
functions under it. This is required for programs running outside a CLI session, like the future API daemon. | |||
2019-06-12 | T1432: correct the ConfigSessionError exception name. | Daniil Baturin | |
2019-06-12 | T1432: initial implementation of the config write API. | Daniil Baturin | |