summaryrefslogtreecommitdiff
path: root/python/vyos/configsession.py
AgeCommit message (Collapse)Author
2020-01-24Python: T1986: close subprocess channelChristian 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 permissionsJohn 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 traceJohn Estabrook
2019-08-05T1431: 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-16T1432: 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-16T1432: add a finalizer to vyos.configsession to avoid leaking sessions.Daniil Baturin
2019-06-16T1432: add a discard function to vyos.configsessionDaniil Baturin
2019-06-13T1431: 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-12T1432: correct the ConfigSessionError exception name.Daniil Baturin
2019-06-12T1432: initial implementation of the config write API.Daniil Baturin