summaryrefslogtreecommitdiff
path: root/data/vyconf.proto
AgeCommit message (Collapse)Author
2026-03-04T8313: adjust copy/rename messagesJohn Estabrook
The original messages were added before edit-level was properly implemented as a field of the session record.
2025-12-17T8061: add get_completion_env requestJohn Estabrook
Return help strings and values in the form used by bash completion.
2025-12-17T8061: add get_path_type requestJohn Estabrook
Get the potential node type of a path, preliminary to any validation of values.
2025-12-17T8061: add reference_path_exists requestJohn Estabrook
Check whether a given config path has a form compatible with the reference tree, irrespective of validity of values.
2025-12-02T8032: add protobuf messaage for config_unsaved requestJohn Estabrook
2025-11-20T8009: add messages for edit_level requestsJohn Estabrook
2025-10-22T7910: add request show_sessions to list all session recordsJohn Estabrook
2025-09-15T7737: add requests to provide auxiliary set/delete operations on configJohn Estabrook
Occasionally, it is useful to update the config tree _during a commit_ with non-actionable data (meaning data not required for the actions of currently invoked config_mode scripts): the classic example is that of removing the entries of plaintext passwords and adding the encrypted entry. Add the relevent requests and session record field.
2025-09-10T7737: add user and sudo_user fields to session for use in commitJohn Estabrook
Add optional protobuf fields to convey environment variables USER and SUDO_USER, as needed for some config_mode scripts. Add non-option fields to the session record type, defaulting to the empty string.
2025-09-10T7737: replace unuseful session_update_pid with session_existsJohn Estabrook
The request session_update_pid is not useful, possibly dangerous, in the current design. Remove and add a simple session_exists for use in client initialization.
2025-09-10T7737: normalize protobuf field name styleJohn Estabrook
Enforce consistent naming style according to https://protobuf.dev/programming-guides/style/
2025-07-06T7499: use direct request to vyconfd to avoid re-validating pathsJohn Estabrook
Merging before passing to the backend results in re-validation of existing paths in the proposed config; this is unavoidable with the legacy backend. For vyconf, send the merge proposal with the request, so validation is only required on new paths.
2025-07-06T7499: allow load from internal representation to avoid re-parsingJohn Estabrook
2025-05-12T7363: add get_config(s) request for Config instance initializationJohn Estabrook
Request cache of session running and proposed configs for loading on intialization of Config instance. As used elsewhere (for example vyos-commitd), this is a much faster method of exchanging information than render and re-parse.
2025-05-12T7363: add error indicating uncommited changesJohn Estabrook
2025-05-12T7363: add session search and update by pidJohn Estabrook
2025-05-12T7363: track process id in session dataJohn Estabrook
In practice, this may be passed in the request as the ppid, as needed for CLI applications to coordinate with the ambient config session. For other uses, the client pid will suffice.
2025-05-12T7363: normalize function naming for auto-generationJohn Estabrook
For auto-generation of Python classes, it is simpler to maintain syntactical consistency; as these operations will be wrapped in any client definitions, verbosity is forgivable.
2025-04-11T7321: add session_changed checkJohn Estabrook
2025-04-11T7321: add discard operationJohn Estabrook
2025-04-11T7321: add load config operation: load to proposed configJohn Estabrook
2025-04-11T7321: rename vyconf.proto message Status and enum to avoid collisionJohn Estabrook
The message and enum name Status conflicts with the use in vycall.proto; as the latter has consistency with other (non-conflicting) uses of the term, rename the former.
2025-04-04T7302: add dry_run field and update branchJohn Estabrook
2025-03-31T7272: add commit processing of commitd responseJohn Estabrook
2025-01-15T7046: add request reload_reftreeJohn Estabrook
2024-10-27T6718: fix teardown methodJohn Estabrook
An empty protobuf message does not correctly generate encode/decode functions. This appears to be fixed upstream, but for now, use workaround of adding a reasonable field.
2024-10-27T6718: add independent validate field and methodsJohn Estabrook
2018-02-11Add output format option (plain or JSON) to the config data reading and op ↵Daniil Baturin
mode functions. Re-generate the protobuf-derived modules. NB: Newer versions of ocaml-protoc moved types to a separate module, needs to be accounted for in other files.
2017-01-19Add basic session setup/teardown functionality to vyconfd.Daniil Baturin
2017-01-06Do not require path for set/delete, add an error for trying to set a path ↵Daniil Baturin
that already exists.
2017-01-06Make error and warning single string, add more specific error codes.Daniil Baturin
2017-01-06Split session setup and entering configuration mode in the protobuf schema.Daniil Baturin
2017-01-06Add confirm operation. Remove notifications field.Daniil Baturin
2017-01-06Extend the protobuf schema, update build scripts.Daniil Baturin
2017-01-06Add initial implementation of the protobuf schema.Daniil Baturin