summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2018-05-15T638: new op mode CLI for the bandwidth monitor commands.Daniil Baturin
2018-05-15T637: new op mode for traffic dumps based on tcpdump.Daniil Baturin
2018-05-15Correct the logic of generating tag nodes for op mode.Daniil Baturin
Unlike conf mode tag nodes, op mode "pseudo-tag nodes" have the real node.def inside the node.tag dir rather than at the top level. The required node.def at the top level is populated with the help string from the real one. A side effect is that commands that take arguments now must have their own words, e.g. "run show arp" and "run show arp eth0" is impossible and has to be "run show arp" and "run show arp interface eth0", which is probably a good thing.
2018-05-14Merge pull request #11 from higebu/add-missing-base-moduleChristian Poessinger
Add missing vyos.base module
2018-05-15Add missing vyos.base moduleYuya Kusakabe
2018-05-14Fix cron interval regex to allow single digit values.Daniil Baturin
2018-05-14Fix misplaces ConfigError exception.Daniil Baturin
2018-05-14Some more valueless fixes.Daniil Baturin
2018-05-14Mark nodes in SSH and NTP valueless (related to T602).Daniil Baturin
2018-05-14T564: initial implementation of the DNS forwarding op mode commands.Daniil Baturin
2018-05-14Move the show version command to the vyos-1x package and refactor it a bit.Daniil Baturin
2018-05-14T633: build integration and minor fixes in the op mode command generator.Daniil Baturin
2018-05-14T602: replace the now-gone type attribute with proper use of constraints in ↵Daniil Baturin
existing interface definitions.
2018-05-14Add some ipaddrcheck-based IP validators.Daniil Baturin
2018-05-14T602: remove support for the type element and correct the logic for setting ↵Daniil Baturin
the type in generated command templates.
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: improve help for access-controlChristian 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: use completionHelp for SSH rather then valueHelpChristian Poessinger
SSH is already probed for some possible values. ALso use completionHelp for available ciphers. In addition drop 'perl' from helper script in favor of 'tr'.
2018-05-12T631: Rewrite SSH configuration as XML interface definitionChristian Poessinger
2018-05-12Add jinja2 and ipaddrcheck to dependencies.Daniil Baturin
2018-05-11T560: refactor the pdns script and switch to jinja2.Daniil Baturin
2018-05-07Merge branch 't623-ntp-rewrite' into currentChristian Poessinger
* t623-ntp-rewrite: Switch to DNS hostnames for NTP servers T623: Rewrite NTP subsystem in new XML style interface definition
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-19Update debian/changelog - 1.0.5Christian Poessinger
2018-04-19T606: Error in DNS Forwarder listen-onChristian Poessinger
By accident "type: txt" was removed from the wrong file...
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-15Merge branch 'powerdns-recursor' into currentChristian Poessinger
* powerdns-recursor: Update debian/changelog - 1.0.4 Makefile: Fix for special nodes not requiring have any 'type' field dns-forwarding: XML: fix indention dns-forwarding: add completion helper for dhcp T560: dns-forwarding: replace dnsmasq with pdns-recursor dns-forwarding: XML: Bugfix DNS domain forward configuration nodes dns-forwarding.py: add missing 'query-all-servers' path Initial working version for XML interface to configure dnsmasq Initial CLI interface support for XML DNS forwarder
2018-04-15Update debian/changelog - 1.0.4Christian Poessinger
2018-04-15Makefile: Fix for special nodes not requiring have any 'type' fieldChristian Poessinger
... this is due to the fact that the XML generator will always add "type: txt" to node.def files if no other type has been especially defined. This will break the following commands * set service dns forwarding system * set service dns forwarding ignore-hosts-file because they will now have "type: txt" in their node.def file and this will break the CLI commands. "type: txt" requires an argument but those nodes did not in the past.
2018-04-15dns-forwarding: XML: fix indentionChristian Poessinger
2018-04-15dns-forwarding: add completion helper for dhcpChristian Poessinger
cpo@LR1# set service dns forwarding dhcp Possible completions: <text> Use nameservers received from DHCP server for specified interface eth0 eth1 lo
2018-04-15T560: dns-forwarding: replace dnsmasq with pdns-recursorChristian Poessinger
2018-04-15dns-forwarding: XML: Bugfix DNS domain forward configuration nodesChristian Poessinger
... tagNode and leafNode types not configured. Set to 'txt' for tagNode and 'ipv4,ipv6' for leafNode
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-02-28Fix return_values function (return a list instead of a raw string).Daniil Baturin