summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2021-08-22vyos.configdict: leaf_node_changed() must return empty dict when node is addedChristian Poessinger
vyos@vyos# show interfaces pppoe pppoe pppoe10 { + access-concentrator asdfg authentication { password bar user foo } default-route force no-peer-dns source-interface eth0.202 } vyos@vyos# python3 Python 3.9.2 (default, Feb 28 2021, 17:03:44) [GCC 10.2.1 20210110] on linux Type "help", "copyright", "credits" or "license" for more information. >>> from vyos.config import Config >>> from vyos.configdict import get_interface_dict >>> from vyos.configdict import leaf_node_changed >>> conf = Config() >>> base = ['interfaces', 'pppoe'] >>> tmp = get_interface_dict(conf, base, 'pppoe10') >>> leaf_node_changed(conf, ['access-concentrator']) >>> [''] (cherry picked from commit f476e456e20393e7e7e91b73e369c9b033fbf048)
2021-08-22vyos.ifconfig: provide generic get_mac_synthetic() methodChristian Poessinger
WireGuard, Tunnel and also PPPoE all need a ways to calculate a synthetic MAC address used for the EUI64 link-local addresses. Instead of copying the code from Tunnel to WireGuard to PPPoE, use a generic implementation. (cherry picked from commit b7d30137b17da49ed5099d4d96659b363fc7bcc9)
2021-08-22smoketest: base: abbreviate path to /proc/sys/netChristian Poessinger
(cherry picked from commit 8c1c9e1c37be9e88e8a7ea0182a43a3396eff623)
2021-08-22vyos.configdict: add note when using leaf_node_changed()Christian Poessinger
(cherry picked from commit 9c97bd1b0214e102ac36eae8b2c3c9ff672a0bf3)
2021-08-22vyos.ifconfig: bridge: remove missleading comment in update()Christian Poessinger
(cherry picked from commit e1debb1b57a445fa2357f7dbb5b3f04383f8b1e3)
2021-08-22xml: interfaces: use one common building block for "disable-forwarding"Christian Poessinger
Both building blocks only differed in the help text, so use IP for both IPv4 and IPv6. (cherry picked from commit 0e751221d0832acac807e7f0bc97d7bb31230c3a)
2021-08-22xml: remove superfluous "interface" prefix from interface includesChristian Poessinger
(cherry picked from commit 0a8a0188033d6b27c521f082fdddae9873dd5d3d)
2021-08-21T1950: fix permissions on component-versions.json fileJohn Estabrook
(cherry picked from commit 6bd780887c0e13dc9272ec499ebc6f01cfaf7ea6)
2021-08-20T1950: write component versions to json file during migrationJohn Estabrook
(cherry picked from commit 1a498915efdc433dda7bd6e5fcc08703a48560c6)
2021-08-19T3768: Revert "xml: T1962: Add syntaxVersion to schema"John Estabrook
This reverts commit 5849ba88a1a20e4d3584843e0be46e456c5f7980.
2021-08-19T3768: Revert "xml: T1962: Add script to process syntaxVersion tags during ↵John Estabrook
build" This reverts commit 0ecc2c26f7ac939e4e23c14f5027ac7592c25761.
2021-08-19xml: T3768: drop early XML syntaxVersion implementationJohn Estabrook
2021-08-19T3768: Revert "T1950: Add support for reading component versions from JSON file"John Estabrook
This reverts commit 29e438755c8bd2b9598a2016a3c42891f0cbfa1d.
2021-08-18isis: T3417: last byte of IS-IS network entity title must always be 0Christian Poessinger
(cherry picked from commit 19b16986515dcb58955e153025b24dc012faa574)
2021-08-17xml: cleanup - replace format "text" with "txt" as required by the BASH helpersChristian Poessinger
(cherry picked from commit 51f7ce31bc60ea9933848bc23efda9386e39a151)
2021-08-17op-mode: T1513: bgp: add "show bgp large-community-list" commnadChristian Poessinger
(cherry picked from commit 90f778fc04b322867f6fec023328330adc3fd85f)
2021-08-17op-mode: xml: bgp: fix large-community help stringChristian Poessinger
(cherry picked from commit 6bb2f6e22706bb1c5874a58e74585160164011f6)
2021-08-17op-mode: T1513: bgp: add "show bgp large-community AA:BB:CC exat-match"Christian Poessinger
(cherry picked from commit 6c0044d12ecf762d9d362d6b09cdaa4c8227db58)
2021-08-17op-mode: T1513: bgp: xml: provide exact-match building blockChristian Poessinger
(cherry picked from commit 0f498d782c8fc3645355184cc59e88a16d1b230d)
2021-08-15smoketest: shim: wait for commit to be completedChristian Poessinger
This completes commit e7d841d285 ("smoketest: shim: remove superfluous sleep() in getFRRconfig()"). (cherry picked from commit 9b21e4a769385514f0bf625d665d588266dc6de4)
2021-08-15smoketest: shim: remove superfluous sleep() in getFRRconfig()Christian Poessinger
The sleep was intended to handle a FRR issue where the config was/is somehow now available in vtysh even with the commit was done. This rather feels like a race-condition and is fixed in the subsequent commit. (cherry picked from commit e7d841d2854d8e0ebb95cb6f0bd83e84fba3a9fa)
2021-08-15wireguard: T3756: fix generated qr code headerBoris Manojlovic
(cherry picked from commit d3ae6304a3eabcddba36452e9519ca7b56bb38af)
2021-08-14openvpn: T3738: Disable authentication option for server modeViacheslav
(cherry picked from commit 655876f4c22c0f4ea839a81f4af09d6016e19197)
2021-08-14vyos.util: T1503: use build in methods to determine current user for ↵Christian Poessinger
commit_in_progress() (cherry picked from commit a74e67a778a6c698e44cbc6c5d184d03c9c12396)
2021-08-14op-mode: ipsec: T3745: "show vpn ipse sa" improve sortingChristian Poessinger
(cherry picked from commit 1229665d353a070e14ee9cceafbfdb107d669745)
2021-08-13xml: T3234: update instead of overwrite on repeated pathJohn Estabrook
(cherry picked from commit e5c61fc80119556bb1b61a80868d4a3470e07319)
2021-08-13nginx: T3740: use bracketize_ipv6 Jinja2 filter on server addressChristian Poessinger
(cherry picked from commit f3df9e97c6bedd305133e860654fc0213c12fd6b)
2021-08-12login: T3746: inform users about pending rebootsChristian Poessinger
(cherry picked from commit 7e52a7079afb522d1456833023ad58fa8b05e880)
2021-08-12T3574: add constraintGroup for combining validators with logical ANDJohn Estabrook
(cherry picked from commit 591b8bcadd8b6bbd46c61484193d2bf7e16bd1ae commit 31553283aaa929da63147082e85513e8d4dacf0e commit 59a4aadfe419eca16e6288b37d6c51acd9789903)
2021-08-12xml: T3732: merge leafNode with defaultValue with leafNode(s) of same pathJohn Estabrook
(cherry picked from commit e7c69ead85af485b2b881f24b929a4bcc779a4ce and commit ec6dc94a5144ea4ac75ba6fac4d85b4f66337ae2)
2021-08-12nat: T1083: fix Jinja2 templating errorChristian Poessinger
Commit 166d44b3 ("nat: T1083: add translation options for persistent/random mapping of address and port") added support for persistent IP address and port mappings for NAT. Unfortunately one if clause got lost in translation.
2021-08-12T3697: check config.exists rather than exists_effectiveDaniil Baturin
2021-08-12dns: T3744: fixed dns fwd statistics formattingFileGo
(cherry picked from commit 0f7833483c0fe4982747bbbace45a83fae793257)
2021-08-11accel-ppp: T3731: eliminate service name from error messageChristian Poessinger
VyOS will automatically append the subsystem name (pppoe-server or sstp) when something goes wrong. No need to hardcode this into the error string a second time. (cherry picked from commit 29463355e6ec98195ffd52e018bc775cd4199456)
2021-08-09Merge pull request #958 from sever-sever/T3730John Estabrook
template: T3730: Add bracketize_ipv6 filter
2021-08-09template: T3730: Add bracketize_ipv6 filterViacheslav
2021-08-09configquery: T3402: add library for querying config values from op modeJohn Estabrook
(backport from 1.4)
2021-08-09dhcp-server: T2432: Run dhcpd in group vyattacfg to allow recreate lease filesDmitriyEshenko
2021-08-09T3695: reword the ocserv fail message.Daniil Baturin
2021-08-09Merge pull request #957 from DmitriyEshenko/1x-equuleus-09082021Daniil Baturin
openconnect: T3695: Add systemd service checker on commit
2021-08-09openconnect: T3695: Add systemd service checker on commitDmitriyEshenko
2021-08-08ping: T3634: Fixing do not fragment to PingCheeze_It
In this commit we fix the do not fragment capability for ping commands. Sorry for messing it up earlier :( (cherry picked from commit d012c732a8902d4848e29f37fcede66a060e3c7f)
2021-08-06Merge branch 'equuleus' of github.com:/vyos/vyos-1x into equuleusDaniil Baturin
2021-08-06Merge pull request #954 from sever-sever/T548Christian Poessinger
bgp: T548: Migrate maximum-paths to afi ipv4 maximum-paths
2021-08-05nat: T1083: add translation options for persistent/random mapping of address ↵Igor Melnyk
and port Tested using: set destination rule 100 inbound-interface 'eth0' set destination rule 100 translation address '19.13.23.42' set destination rule 100 translation options address-mapping 'random' set destination rule 100 translation options port-mapping 'none' set source rule 1000 outbound-interface 'eth0' set source rule 1000 translation address '122.233.231.12' set source rule 1000 translation options address-mapping 'persistent' set source rule 1000 translation options port-mapping 'fully-random'
2021-08-05bgp: T548: Migrate maximum-paths to afi ipv4 maximum-pathsViacheslav
2021-08-03isis: T1316: rename Jinja2 template to match other FRR daemonsChristian Poessinger
(cherry picked from commit d77a2f56ea7e76158c07f5829397be4555473e3d)
2021-08-03Merge pull request #950 from sever-sever/T1594Christian Poessinger
l2tpv3: T1594: Fix timeout before set l2tpv3 interface
2021-08-02Merge branch 'equuleus' of https://github.com/vyos/vyos-1x into equuleusDaniil Baturin
2021-08-02T3697: explicitly wait for the charon process to respond to strokesDaniil Baturin