summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2020-01-06pppoe-server: synthax fix for vlan-monhagbard
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
2019-12-28time-zone: T1906: rename python script to system-timezone.pyChristian Poessinger
2019-12-26time-zone: T1906: migrate unknown timezones to UTCChristian Poessinger
If - for whatever reason - a timezone specified is invalid ... migrate it to UTC, just in case!
2019-12-26time-zone: T1906: migrate to XML/PythonChristian Poessinger
The current node.def based implementtion should be migrated from vyatta-cfg-system to vyos-1x. During the migration also provide a migration script which transforms some ole timezones like "Los_Angeles" into a proper IANA assigned timezone which should be "America/Los_Angeles".
2019-12-24flow-accounting: T1890: Fixed bugs in flow-accountingzsdc
* fixed improper `process.returncode` invokes * added check for if an in-memory table is active before using IMT for flows show * replaced `--nflog-range` to `--nflog-size` in iptables rules, as `--nflog-range` had never works. **WARNING: this change break compatibility with Debian 8!**
2019-12-23lldp: T1898: support multiple management addressesChristian Poessinger
- management-address is not a <multi/> node - added new vyos.validate.is_loopback_addr() function - returns true is address passed is a looback address
2019-12-22lldp: T393: unlink /etc/lldpd.d/01-vyos.conf on service deletionChristian Poessinger
2019-12-22lldp: T393: support both ELIN and ccordinate based location service in MEDChristian Poessinger
2019-12-22fixupChristian Poessinger
2019-12-22lldp: T393: support IPv6 management addressChristian Poessinger
2019-12-22lldp: T393: add Emergency Location Identifier Number (ELIN) supportChristian Poessinger
2019-12-22lldp: T393: support parsing MED valuesChristian Poessinger
2019-12-22lldp: T393: use flat dictionary when generating configsChristian Poessinger
2019-12-22lldp: T393: support listen interfacesChristian Poessinger
2019-12-22lldp: T393: add config options to /etc/lldpd.dChristian Poessinger
2019-12-22lldp: T393: first op mode command versionChristian Poessinger
2019-12-22lldp: T393: first running version of lldpdChristian Poessinger
2019-12-20igmp-proxy: T1893: verify that proxy interface existsChristian Poessinger
2019-12-20igmp-proxy: T1893: rename 'interface' dictionary key to 'interfaces'Christian Poessinger
2019-12-20Merge remote-tracking branch 'upstream/current' into T1890zsdc
2019-12-19flow-accounting: T1890: fixed scripts permissionszsdc
2019-12-19Merge pull request #188 from zdc/T1885Christian Poessinger
vyos-hostsd: T1885: Fixed crash if stdout PIPE connection lost
2019-12-19vyos-hostsd: T1885: Fixed crash if stdout PIPE connection lostzsdc
In case if stdout PIPE were lost (for example, after systemd-journald restart), using print() will raise the exception. This patch replaces print() to logging function, which is not sensitive to this problem. This makes vyos-hostd resistant to stdout disconnection, but of course, all logs after stdout disconnection will be lost.