summaryrefslogtreecommitdiff
path: root/src/op_mode
AgeCommit message (Collapse)Author
2020-05-16nat: T2198: migrate "show nat" commands to XML and PythonChristian Poessinger
- "show nat source|destination statistics" is now implemented in Python - "show nat source|destination rules" needs a new implementation, see T2459 - "show nat source|destination translations" has been copied over from the old repo and is here until it is rewritten, this was not possible for "rules" as there would have been too much dependencies. This one only requires libxml-simple-perl
2020-05-15T2467: Restarting of service needs `sudo`kroy-the-rabbit
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-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-23pppoe: T2223: report the state of pppoe intfThomas Mangin
2020-04-22Merge pull request #360 from thomas-mangin/T2186-syslogChristian Poessinger
airbag: T2186: generic syslog and better text
2020-04-21vrrp: T2331: fix show vrrpThomas Mangin
2020-04-20op-mode: dhcp: T2316: bugfix TypeErrorChristian Poessinger
Commit d4b1bc0b ("op-mode: dhcp/dhcpv6: T2268: prettify output for invalid input") uses a different API which caused a TypeError. TypeError: get_leases() missing 1 required positional argument: 'leases'
2020-04-20airbag: T2186: improve information reportedThomas Mangin
2020-04-20dns-forwarding: T2255: Fix op-mode errorsever-sever
2020-04-18Merge pull request #356 from jjakob/dhcp-op-fixChristian Poessinger
op-mode: dhcp/dhcpv6: T2268: prettify output for invalid input
2020-04-18interfaces: T2320: correctly honour create and debug optionsThomas Mangin
2020-04-18op-mode: dhcp/dhcpv6: T2268: prettify output for invalid inputJernej Jakob
2020-04-17Merge pull request #341 from thomas-mangin/T2223Christian Poessinger
op_mode: T2223: convert vyatta-show-interfaces.pl to show_interfaces.py
2020-04-16l2tp: T2256: Add op control scriptDmitriyEshenko
2020-04-16T2305: include release train in "show version" outputChristian Poessinger
2020-04-15dns-forwarding: T2298: fix path to control fileChristian Poessinger
After migrating PowerDNS to systemd and also its configuration files to a volatile directory in commit 77d725f ("dns-forwarding: T2185: move configuration files to volatile /run directory") the path for the control file has not been altered and pushed to the client rec_control binary"
2020-04-14Merge pull request #344 from DmitriyEshenko/ipoe-opChristian Poessinger
ipoe: T2256: Rewrite op-mode commands
2020-04-14ipoe: T2256: Rewrite op-mode commandsDmitriyEshenko
2020-04-14op_mode: T2223: two cosmetic change and bug fixThomas Mangin
2020-04-14op_mode: T2223 python version of show_interfacesThomas Mangin
2020-04-14ifconfig: T2223: group all operational commandsThomas Mangin
All operational command are moved within an Operational class and an inherited on for wireguard.
2020-04-14vrrp: T2223: move VRRP within ifconfigThomas Mangin
Tidied up the code and moved it under VRRP in view to use with show-interface (which has VRRP filtering) No change in functionality
2020-04-13op-mode: ddclient: T2185: adjust cache file pathChristian Poessinger
2020-04-13op-mode: ssh: T2185: explicitly specify systemd serviceChristian Poessinger
2020-04-13op-mode: ddclient: T2185: explicitly specify systemd serviceChristian Poessinger
2020-04-13op-mode: T2185: adjust flow-accounting systemd service nameChristian Poessinger
2020-04-13op-mode: T2185: adjust restart dhcpv4/v6 systemd service nameChristian Poessinger
2020-04-13op-mode: T2185: adjust dhcpv4/v6 systemd service nameChristian Poessinger
2020-04-13op-mode: dns-forwarding: T2185: migrate from SysVinit to systemdChristian Poessinger
2020-04-12op-mode: openvpn: T2273: migrate from SysVinit to systemdChristian Poessinger
2020-04-11util: T2226: do not use 2> but DEVNULLThomas Mangin
2020-04-11util: T2226: do not use universal_newlinesThomas Mangin
2020-04-11util: T2226: send shutdown stdout back to the programThomas Mangin
The previous code conversion did not match the previous code.
2020-04-10sstp: T2263: Implement reset featureDmitriyEshenko
2020-04-10pptp: l2tp: T2262: Fix call to function run()DmitriyEshenko
2020-04-09util: T2226: os.system was wrongly converted to runThomas Mangin
os.system does print the ouput of the command, run() does not. A new function called call() does the printing and return the error code.
2020-04-08wireguard: T2226: fix generation of pskChristian Poessinger
Commit 264e0059449 ("util: T2226: rewrite wireguard oper to use run") changed the code on PSK key generation, but the generated key must be output to stdout.
2020-04-08op-mode: lldp: T2246: check if service is configuredChristian Poessinger
2020-04-08op-mode: dns: forwarding: cleanupChristian Poessinger
2020-04-06util: T2226: rewrite powerctl to use run,cmdThomas Mangin
2020-04-06util: T2226: rewrite gen sh key to use run,cmdThomas Mangin
2020-04-06util: T2226: rewrite flow acct to use run,cmdThomas Mangin
2020-04-06util: T2226: rewrite reset openvpn to use cmdThomas Mangin
2020-04-06util: T2226: rewrite show acceleration to use popenThomas Mangin
2020-04-06util: T2226: rewrite restart frr to use runThomas Mangin
2020-04-06util: T2226: rewrite show vpn to use popenThomas Mangin