summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2021-12-09https: T4055: add vrf supportChristian Poessinger
(cherry picked from commit 955f260ce682d64d27b3b11e618b1ae0176e4b91)
2021-12-09Revert "vrrp: T4059: do "late" read of the CLI configuration as this fails ↵Christian Poessinger
in __init__" This reverts commit f168e409acb314d1c15a4343643be7c07ce79b44.
2021-12-09conntrack: T3535: add keepalived notifications for node transitionsChristian Poessinger
(cherry picked from commit d7f0cbdc102a1186cec80d0ebf29b8f4ef415435)
2021-12-09vyos.util: T4061: add function to check for completion of boot configJohn Estabrook
2021-12-08vrrp: T4059: do "late" read of the CLI configuration as this fails in __init__Christian Poessinger
... thus we simply read the configuration the first time it really becomes necessary and a message requireing the data needs it actually. (cherry picked from commit bcfe967f607a83192d75c01e7f414655891eec60)
2021-12-08mpls: T4024: use FRRConfig() class for config reloadingChristian Poessinger
2021-12-06sflow: T4046: Add source-address for sflowViacheslav
(cherry picked from commit bb77dd269bfb9522f5b56ac027598ac20e101f13)
2021-12-06validators: T4053: Fix exit code for scriptViacheslav
(cherry picked from commit 001cc6655f1864a46b573dae13c8f33bbf224239)
2021-12-06validators: T4052: Fix for warn message in the validator scriptViacheslav
Validator expects variable "script" for the Warning message But it gets undeclared "path" (cherry picked from commit b6fbe6d3a5e8de4f90aa9fba61ca7491f9959ed0)
2021-12-05vrrp: T4041: bugfix sync-group transition-scripts not executedChristian Poessinger
While mangling the config dict retrieved via get_config_dict() into a private representation of a configuration dictionary sync-groups were never accounted for. Instead everything always ended up in the regular vrrp transition-script section. The implementation has been changed to directly work on the content of get_config_dict() to stop any confusion and making redundant data copies obsolete. (cherry picked from commit 025f0609cea8591e93b8cb4a7d0256e43e23323b)
2021-12-04wwan: T3795: move implementation to VbashOpRun()Christian Poessinger
After commit ae16a51506c ("configquery: T3402: use vyatta-op-cmd-wrapper to provide environment") we can now call VyOS op-mode commands from arbitrary Python scripts. (cherry picked from commit 4683223c8ffcb10470f7a8a2eb48d57773ac73df)
2021-12-04op-mode: disk: T4045: bugfix "format disk <new> like <old>"Christian Poessinger
(cherry picked from commit 4207b4c264312fc496722874ec52e2db834dec37)
2021-12-04op-mode: disk: T4045: cleanup code to use python f'ormat stringsChristian Poessinger
(cherry picked from commit 467eb1f18ec971d6d3913d9ecc58b241db104f0d)
2021-12-03tftp: T4012: Add TFTP VRF supportDmitriyEshenko
2021-12-01graphql: T3993: define add/delete system image requestJohn Estabrook
(cherry picked from commit 358831c18fcf2937f4bf85a55fa0c8bdc802d817)
2021-12-01http-api: T3440: simplify vyos-http-api initializationJohn Estabrook
(cherry picked from commit f2bdd26c36e7074d093e001656bc649b7c7426d3)
2021-12-01graphql: T3993: update README.graphqlJohn Estabrook
(cherry picked from commit 9f6ca1e489c0498bfa90ca027d1d7419d4e422b8)
2021-11-30graphql: T3993: add config session show_configJohn Estabrook
Note that one can also use the mutation Show, with path ["configuration", "json", "pretty"]; that command will obscure passwords and keys, and we may want to disallow this version. (cherry picked from commit a05866e5301934f61a3c83550f91926e03bfc7b0)
2021-11-30graphql: T3993: add op-mode requestsJohn Estabrook
(cherry picked from commit 1f926e1b1fe7d82113be55916a55ca7e3cceac76)
2021-11-30op-mode: T3725: Show configuration in JSON formatViacheslav
(cherry picked from commit f36ac55e5355b170b181eef999be616700edffc1)
2021-11-28op-mode: lldp: T3999: bugfix KeyError: 'capability'Christian Poessinger
(cherry picked from commit b675c8b6187c4b77759e3f96c9c92dd382dabeae)
2021-11-27Merge pull request #1085 from andriiandrieiev/equuleusChristian Poessinger
filesystem: T3946: root partition auto resize as a service
2021-11-25filesystem: T3946: GPT table fix after disk resizeAndrii
2021-11-25filesystem: T3946: partition resize as a serviceAndrii
2021-11-24Merge pull request #1082 from DmitriyEshenko/1x-24112021-eq-03Christian Poessinger
sstp: T2661: Delete certificate files redundancy check
2021-11-24graphql: T3993: add requests for manipulating firewall groupsJohn Estabrook
(cherry picked from commit ee53af35eb1edb6167a65b290f25a95b2a586498)
2021-11-24graphql: T3993: refactor directive and mutation definitionsJohn Estabrook
(cherry picked from commit ef7f5ca2fd2c0113875dbd9143342e925cf00621)
2021-11-24graphql: T3993: normalize naming conventionsJohn Estabrook
(cherry picked from commit fb2dc58d91bd93ba3aaa63d46e49e6609c18d46f)
2021-11-24graphql: T3993: change name of directiveJohn Estabrook
(cherry picked from commit 6de15a4162224dbf2d911bce0a9d4eaa396071a3)
2021-11-24graphql: T3993: update README.graphqlJohn Estabrook
(cherry picked from commit f4ec1a88b655e64372d30166b69021e2a17b2a90)
2021-11-24sstp: T2661: Delete certificate files redundancy checkDmitriyEshenko
2021-11-19http-api: T4003: fix output when no tty attached to stdout, e.g., apiJohn Estabrook
(cherry picked from commit 82ea3b4f3c12023ce17f1062785b6238f457673d)
2021-11-18wwan: T3795: periodically check if WWAN connection needs a reconnectChristian Poessinger
2021-11-18wwan: T3795: do not fail config-load when signal is missingChristian Poessinger
2021-11-18wwan: T3795: make connect and disconnect op-mode commands aware to WWAN ↵Christian Poessinger
interfaces
2021-11-18Merge pull request #1052 from sever-sever/T3643-equDaniil Baturin
ipsec: T3643: Fix for show tunnels with state down
2021-11-17snmp: T3996: fix invalid IPv6 localhost handling when using listen-addressChristian Poessinger
We need to use a temporary variable when validating the tuple if address is used. If not the else branch will always add the tuple to the list of addresses used for listen-address. (cherry picked from commit d13b91462487e090b32c0d1ecf9139a2271b4837)
2021-11-17openvpn: T3995: implement systemd reload supportChristian Poessinger
(cherry picked from commit eceaa3a787929f5a514b9c45da52936c0d4d4a54)
2021-11-17OpenVPN: T3350: Changed custom options for OpenVPN processingzsdc
Custom OpenVPN options moved back to the command line from a configuration file. This should keep full compatibility with the `crux` branch, and allows to avoid mistakes with parsing options that contain `--` in the middle. The only smart part of this - handling a `push` option. Because of internal changes in OpenVPN, previously it did not require an argument in the double-quotes, but after version update in `equuleus` and `sagitta` old syntax became invalid. So, all the `push` options are processed to add quotes. The solution is still not complete, because if a single config line contains `push` with other options, it will not work, but it is better than nothing. (cherry picked from commit 3fd2ff423b6c6e992b2ed531c7ba99fb9e1a2123)
2021-11-17T3912: add additional newline after "Welcome to VyOS"Christian Poessinger
(cherry picked from commit 77eca49bffede005f546b7d9d3660bf2e32c7e8e)
2021-11-15graphql: T3993: add config file save/loadJohn Estabrook
(cherry picked from commit 8915a19f7761253b7bdf6ca847069539ee33851d)
2021-11-15graphql: T3993: move schema generation to bindings.py; clean up for lintingJohn Estabrook
(cherry picked from commit 9e2694b24b06d928240522322c9a6d60c7a7d290)
2021-11-15l2tp: T3724: allow setting accel-ppp l2tp host-nameMarek Isalski
(cherry picked from commit 3d00140453b3967370c77ddd9dac4af223a7ddce)
2021-11-08T3912: remove duplicate "Welcome to VyOS!" already shown by pre-loginChristian Poessinger
(cherry picked from commit 73be449b1cd09f3ca86400753630fb4804fbeca7)
2021-11-07http-api: T2768: update dhcp-server example for migration 5-to-6John Estabrook
(cherry picked from commit dc9a2821d063a96681d6cb1d962618829b71937d)
2021-11-07http-api: T3440: give uvicorn time to initialize before starting NginxJohn Estabrook
(cherry picked from commit 889e16a77517549fb833a90d047455533be02f06)
2021-11-07http-api: T2768: add README.graphqlJohn Estabrook
(cherry picked from commit 5b69aad5bfe1fd1dfc51afb1d4b6323028009deb)
2021-11-07http-api: T2768: example using GraphQL for high-level config operationsJohn Estabrook
(cherry picked from commit b168b4cc7da456f14714d917cdc7a1c6b8df9af5)
2021-11-07http-api: T3616: update for strict content-type check in FastAPI 0.65.2John Estabrook
FastAPI 0.65.2 checks content-type request header before assuming JSON, closing a well-known loophole. This requires a modification of the code providing backwards compatibility of multipart forms. (cherry picked from commit 3a9041e2d4d4a48ba7c01439e69c5f86a4a850c2)
2021-11-07http api: T3412: use FastAPI as web framework; support application/jsonJohn Estabrook
Replace the Flask micro-framework with FastAPI, in order to support extensions to the API and OpenAPI 3.* generation. This change will remain backwards compatible with previous versions. Notably, the multipart forms version of requests remain supported; in addition application/json requests are now natively supported. (cherry picked from commit 0125fff200efe3259aa25953e7505f69679261f8)