summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2020-04-30dhcpv6-server: T2406: add lease-time validator to XMLChristian Poessinger
2020-04-30dhcpv6-server: T2406: migrate from string to list when reading configChristian Poessinger
2020-04-30dhcpv6-server: T2406: move FQDN quoting to Jinja2 templateChristian Poessinger
... no need to reinvent the wheel in our Python code.
2020-04-30dhcpv6-server: T2406: merge sip-server-{address,name} to sip-server nodeChristian Poessinger
The subnet specific nodes sip-server-address & sip-server-name do the same for the user - specify a SIP server. Only the backend is rendered in a different way, as ISC DHCPv6 expects different options. There is absolutely no need for the user to distinguish between both two nodes.
2020-04-30dhcpv6-server: T2185: bugfix starting DHCPv6 serverChristian Poessinger
2020-04-29pppoe: template: T2388: fix unexpected keyword argumentChristian Poessinger
Commit 2bf12b579e0 ("template: T2388: move mkdir/chmod/chown within render()") passed an unexpected keyword to the render() function, it was simply wrongly spelled.
2020-04-29dhclient: T2393: switch to old configuration path to keep existing op-mode ↵Christian Poessinger
tolls intact
2020-04-29Merge branch 'systemd-dhclient' of github.com:c-po/vyos-1x into currentChristian Poessinger
* 'systemd-dhclient' of github.com:c-po/vyos-1x: dhclient: T2393: remove intermediate _DHCP helper class dhclient6: T2393: T2394: migrate from SysVinit to systemd dhclient: T2393: migrate from SysVinit to systemd
2020-04-28dhclient: T2393: remove intermediate _DHCP helper classChristian Poessinger
The intermedite class only held the path to the configuration files - thus its existence was doubtworthy. For better readability and a clean inheritance graph that class has been dropped.
2020-04-28dhclient6: T2393: T2394: migrate from SysVinit to systemdChristian Poessinger
2020-04-28dhclient: T2393: migrate from SysVinit to systemdChristian Poessinger
2020-04-27powerctl: T2010: bugfix "TypeError: 'NoneType' object is not subscriptable"Christian Poessinger
Commit d6384b2 ("powerctl: T2010: report reboot time in current timezone") added a migrator from UTC to local timezone but reading in the base value up for conversion was done outside the proper if/else clause leading to a: TypeError: 'NoneType' object is not subscriptable
2020-04-27template: T2388: fix typoJohn Estabrook
2020-04-27Merge pull request #382 from DmitriyEshenko/fix-pppoe-sesctrlChristian Poessinger
pppoe-server: T2391: Migrate single-session param to [common] section
2020-04-27Merge pull request #381 from thomas-mangin/T2388Christian Poessinger
template: T2388: move mkdir/chmod/chown within render()
2020-04-27Merge pull request #379 from thomas-mangin/T2226-improveChristian Poessinger
util: T2226: multiple improvements
2020-04-27Merge pull request #377 from L6NqLW/T1381Christian Poessinger
dhclient: T1381: Improved RFC3442 routes processing
2020-04-27pppoe-server: T2391: Migrate single-session param to [common] sectionDmitriyEshenko
2020-04-27template: T2388: move mkdir/chmod/chown within render()Thomas Mangin
2020-04-27Merge pull request #380 from thomas-mangin/T2379Christian Poessinger
dhcp: T2379: fix dhcp stop
2020-04-26dhcp: T2379: fix dhcp stopThomas Mangin
2020-04-26util: T2226: a way to report noteworthy eventThomas Mangin
debug.noteworthy can be used to record noteworhy event during the lifetime of the program. Should anything then cause the program to fail and cause an airbag report to the user, then this information will also be included.
2020-04-26util: T2226: expected return code for cmdThomas Mangin
add an option to cmd() allowing to define a list of error codes which are expected when runnin the command. the default is only to expect zero (no error).
2020-04-26util: T2226: better handle stderrThomas Mangin
Do not agreggate stderr with stdout. So if a command reports a message on stderr but does not report an error, it will not be send to the user to confuse him. Explicitely set encoding to utf-8, which does not change the code behaviour but simplify the code.
2020-04-26Merge branch 'powerctl-t2010' of github.com:c-po/vyos-1x into currentChristian Poessinger
* 'powerctl-t2010' of github.com:c-po/vyos-1x: powerctl: T2010: fix "wall" complaining about inapproriate ioctl powerctl: T2010: report reboot time in current timezone powerctl: import less powerctl: T2010: reformat with autopep8
2020-04-26powerctl: T2010: fix "wall" complaining about inapproriate ioctlChristian Poessinger
wall: cannot get tty name: Inappropriate ioctl for device - script is run in the background where there is normally no tty available - silently discard this warning.
2020-04-26powerctl: T2010: report reboot time in current timezoneChristian Poessinger
Do not inform the user when the reboot will happen in UTC, use the local timezone instead.
2020-04-26powerctl: import lessChristian Poessinger
2020-04-26powerctl: T2010: reformat with autopep8Christian Poessinger
2020-04-26dhclient: T1381: Improved RFC3442 routes processingGabriel Skupien
Several improvements in processing RFC3442 routes (support for route deletion, DHCP RENEW and link-local routes)
2020-04-26salt: T2382: run as user minionChristian Poessinger
2020-04-26salt: T2385: xml: improve help of id and master-keyChristian Poessinger
2020-04-26salt: T2385: xml: improve completion helpers in intervalChristian Poessinger
2020-04-26Merge branch 'salt' of github.com:c-po/vyos-1x into currentChristian Poessinger
* 'salt' of github.com:c-po/vyos-1x: salt: T2384: migrate config options salt: T2385: XML: improve completion helpers on hash_type salt: T2384: always log to syslog Revert "salt: T2382: id and master nodes are mandatory - use in verify()" salt: T2382: ease config generation salt: T2382: migrate get_config() to list items salt: T2382: id and master nodes are mandatory - use in verify() salt: T2382: add missing verify() salt: T2382: XML: run as user nobody salt: T2382: XML: add proper valueHelp and validators for master salt: T2382: add missing dependency on salt-minion
2020-04-26salt: T2384: migrate config optionsChristian Poessinger
- delete log_file, log_level and user nodes - rename hash_type to hash - rename mine_interval to interval
2020-04-26salt: T2385: XML: improve completion helpers on hash_typeChristian Poessinger
2020-04-26salt: T2384: always log to syslogChristian Poessinger
2020-04-26Revert "salt: T2382: id and master nodes are mandatory - use in verify()"Christian Poessinger
This reverts commit 2102c7c318ef02f3506a8d3003ed1d41a04b190e.
2020-04-26salt: T2382: ease config generationChristian Poessinger
2020-04-26salt: T2382: migrate get_config() to list itemsChristian Poessinger
2020-04-26salt: T2382: id and master nodes are mandatory - use in verify()Christian Poessinger
2020-04-26salt: T2382: add missing verify()Christian Poessinger
2020-04-26salt: T2382: XML: run as user nobodyChristian Poessinger
2020-04-26salt: T2382: XML: add proper valueHelp and validators for masterChristian Poessinger
2020-04-26salt: T2382: add missing dependency on salt-minionChristian Poessinger
2020-04-25login: radius: T2304: add VRF supportChristian Poessinger
This allows the radius client to work when a management VRF is in use.
2020-04-24Merge pull request #376 from thomas-mangin/T2377Christian Poessinger
log: T2377: do not modify log file if not 666
2020-04-24wireguard: T2375: if either peer address or port is present - so must be the ↵Christian Poessinger
other
2020-04-24wireguard: T2244: rename lport to listen_portChristian Poessinger
2020-04-24log: T2377: do not modify log file if not 666Thomas Mangin