summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2020-01-26snmpd: T1937: fix all startup warningsChristian Poessinger
This is actually an "upstream" bug, see [1] but it can be fixed via our own scripts. [1]: https://bugs.launchpad.net/ubuntu/+source/net-snmp/+bug/1384122
2020-01-26Revert "snmp: T1937: fix "unknown token" warnings"Christian Poessinger
This reverts commit 6945b2e3561cd76d193d41dd6ab5249661230460.
2020-01-25list_interfaces: change bonding interface list logicChristian Poessinger
The previous logic returned: >>> eth = vyos.interfaces.list_interfaces_of_type("ethernet") >>> for intf in eth: ... print(intf) ... eth0 eth1 eth2 eth0.201 eth1.50 >>> for intf in eth: ... if '.' in intf: ... eth.remove(intf) ... >>> eth ['eth0', 'eth1', 'eth2', 'eth1.50'] This only eth0.201 was removed
2020-01-25Debian: add vyos-1x-vmware packageChristian Poessinger
Split out files required only by VMware systems.
2020-01-24pppoe-server: T1985: Enable ipv6 modules if ipv6 not deniedDmitriyEshenko
2020-01-23openvpn: T1975: ta devices need to be explicitly brought upChristian Poessinger
2020-01-23service-pppoe: autopep formattedhagbard
2020-01-23service-pppoe: T1956: support PADO-delayhagbard
2020-01-23service-pppoe: T1766: service-pppoe - vyos.config rewritehagbard
2020-01-21keepalived: vrrp: T1900: always enable SNMP monitoringChristian Poessinger
2020-01-21Remove 2 interface requirement from dhcp-relayDaniel Foster
More detail in Phabricator T1978. There is no requirement for dhcp-relay to have multiple interfaces configured.
2020-01-20Merge pull request #199 from bmhughes/fix-ipv6-bfd-verificationChristian Poessinger
bfd: T1949: fix verification logic for IPv6 BFD peers
2020-01-14vrrp: T1884: Keep transition-script native behaviour and implement ↵DmitriyEshenko
transaction-script 'stop'
2020-01-14ipsec: T1959: Check file existence before changesDmitriyEshenko
2020-01-13vxlan: T1961: bugfix for copy and paste errorChristian Poessinger
2020-01-09bfd: T1949: fix verification logic for IPv6 BFD peersBenjamin M. Hughes
IPv6 BFD peers only require a source address unless link-local addresses are used.
2020-01-09powerctr: T1842: Use systemd files for detect scheduleDmitriyEshenko
2020-01-07system-syslog: T1938: Firewall logging not workinghagbard
2020-01-06service-pppoe: removed dead code line after raise("")hagbard
2020-01-06service-snmp: T1931: Enabling SNMP commit errorhagbard
2020-01-06Merge pull request #198 from DmitriyEshenko/fix-pptp-nameshagbard-01
pptp: T1946: Add pattern pptpX for interfaces
2020-01-06pppoe-server: synthax fix for vlan-monhagbard
2020-01-06pptp: T1946: Add pattern pptpX for interfacesDmitriyEshenko
2020-01-05pppoe: regex pattern changed, cli checks for a valid vlan IDhagbard
2020-01-03snmp: T1937: fix "unknown token" warningsChristian Poessinger
2020-01-03ifconfig: T1939: provide abstraction for interface "ip" optionChristian Poessinger
Provide an XML/Python abstraction to * ip disable-arp-filter * ip enable-arp-accept * ip enable-arp-announce * ip enable-arp-ignore The old implementation can co-exist until the last interfaces have been migrated.
2020-01-02ifconfig: T1557: refactor apply_vlan_config() functionChristian Poessinger
instead of providing three copies of the same method in bonding, ethernet and wireless, make a common function in vyos.ifconfig_vlan.apply_vlan_config().
2019-12-31VRRP: T1588: Added support for dynamic interfaces in VRRPzsdc
It is possible to add a nonexistent interface to the VRRP configuration, but this will lead to keepalived error and stop after configuration reload. With this new parameter, keepalived will consider nonexistent interfaces as FAULT instead crash and start VRRP on them, when they will appear on the system, which is a feature and much more correct behavior.
2019-12-31l2tpv3: T1923: support interface deletionChristian Poessinger
2019-12-31l2tpv3: T1923: implementation in XML/PythonChristian Poessinger
Tested using: R1: --- set interfaces l2tpv3 l2tpeth10 address '2001:db8:beef::1/64' set interfaces l2tpv3 l2tpeth10 address '100.0.0.1/24' set interfaces l2tpv3 l2tpeth10 destination-port '3000' set interfaces l2tpv3 l2tpeth10 encapsulation 'udp' set interfaces l2tpv3 l2tpeth10 local-ip '172.18.201.10' set interfaces l2tpv3 l2tpeth10 peer-session-id '10' set interfaces l2tpv3 l2tpeth10 peer-tunnel-id '100' set interfaces l2tpv3 l2tpeth10 remote-ip '172.18.204.10' set interfaces l2tpv3 l2tpeth10 session-id '20' set interfaces l2tpv3 l2tpeth10 source-port '6000' set interfaces l2tpv3 l2tpeth10 tunnel-id '200' R2: --- set interfaces l2tpv3 l2tpeth10 address '2001:db8:beef::2/64' set interfaces l2tpv3 l2tpeth10 address '100.0.0.2/24' set interfaces l2tpv3 l2tpeth10 destination-port '6000' set interfaces l2tpv3 l2tpeth10 encapsulation 'udp' set interfaces l2tpv3 l2tpeth10 local-ip '172.18.204.10' set interfaces l2tpv3 l2tpeth10 peer-session-id '20' set interfaces l2tpv3 l2tpeth10 peer-tunnel-id '200' set interfaces l2tpv3 l2tpeth10 remote-ip '172.18.201.10' set interfaces l2tpv3 l2tpeth10 session-id '10' set interfaces l2tpv3 l2tpeth10 source-port '3000' set interfaces l2tpv3 l2tpeth10 tunnel-id '100'
2019-12-31geneve: use proper variable nameChristian Poessinger
2019-12-31FRRouting: T1514: Extended FRR restarting functionality and fixed some bugszsdc
This change addressed to fix bug with empty configuration after FRR restarting in some cases and protect from some other potential problems. * added warning and request for confirmation before doing any actions * added a couple of safety checks (already running restart, active watchfrr.sh or vtysh session) * now Python script running via sudo to give us the ability to get processes information and work with all directories and vtysh * moved configuration restoring functionality from frrcommon.sh to Python script, as frrcommon.sh implementation in some cases not load configuration in time, which leads to empty config after * the `/etc/frr/frr.conf` is not used anymore. Instead, we are saving active configuration to the temporary directory
2019-12-30snmp: T1921: reduce syslog noiseChristian Poessinger
Remove informative but noisy messages: Dec 30 11:45:02 vyos snmpd[2870]: Connection from UDP: [172.16.100.1]:42781 ... Dec 30 11:45:02 vyos snmpd[2870]: Connection from UDP: [172.16.100.1]:57331 ...
2019-12-30snmp: T1921: change log optionsChristian Poessinger
suppress error message: Dec 30 11:44:10 LR1 snmpd[2870]: error on subcontainer 'ia_addr' insert (-1)
2019-12-30snmp: T1921: migrate sysvinit default to systemd override fileChristian Poessinger
2019-12-30snmp: adopt user/group to Debian BusterChristian Poessinger
2019-12-30beep: T1920: run after vyos.targetChristian Poessinger
2019-12-30options: T1919: check file existance before os.unlink()Christian Poessinger
2019-12-30beep: T1920: migrate to systemd unitChristian Poessinger
2019-12-30options: T1919: migrate 'system options' to XML/Python representationChristian Poessinger
2019-12-30Merge pull request #194 from DmitriyEshenko/l2tp_fix_onChristian Poessinger
l2tp: T1858: Delete deprecated outside-nexthop
2019-12-30list_interfaces: remove duplicate list of wireless interfacesChristian Poessinger
2019-12-30l2tp: T1858: Delete deprecated outside-nexthopDmitriyEshenko
2019-12-29l2tp: T1918: Add check and create tunnels folderDmitriyEshenko
2019-12-29FRRouting: T1514: Fix in FRRouting restart commandzsdc
Added saving and restoring current frr.conf to avoid reapplying of configuration from it during reboot.
2019-12-29FRRouting: T1514: Added commands to restart FRRouting daemonzsdc
It can be restarted the whole FRRouting (all running) daemons or only selected ones. The configuration is saving during the restart process, so after it, the active config should be the same as before. There are no checks for safety, so responsibility for the results of running command is fully on the operator.
2019-12-28ipv6: T1915: remove 'system ipv6 blacklist'Christian Poessinger
2019-12-28ipv6: T1912: remove debug print()Christian Poessinger
2019-12-28ipv6: migrate 'system ipv6' subsystem to XML/PythonChristian Poessinger
2019-12-28ip: migrate 'system ip' subsystem to XML/PythonChristian Poessinger