summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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-31Merge branch 't1923-l2tpv3-migration' of github.com:c-po/vyos-1x into currentChristian Poessinger
* 't1923-l2tpv3-migration' of github.com:c-po/vyos-1x: l2tpv3: T1923: support interface deletion l2tpv3: T1923: implementation in XML/Python ifconfig: vxlan: change VXLANIf API ifconfig: geneve: always place interface in A/D state geneve: use proper variable name
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-31ifconfig: vxlan: change VXLANIf APIChristian Poessinger
2019-12-31ifconfig: geneve: always place interface in A/D stateChristian Poessinger
2019-12-31geneve: use proper variable nameChristian Poessinger
2019-12-30Merge pull request #195 from zdc/T1514Christian Poessinger
FRRouting: T1514: Extended FRR restarting functionality and fixed some bugs
2019-12-30vxlan: T1922: add support for IPv6 underlayChristian 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-31Merge remote-tracking branch 'upstream/current' into T1514zsdc
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-30Merge remote-tracking branch 'upstream/current' into T1514zsdc
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-28Merge branch 'system-migrations' of github.com:c-po/vyos-1x into currentChristian Poessinger
* 'system-migrations' of github.com:c-po/vyos-1x: ipv6: migrate 'system ipv6' subsystem to XML/Python ip: migrate 'system ip' subsystem to XML/Python time-zone: T1906: rename python script to system-timezone.py
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-27FRRouting: T1514: Fix in FRRouting restart commandzsdc
Added saving and restoring current frr.conf to avoid reapplying of configuration from it during reboot.
2019-12-27FRRouting: 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-27Jenkins: support 'master' branch in PipelineChristian Poessinger
2019-12-27Jenkins: add VYOS_REPO_PATH for cruxChristian Poessinger
(cherry picked from commit e2ec9af40f418ba1a5fce1dd56296f873609e06d)
2019-12-27Jenkins: make pipeline branch independentChristian Poessinger
2019-12-26Debian: add fakeroot to Build-DependsChristian Poessinger
2019-12-26xml: remove leading carrot (^) from regex syntaxChristian Poessinger
... as the carrot is applied automatically when reading in the XML definition. Auto replaced by: $ find interface-definitions -type f | xargs sed -i 's/regex>^/regex>/'
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-26gitignore: add VIM *.swp patternChristian Poessinger
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-22wireguard: remove artifical limitation on interface numbersChristian Poessinger
Interface name hould be allowed to exceed wg9999 - there is no reason to limit this.
2019-12-22interfaces: fix tagNode regex constraint (remove ^)Christian Poessinger
2019-12-22lldp: T393: unlink /etc/lldpd.d/01-vyos.conf on service deletionChristian Poessinger
2019-12-22flow-accounting: T1895: add restriction to syslog facilityAntonio Cuñat Alario
2019-12-22Merge branch 't393-lldp-rewrite' of github.com:c-po/vyos-1x into currentChristian Poessinger
* 't393-lldp-rewrite' of github.com:c-po/vyos-1x: lldp: T393: support both ELIN and ccordinate based location service in MED fixup lldp: T393: support IPv6 management address lldp: T393: add Emergency Location Identifier Number (ELIN) support lldp: T393: support parsing MED values lldp: T393: use flat dictionary when generating configs lldp: T393: support listen interfaces lldp: T393: add config options to /etc/lldpd.d lldp: T393: interface disable node must be valueless lldp: T393: first op mode command version lldp: T393: first running version of lldpd lldp: T393: 'snmp enable' must be <valueless/> lldp: T393: legacy-protocols must be <valueless/> Debian: lldp: T393: add lldpd dependency lldp: T393: rename XML interface definition to xml.in Revert "[LLDP] Remove the lldp.xml interface definition to avoid template ..."
2019-12-22lldp: T393: support both ELIN and ccordinate based location service in MEDChristian Poessinger