summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2021-03-14xml: ospf: consolidate router-id and distance settings in common include filesChristian Poessinger
2021-03-14vrf: bgp: T2271: create individual BGP process for specified VRF nameChristian Poessinger
The following VyOS CLI config vrf red { bgp 100 { neighbor 1.1.1.1 { peer-group foo } peer-group foo { passive password bar remote-as 200 } } } Will generaste the FRR configuration: ! router bgp 100 vrf red no bgp ebgp-requires-policy no bgp network import-check neighbor foo peer-group neighbor foo remote-as 200 neighbor foo password bar neighbor foo passive neighbor 1.1.1.1 peer-group foo !
2021-03-14vrf: bgp: T2271: re-arrange xml include building blocksChristian Poessinger
As the amount of include files now has reached a certain amount, this also introduces "per topic" subdirectories on the filesystem to keep a clean structure. This commit is related to the change in the OSPF structure done in 952c52ef01 ("vrf: ospf: T2271: re-arrange xml include building blocks").
2021-03-14xml: include: move route-map from ospf to generic sectionChristian Poessinger
2021-03-14bgp: T2387: add completion helper when specifying a peer-groupChristian Poessinger
2021-03-14vrf: ospf: T2271: create individual OSPF process for specified VRF nameChristian Poessinger
VyOS CLI config: vrf red { ospf { default-information { originate { always } } default-metric 30 passive-interface default } } Will create the FRR configuration snippet: ! router ospf vrf red auto-cost reference-bandwidth 100 timers throttle spf 200 1000 10000 passive-interface default default-metric 30 default-information originate always !
2021-03-13vrf: ospf: T2271: re-arrange xml include building blocksChristian Poessinger
In order to fully re-use the XML based OSPF CLI definition for per-VRF routing, the file structure needs to be reorganized and the common OSPF definition is moved to its dedicated ospf-common-config.xml.i file, which can then be fully re-included at the VRF level. As the amount of include files now has reached a certain amount, this also introduces "per topic" subdirectories on the filesystem to keep a clean structure.
2021-03-13tunnel: T3406: support ipv6 encaplimit "none" which disables the fielChristian Poessinger
2021-03-13console-server: T3407: can not reuse device used for "system console"Christian Poessinger
A user can specify both "set system console device ttyS0 speed '9600'" and "set service console-server device ttyS0 speed 9600". A serial interface can not be used multiple times. commit now produces an error: vyos@vyos# commit [ service console-server ] Port "ttyS0" requires speed to be set! (cherry picked from commit 7620a8a1d6d20d4bf16e714a9d40b7bdfb133b39)
2021-03-13Merge pull request #771 from jack9603301/T2518Christian Poessinger
nat: nat66: T2518: Support operation mode command
2021-03-13nat: nat66: T2518: Support operation mode commandjack9603301
2021-03-12Merge pull request #769 from jack9603301/T2518Christian Poessinger
nat66: T2518: Align the log and comment of nat66 template with nat
2021-03-13nat66: T2518: Align the log and comment of nat66 template with natjack9603301
2021-03-12Merge pull request #767 from erkin/currentChristian Poessinger
readme: Correct pipenv instruction to install dev packages
2021-03-11readme: Correct pipenv instruction to install dev packageserkin
2021-03-11Debian: T3356: move python3-paramiko from Build-Depends to DependsChristian Poessinger
The vyos-1x has no build time dependency on python3-paramiko but rather a runtime dependency on python3-paramiko. Missplaced dependency caused vyos-1x builds to fail as dependency is not met, introduced by commit 5b414a2ab1 ("config: T3356: Replace curl wrapper with (mostly) native remote file transfer functions").
2021-03-11Merge pull request #766 from erkin/currentChristian Poessinger
config: T3356: Replace curl wrapper with (mostly) native remote file transfer functions
2021-03-11config: T3356: Replace curl wrapper with (mostly) native remote file ↵erkin
transfer functions
2021-03-10bgp: evpn: T1513: add support for per VNI route-distinguished and route-targetChristian Poessinger
set protocols bgp 65010 address-family l2vpn-evpn vni 100 route-target both 516:10516 set protocols bgp 65010 address-family l2vpn-evpn vni 100 rd 192.168.0.1:514 Todo: add verify() step to check if at least one evpn enabled BGP neighbor exits, else FRR will error out with: This command is only supported under EVPN VRF
2021-03-10rpki: T3399: Fix template dashes replacesever-sever
(cherry picked from commit 55c4dd3586a3b0e2fe53ccad75c996b55d9979eb)
2021-03-10Merge pull request #764 from sever-sever/T3396Christian Poessinger
syslog: T3396: Fix remote IPv6 host
2021-03-10syslog: T3396: Fix remote IPv6 hostsever-sever
2021-03-09console-server: T3382: remove priority as we do not have any dependenciesChristian Poessinger
2021-03-09console-server: T3382: proper check for existence of /dev/serial/by-busChristian Poessinger
The completion helper was directly called on the /dev/serial/by-bus directory, but it was not verified if the directory exists at all.
2021-03-09Merge pull request #763 from bstepler/T3392Christian Poessinger
dhcp: T3392: fix VRF detection
2021-03-09Merge pull request #762 from jack9603301/T2518Christian Poessinger
nptv6: T2518: Support IPv6 address translation
2021-03-09nptv6: T2518: Support masquerade and cancel new migratorsjack9603301
2021-03-08dhcp: T3392: fix VRF detectionBrandon Stepler
2021-03-08bgp: T3391: migrate old IPv4 only maximum-paths config to new syntaxChristian Poessinger
2021-03-09nptv6: T2518: Support IPv6 address translationjack9603301
2021-03-07bgp: T3391: add per AFI maximum-paths supportChristian Poessinger
* set protocols bgp ASN address-family ipv4-unicast maximum-paths * set protocols bgp ASN address-family ipv4-unicast maximum-paths-ibgp * set protocols bgp ASN address-family ipv6-unicast maximum-paths * set protocols bgp ASN address-family ipv6-unicast maximum-paths-ibgp
2021-03-07vxlan: T3319: use default ttl of 16Christian Poessinger
VyOS 1.2 had a default ttl of 16 hardcoded to the node.def file [1], so until this is handled via a migration script we have to obey that particular setting. [1]: https://github.com/vyos/vyatta-cfg-system/blob/crux/templates/interfaces/vxlan/node.def#L23
2021-03-07T3357: Fix invoking TunnelIf() from op-modeChristian Poessinger
As we can also use the TunnelIf() class from op-mode we must ensure that read-only access to the class works even if required configuration keys as "encapsulation" are not passed to the class on invokation. This fixes an isse where "show interfaces tunnel" returned: Traceback (most recent call last): File "/usr/libexec/vyos/op_mode/show_interfaces.py", line 313, in <module> args.vrrp File "/usr/libexec/vyos/op_mode/show_interfaces.py", line 48, in handled_function function(*args, **kwargs) File "/usr/libexec/vyos/op_mode/show_interfaces.py", line 222, in run_show_intf_brief for interface in filtered_interfaces(ifnames, iftypes, vif, vrrp): File "/usr/libexec/vyos/op_mode/show_interfaces.py", line 77, in filtered_interfaces interface = klass(ifname, create=False, debug=False) File "/usr/lib/python3/dist-packages/vyos/ifconfig/tunnel.py", line 99, in __init__ if self.iftype in ['gretap', 'ip6gretap']: AttributeError: 'TunnelIf' object has no attribute 'iftype'
2021-03-07Revert "op-mode: T3357: Fix show_interfaces bug with tunnels"Christian Poessinger
This reverts commit e1c993f57efdf91f26a36f1d0339298e63fdf20e.
2021-03-07T3388: "show interfaces" op-mode command lacks PPPoE interfacesChristian Poessinger
Commit e5b335830ef ("vyos.ifconfig: T1579: remove calls to vyos.ifconfig.Interface.get_config()") removed the PPPoEIf class as it seemed to be unused. It turns out it is required by the op-mode commands for e.g. "show interfaces".
2021-03-06bgp: T2387: add interface completion helper for update-sourceChristian Poessinger
2021-03-06smoketest: ospf: add debug codeChristian Poessinger
2021-03-06GitHub: update PR template wiht smoketest hintChristian Poessinger
2021-03-06smoketest: pppoe-server: adjust client_ip_pool testcase to latest code fixesChristian Poessinger
Commit 52ee92b8 ("pppoe: T3386: Fix client ip-pool stop range") fixed the generated client range configuration line for Accel-PPP but missed out altering the testcase, too which validates the generated configuration line.
2021-03-05smoketest: config: add azure VPN gateway exampleChristian Poessinger
2021-03-05Merge pull request #759 from bstepler/T3271Christian Poessinger
grub: T3271: don't write grub.cfg if it hasn't changed
2021-03-04grub: T3271: don't write grub.cfg if it hasn't changedBrandon Stepler
2021-03-04Merge pull request #729 from bstepler/T3300Christian Poessinger
dhcp: T3300: add DHCP default route distance
2021-03-04Merge pull request #761 from sever-sever/T3211Christian Poessinger
ospf: T3211: Fix default isis redistribution
2021-03-04Merge pull request #760 from sever-sever/T3386Christian Poessinger
pppoe: T3386: Fix client ip-pool stop range
2021-03-04ospf: T3211: Fix default isis redistributionsever-sever
2021-03-04tunnel: T3381: fix error when switching from mGRE to GRE modeChristian Poessinger
Linux does not support changing the remote address from any (multipoint GRE as used by DMVPN) to a discrete remote address. THis will return an error: add tunnel "tun1" failed: Invalid argument This can be handled by detecting the mGRE -> GRE change and re-create the tunnel silently.
2021-03-04pppoe: T3386: Fix client ip-pool stop rangesever-sever
2021-03-03tunnel: T2966: add ip6gretap encapsulation supportChristian Poessinger
2021-03-03op-mode: evpn: T1513: add show commandsChristian Poessinger