summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2020-02-05service https: T1585: add support for letsencrypt certificatesJohn Estabrook
2020-02-04http api T2013: remove default key if user api_keys are setJohn Estabrook
2020-01-31bond: T1992: only tear down interface if it's really requiredChristian Poessinger
Without this change the bond interface is always torn down prior changing it's parameters. This will also reset BGP sessions on other VLAN interfaces which is more then bad. This change will only tear down the interface when it is really required, indicated by bond['shutdown_required'], which is required by certain operations as e.g. changing the operating mode.
2020-01-30vpn-pptp: pep8 formattedhagbard
2020-01-30vpn-pptp: adjusting name schemeshagbard
2020-01-30vpn-pptp: T1768 vyos.config rewritehagbard
2020-01-30lldp: T1896: bugfix SyntaxError: invalid syntaxChristian Poessinger
Commit 66f8be0 ("lldp: T1896: remove MED civic based location information") removed MED civic location support, but there was an error in an if/elif statement. This has been fixes. File "/usr/libexec/vyos/conf_mode/lldp.py", line 191 elif len(location['coordinate_based']) > 0: ^ SyntaxError: invalid syntax
2020-01-30snmp: T1575: Fix typoJohn Estabrook
2020-01-30Merge branch 't1896-remove-lldp-civic' of github.com:c-po/vyos-1x into currentChristian Poessinger
* 't1896-remove-lldp-civic' of github.com:c-po/vyos-1x: lldp: T1896: remove MED civic based location information
2020-01-29lldp: T1994: fix jinja template to listen on specified interfacesbbs2web
Signed-off-by: bbs2web <bbs2web@hotmail.com>
2020-01-26service-ipoe: rename scripts and schemeshagbard
2020-01-26IPoE: T1767: vyos.config rewritehagbard
2020-01-26wireguard: T1765: vyos.config functions rewritehagbard
2020-01-26lldp: T1896: remove MED civic based location informationChristian Poessinger
Civic based location information was not working for quiet some time and as an unused feature we should drop it to keep the codebase more simple and maintainable.
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