summaryrefslogtreecommitdiff
path: root/src/op_mode
AgeCommit message (Collapse)Author
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-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
2020-04-06util: T2226: rewrite show vrf to use cmdThomas Mangin
2020-04-06util: T2226: rewrite show wireless to use popenThomas Mangin
2020-04-06util: T2226: rewrite ifmib to use popenThomas Mangin
2020-04-06util: T2226: rewrite system integrity to use cmd, runThomas Mangin
2020-04-06util: T2226: rewrite version oper to use cmd, runThomas Mangin
2020-04-06util: T2226: rewrite wireguard oper to use runThomas Mangin
2020-04-06util: T2226: rewrite op lldp to use popenThomas Mangin
2020-04-06util: T2226: rewrite format disk to use cmdThomas Mangin
2020-04-06util: T2226: rewrite dns forwarding to use cmdThomas Mangin
2020-04-06util: T2226: rewrite clear conntrack to use cmdThomas Mangin
2020-04-06util: T2226: rewrite accel ppp reset to use cmdThomas Mangin
2020-04-06util: T2226: covert most calls from os.system to utilThomas Mangin
As little change a possible but the function call The behaviour should be totally unchanged.
2020-04-04Merge pull request #302 from thomas-mangin/T2190Christian Poessinger
ifconfig: T2190: option to prevent Interface creation
2020-04-04openvpn: T2184: skip unactive interfaceThomas Mangin
Should the openvpn status file not be present, present a blank interface.
2020-04-04ifconfig: T2190: option to prevent Interface creationThomas Mangin
a new option was added to the Interface class "create". By default the value is set to True, and when an instance of the class is created and the underlying interface does not exists, the class will create it. If the option "create" is set to False, the interface will not be created and instead the class will raise an error when it is instantiated.
2020-04-02VRRP: T2193: Added disabled VRRP instances to `show vrrp`zsdc
Disabled VRRP instances will be listed in a `show vrrp` command at the end of the list with the DISABLED status
2020-03-31Merge pull request #283 from thomas-mangin/T2057-wg-dumpChristian Poessinger
ifconfig: T2057: Move code from interface.py to wireguard.py
2020-03-31ifconfig: T2057: centralise wireguard codeThomas Mangin
Some left over wireguard code was left in the interface.py file. The code was moved into the wireguard.py file and the now empty interface.py file removed as no longer holdin any code.
2020-03-29vyos.util: increase usage of process_running() and remove duplicated codeChristian Poessinger
OpenVPN, WIFI, SSTP all had the same boiler plate copied about checking if a process associated with a pidfile is running or not. This has been migrated to the common library function vyos.util.process_running().
2020-03-23ifconfig: T2154: fixing failure to start-stop-daemonThomas Mangin
2020-03-09openvpn: T2065: pass daemon parameter to start-stop-daemon in op-modeChristian Poessinger
Commit cd2147cfa2 ("openvpn: T2065: move daemon parameter to start-stop-daemon commandline") only added the cfg-mode part but missed out op-mode.
2020-03-08vrf: T31: add member interfaces to 'show ver' outputChristian Poessinger
VRF name state mac address flags interfaces -------- ----- ----------- ----- ---------- blue up de:c4:83:d8:74:24 noarp,master,up,lower_up dum200,eth0.302 red up be:36:ce:02:df:aa noarp,master,up,lower_up dum100,eth0.300,bond0.100,peth0
2020-03-04vrf: T31: remove superfluous vyos.vrf library functionsChristian Poessinger
vyos.vrf.list_vrfs() was only used in one function thus building a library is no longer needed. If it is needed in the future it should be placed into a library again.
2020-03-04vrf: T31: make 'show vrf' command behave like other 'show interface commands'Christian Poessinger
- remove the additional depth for querying discrete VRF names - retrieve available VRF names from via <path> from CLI rather then invoking an external script