summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2021-12-30dhclient: T4121: Fixed resolv.conf generation at early boot stagezsdc
In case if a CLI configuration is not available, dhclient cannot add nameservers to a `resolv.conf` file, because `vyos-hostsd` requires that an interface be listed in the `set system name-server` option. This commit introduces two changes: * `vyos-hostsd` service will not be started before Cloud-Init fetch all remote data. This is required because all meta-data should be available for Cloud-Init before any of VyOS-related services start since it is used for configuration generation. * the `vyos-hostsd-client` in the `dhclient-script` will be used only if the `vyos-hostsd` is running. In other words - if VyOS services already started, dhclient changes `resolv.conf` using `vyos-hostsd`; in other cases - does this directly. These changes should protect us from problems with DHCP during system boot if DHCP is required by third-party utils.
2021-12-30Merge pull request #1125 from DmitriyEshenko/eq-1x-29122021-01Daniil Baturin
l2tp-server: T4117: Add dae-server configuration to template
2021-12-29configd: T4086: use 'copy' on mutable global var default_config_dataJohn Estabrook
(cherry picked from commit d2ca2ac1cf9cacd44a04fbb6da9a884c23f043f6)
2021-12-29l2tp-server: T4117: Add dae-server configuration to templateDmitriyEshenko
2021-12-27snmp: T4093: add missing verify() step for required group per snmp v3 userChristian Poessinger
(cherry picked from commit a70a4001fe0b3a91a7d86191ff32dcc7205d2eae)
2021-12-26http: api: T4055: add VRF supportChristian Poessinger
(cherry picked from commit 4aaf0ba69139d84f89e5c3feee6edd845af8d1e5)
2021-12-24conntrack-sync: T3854: Add missed statistics for op-modeViacheslav
After rewriting conntrack-sync to XML/python, part of op-mode parameters was missed Add "status" and "statistics" for conntrack-sync
2021-12-19T4084: dehardcode the post-login bannerDaniil Baturin
2021-12-16http-api: T4076: allow setting CORS option 'Access-Control-Allow-Origin'John Estabrook
(cherry picked from commit 55f8ede2d09a9ad095f9ec5c2a729f8c5fb6aafa)
2021-12-16T3354: Backport strip-private scripterkin
2021-12-16T3006: add a range validatorDaniil Baturin
(cherry picked from commit 45d2429aa5d2ffafacdc5d9d00b7097169592427)
2021-12-15pppoe-server: T3006: Add range to regex generatorDmitriyEshenko
2021-12-14http-api: T4071: allow API to bind to unix domain socketJohn Estabrook
(cherry picked from commit 0e3c35e6517f5cfebb4206c735a2ea976a7fd383)
2021-12-12graphql: T3993: add requests for firewall ipv6-address-groupJohn Estabrook
(cherry picked from commit 92c4cc5e1248b3c7ffda03e23eeb21e2073ba7f0)
2021-12-12graphql: T3993: distinguish queries and mutations; update README.graphqlJohn Estabrook
(cherry picked from commit 30311db5a00c78872c9ad9b29e7081e0d81a5362)
2021-12-12validator: T4036: validate if multicast address is single (no netmask)Christian Poessinger
(cherry picked from commit c3471fe9d4cf0aab46feae94618925a95bcd5411)
2021-12-11T3912: migrate "Welcome to VyOS" from issue file to motd to not silently ↵Christian Poessinger
expose OS (cherry picked from commit 9ccc353893a3a9a1dc7dfd59463d34449bf05afb)
2021-12-11vyos.util: T4061: fix typo in function nameJohn Estabrook
(cherry picked from commit 86ab3b7dad7f2ad2c39a8b110e4a845195cda32e)
2021-12-10wwan: T3795: remove superfluous import (render)Christian Poessinger
2021-12-10wwan: T3795: only enable cron helper when interface is in useChristian Poessinger
2021-12-10wwan: T3795: only run ModemManager when interface is in useChristian Poessinger
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)