summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2021-04-02Makefile: fix logic to detect empty "node.def" filesChristian Poessinger
Commit 5b22ebae ("T3170: check if any generated node.def files are empty") added an initial test to find empty node.def files created by build-command-templates or build-command-op-templates. The problem was that GNU find always returns 0, thus the condition to bail out on error was always met. This has been corrected to return false on hits only.
2021-04-02Makefile: T1579: do not remove interfaces "node.def" file anymoreChristian Poessinger
... this has been migrated to vyos-1x.
2021-04-02Revert "static: route: arp: T3170: prevent empty node.def from beeing generated"Christian Poessinger
This reverts commit d8c27642a3753513ae1d3c433fa46858a5ee946c.
2021-04-02Merge pull request #672 from dmbaturin/check-for-empty-nodesChristian Poessinger
T3170: check if any generated node.def files are empty.
2021-04-01static: route: arp: T3170: prevent empty node.def from beeing generatedChristian Poessinger
Currently if there are XML nodes defined in multiple places it can and will happen that one overrides the other. In this case, the "protocols static arp" definition file overwrites the node.def file in the "protocols static" folder that had a priority - the priority is essential for l2tpv3 to work.
2021-04-01Merge pull request #797 from erkin/currentDaniil Baturin
conf-mode: Add Dvorak layout
2021-04-01Add Dvorak layouterkin
2021-04-01Merge pull request #796 from sever-sever/T3217Daniil Baturin
frr: T3217: Fix permissions for saved configs
2021-04-01frr: T3217: Fix permissions for saved configssever-sever
2021-03-31smoketest: bfd: only evaluate individual profile sectionChristian Poessinger
When validating FRR profiles, only load the configuration for each individual profile instead of all profiles. This is done by a new argument to getFRRconfig() named endsection='^!' which tells what is the delimiter when a config section of FRR ends, this is usually "^!", but for BFD profiles this is "^ !", as this is a new level under the FRR CLI.
2021-03-31xml: T3445: avoid false positive on element references; use path nameJohn Estabrook
2021-03-30xdp: T3448: bail out early on platforms not supporting xdp (e.g. RaspberryPi)Christian Poessinger
2021-03-30bgp: T1711: remove migrator debug printChristian Poessinger
2021-03-30smoketest: qat: change comment for unittest frameworkChristian Poessinger
2021-03-30ripng: T3281: remove debug print statementsChristian Poessinger
2021-03-30Merge pull request #794 from erkin/currentDaniil Baturin
T3354: Handle user break and prematurely closed stdin in strip-private
2021-03-30Remove SFTP empty password checkerkin
2021-03-30T3356: Encode strings given to/returned from curl in TFTP transferserkin
2021-03-30T3354: Handle user break and prematurely closed stdinerkin
2021-03-29Merge pull request #793 from c-po/bgp-cliChristian Poessinger
bgp: T1711: remove ASN tagNode and move to "local-as"
2021-03-29Merge pull request #787 from jack9603301/T3055Christian Poessinger
op-mode: ipsec: T3055: Fixed parsing peer name error
2021-03-29bgp: T1711: remove ASN tagNode and move to "local-as"Christian Poessinger
Every time when set configuration bgp, you need set AS number. There is very less benefit in this system so the AS number is moved from a tagNode level down to a leafNode with the name "local-as", same as on the neighbor or peer-group level. This changes the CLI configuration from: set protocols bgp 100 neighbor 10.10.1.2 remote-as 200 to set protocols bgp local-as 100 set protocols bgp neighbor 10.10.1.2 remote-as 200
2021-03-29isis: T3417: fix invalid call to exit() in migration scriptChristian Poessinger
2021-03-28http-api: T3440: give uvicorn time to initialize before starting NginxJohn Estabrook
2021-03-28Merge pull request #792 from sever-sever/T3431John Estabrook
op-mode: T3431: Fix show version all
2021-03-28op-mode: T3431: Fix show version allsever-sever
2021-03-27vrf: vlan: T3438: do not automatically delete upper interfaceChristian Poessinger
Removing a VLAN (VIF) interface from the CLI always deleted all interfaces the kernel listed as "upper" in the /sys/class/net folder. This had the drawback that when deleting a VIF, also the VRF interface was simply deleted - killing all VRF related services.
2021-03-27op-mode: ipsec: T3055: Fixed parsing peer name errorjack9603301
2021-03-26Merge pull request #785 from jestabro/fastapi-jsonJohn Estabrook
http api: T3412: use FastAPI as web framework; support application/json
2021-03-26http 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.
2021-03-26smoketest: ensure symlink exists /usr/sbin/ip -> /bin/ipChristian Poessinger
2021-03-26Merge pull request #790 from sever-sever/T3434Christian Poessinger
bgp: ospf: T3434: op-mode refactoring for support vrf
2021-03-26ospf: T3436: op-mode CLI refactoring for support vrfsever-sever
2021-03-26bgp: T3434: op-mode CLI refactoring for support vrfsever-sever
2021-03-25configd: T3426: include bgp, isis, ospf and static protocols in processingJohn Estabrook
vyos-configd now supports calling a script with a passed argument; re-include the conf_mode scripts that were excluded in ba251b3f2c.
2021-03-25configd: T3426: add support for script arguments to vyos-configdJohn Estabrook
2021-03-24smoketest: isis: drop trailing whitespace on "router isis" statementChristian Poessinger
After upgrading FRR to a newer revision in stable/7.5 branch we can drop the workaround where an additional whitespace was required after the "router isis FOOO " statement. Related to https://github.com/FRRouting/frr/pull/8306
2021-03-24Revert "isis: T3417: add workaround for FRR issue"Christian Poessinger
This reverts commit d89455ee7f5dc21d00bbeddd57eaee2e32f45f99.
2021-03-24Merge pull request #784 from sever-sever/T3217Christian Poessinger
routing: T3217: Save configs of daemon per commit
2021-03-24ddclient: T3422: Allow zone property with cloudflare protocolJustin
Allows Dynamic DNS services with custom names to use the zone field if the protocol is set to cloudflare (cherry picked from commit 5ab6c20f8acd4dda1870b9a71fe73129d2f78b24)
2021-03-23configd: T3426: correct pass_through function for scripts with argsJohn Estabrook
2021-03-23configd: T3426: check script name against include_set, not exclude_setJohn Estabrook
If the script name is mangled, for any reason (e.g. missing support for script arguments) checking against the exclude_set will yield a false positive; check against the include_set, even if this is a longer search.
2021-03-23routing: T3217: Save configs of daemon per commitsever-sever
2021-03-23vyos.configd: T3423: exclude bgp, isis, ospf and static protocols from ↵Christian Poessinger
processing vyos-configd does yet not support calling a script with a passed argument, thus we will exclude the routing protocols during this time from the vyos-configd processing.
2021-03-23vyos.util: dict_search() should not throw exception when inputs are NoneChristian Poessinger
2021-03-23vrf: T31: bump priority to 299 - still before any interface or serviceChristian Poessinger
2021-03-22Merge pull request #781 from erkin/currentChristian Poessinger
util: T3419: Handle IP addresses with netmasks and subnet prefixes in strip-private
2021-03-22configd: T3302: check vyos-config-status to determine if in boot sessionJohn Estabrook
2021-03-22Merge pull request #780 from jestabro/configqueryJohn Estabrook
configquery: T3402: add library for querying config values from op mode
2021-03-22util: T3419: Handle IP addresses with netmasks and subnet prefixes in ↵erkin
strip-private