summaryrefslogtreecommitdiff
path: root/src/conf-mode
AgeCommit message (Collapse)Author
2018-05-15Merge remote-tracking branch 'upstream/current' into currentChristian Poessinger
* upstream/current: Do not try to decode data read from /sys files in the show version script, it's already an str. Dependencies on file and pystache, for install and show version scripts.. Add dependency on hvinfo, too. T637, T638: add dependencies on tcpdump and bmon. T638: new op mode CLI for the bandwidth monitor commands. T637: new op mode for traffic dumps based on tcpdump. Correct the logic of generating tag nodes for op mode. Add missing vyos.base module Fix cron interval regex to allow single digit values. Fix misplaces ConfigError exception. Some more valueless fixes. Mark nodes in SSH and NTP valueless (related to T602).
2018-05-15bugfix: vyos-config-dns-forwarding.py: adding name-server into dictionaryChristian Poessinger
2018-05-15bugfix: remove whitespaces in generated 'powerdns/recursor.conf'Christian Poessinger
2018-05-14Fix misplaces ConfigError exception.Daniil Baturin
2018-05-13T623: refactor NTP script and switch to jinja2Christian Poessinger
2018-05-13Merge branch 'ssh-rewrite' into currentChristian Poessinger
* ssh-rewrite: T631: small bugfix in config parsind for deny-users T631: improve help for access-control T631: refactor SSH script and switch to jinja2 T631: first full generated config file with XML and Python T631: use completionHelp for SSH rather then valueHelp T631: Rewrite SSH configuration as XML interface definition
2018-05-13T631: small bugfix in config parsind for deny-usersChristian Poessinger
2018-05-13T631: refactor SSH script and switch to jinja2Christian Poessinger
2018-05-12T560: bugfix access to NoneType objectChristian Poessinger
Commit f1bbc20716 ("Add jinja2 and ipaddrcheck to dependencies.") introduced access to a NoneType object when the service was removed. This happened after: $ delete service dns forwarding $ commit File "/opt/vyatta/sbin/vyos-config-dns-forwarding.py", line 201, in <module> verify(c) File "/opt/vyatta/sbin/vyos-config-dns-forwarding.py", line 164, in verify if not dns['interfaces']: TypeError: 'NoneType' object is not subscriptable
2018-05-12vyos-config-dns-forwarding.py remote obsolete 'import time'Christian Poessinger
2018-05-12T631: first full generated config file with XML and PythonChristian Poessinger
2018-05-12T631: Rewrite SSH configuration as XML interface definitionChristian Poessinger
2018-05-11T560: refactor the pdns script and switch to jinja2.Daniil Baturin
2018-05-07Switch to DNS hostnames for NTP serversChristian Poessinger
2018-05-06T623: Rewrite NTP subsystem in new XML style interface definitionChristian Poessinger
2018-05-06T622: PDNS does not export /etc/hosts entriesChristian Poessinger
2018-04-19broadcast-relay: bugfix writing daemon config fileChristian Poessinger
2018-04-19broadcast-relay: bugfix loading configuration into list []Christian Poessinger
2018-04-19mdns-repeater: ensure list [] when retrieving interfacesChristian Poessinger
2018-04-15dns-forwarding.py: be more tolerant on missconfigured DHCP sourceChristian Poessinger
If a user configures 'set service dns forwarding dhcp <if>' and <if> is not a DHCP interface, this won't corrupt the recursor.conf. The missconfiguration is simply ignored.
2018-04-15T560: dns-forwarding: replace dnsmasq with pdns-recursorChristian Poessinger
2018-04-15dns-forwarding.py: add missing 'query-all-servers' pathChristian Poessinger
2018-04-15Initial working version for XML interface to configure dnsmasqChristian Poessinger
2018-04-15Initial CLI interface support for XML DNS forwarderChristian Poessinger
2018-04-15mdns-repeater: bugfix python scriptChristian Poessinger
2018-03-02T379: rename bcast-relay to broadcast-relay.Daniil Baturin
2018-01-06mdns-repeater: Remove Python subprocess importsChristian Poessinger
2018-01-05bcast-relay: Initial configuration nodes for 'service bcast-relay'Christian Poessinger
2017-12-10mdns-repeater: use consistent naming of 'interface' nodeChristian Poessinger
2017-12-09Drop call to 'service' wrapper in 'vyos-config-mdns-repeater.py'Christian Poessinger
Using 'service' as wrapper to start system services is no longer necessary, hence use the full systemd command.
2017-12-09Add 'vyos-update-mdns-repeater.py' functionalityChristian Poessinger
2017-12-09Initial interface description for 'mdns repeater'Christian Poessinger
2017-09-20T393: Migrate vyatta-lldpd to vyos-1xTaniadz
2017-09-08Separate VyOSError and ConfigError.Daniil Baturin
VyOSError is now only raised on improper config operations and internal errors, such as trying to use a function on a wrong kind of node. ConfigError should be used by scripts to indicate configuration mistakes and error conditions.
2017-09-08Better checks in the cron script.Daniil Baturin
Check if crontab exists before trying to delete it. Fail commit if executable is not defined in the task.
2017-09-08Rename the cron script to not mention Vyatta anymore.Daniil Baturin
2017-09-08Restructure the cron script and fix bugs.Daniil Baturin
Do not inherit from the Config class, it only made things more complicated. Remove the sys.path.append that was made necessary by using partial paths where full paths are expected. Exit with 1 (to make commit fail properly) if VyOSError is raised. Replace the OO representation of cron jobs with simple hashes: the format is not expected to grow any more complex and encapsulation will hardly be necessary (though if one can think of a good OO design for this, it's welcome). Do not mix config reading and validation to enable changing the syntax without changing any of the code but get_config()
2017-08-27adding validate(), generate(), apply() to vyatta-update-crontab.pyTaniadz
2017-08-23adding vyatta-update-crontab.pyTaniadz