summaryrefslogtreecommitdiff
path: root/src/conf_mode
AgeCommit message (Collapse)Author
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-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-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-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-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-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-30l2tp: T1858: Delete deprecated outside-nexthopDmitriyEshenko
2019-12-29l2tp: T1918: Add check and create tunnels folderDmitriyEshenko
2019-12-28ipv6: T1915: remove 'system ipv6 blacklist'Christian Poessinger
2019-12-28ipv6: T1912: remove debug print()Christian Poessinger