Age | Commit message (Collapse) | Author | |
---|---|---|---|
2020-04-06 | util: T2226: rewrite gen sh key to use run,cmd | Thomas Mangin | |
2020-04-06 | util: T2226: rewrite flow acct to use run,cmd | Thomas Mangin | |
2020-04-06 | util: T2226: rewrite reset openvpn to use cmd | Thomas Mangin | |
2020-04-06 | util: T2226: rewrite show acceleration to use popen | Thomas Mangin | |
2020-04-06 | util: T2226: rewrite restart frr to use run | Thomas Mangin | |
2020-04-06 | util: T2226: rewrite show vpn to use popen | Thomas Mangin | |
2020-04-06 | util: T2226: rewrite show vrf to use cmd | Thomas Mangin | |
2020-04-06 | util: T2226: rewrite show wireless to use popen | Thomas Mangin | |
2020-04-06 | util: T2226: rewrite ifmib to use popen | Thomas Mangin | |
2020-04-06 | util: T2226: rewrite system integrity to use cmd, run | Thomas Mangin | |
2020-04-06 | util: T2226: rewrite version oper to use cmd, run | Thomas Mangin | |
2020-04-06 | util: T2226: rewrite wireguard oper to use run | Thomas Mangin | |
2020-04-06 | util: T2226: rewrite keepalived to use cmd | Thomas Mangin | |
2020-04-06 | util: T2226: rewrite op lldp to use popen | Thomas Mangin | |
2020-04-06 | util: T2226: rewrite format disk to use cmd | Thomas Mangin | |
2020-04-06 | util: T2226: rewrite dns forwarding to use cmd | Thomas Mangin | |
2020-04-06 | util: T2226: rewrite clear conntrack to use cmd | Thomas Mangin | |
2020-04-06 | util: T2226: rewrite 12-to-13 to use cmd | Thomas Mangin | |
2020-04-06 | util: T2226: rewrite merge config to use cmd | Thomas Mangin | |
2020-04-06 | util: T2226: rewrite load config to use cmd | Thomas Mangin | |
2020-04-06 | util: T2226: rewrite bridge to use cmd (see comment in code) | Thomas Mangin | |
2020-04-06 | util: T2226: rewrite boot config loader to use cmd | Thomas Mangin | |
2020-04-06 | util: T2226: rewrite config migration to use cmd | Thomas Mangin | |
2020-04-06 | util: T2226: rewrite resume-vm to use run | Thomas Mangin | |
2020-04-06 | util: T2226: rewrite cert to use cmd | Thomas Mangin | |
2020-04-06 | util: T2226: rewrite vrrp to use run | Thomas Mangin | |
2020-04-06 | util: T2226: rewrite syslog to use run | Thomas Mangin | |
2020-04-06 | util: T2226: rewrite certbot to use cmd | Thomas Mangin | |
Previously failures of mkpasswd would not be reported to users | |||
2020-04-06 | util: T2226: rewrite certbot to use cmd | Thomas Mangin | |
2020-04-06 | util: T2226: rewrite wirelessmodem to use cmd | Thomas Mangin | |
2020-04-06 | util: T2226: rewrite wireless to use run (should be cmd) | Thomas Mangin | |
cmd is not used as with not wireless adaptor wireless testing fails | |||
2020-04-06 | util: T2226: rewrite wireguard to use cmd | Thomas Mangin | |
2020-04-06 | util: T2226: rewrite pppoe to use cmd | Thomas Mangin | |
2020-04-06 | util: T2226: rewrite openvpn to use cmd | Thomas Mangin | |
2020-04-06 | util: T2226: rewrite qat to use run vyos.util | Thomas Mangin | |
2020-04-06 | util: T2226: rewrite http to use cmd | Thomas Mangin | |
2020-04-06 | util: T2226: rewrite flow accounting to use cmd | Thomas Mangin | |
The failure are now reported slightly differently using the cmd "raising" feature which will allow down the line to intercept the issue and present them better to the user | |||
2020-04-06 | util: T2226: rewrite arp to use cmd | Thomas Mangin | |
2020-04-06 | util: T2226: rewrite accel ppp reset to use cmd | Thomas Mangin | |
2020-04-06 | util: T2226: rewrite conf accel-ppp commands to use cmd | Thomas Mangin | |
2020-04-06 | util: T2226: rewrite timezone validator to use cmd | Thomas Mangin | |
2020-04-06 | util: T2226: rewrite system host-name to use cmd | Thomas Mangin | |
Previously any failure to set the hostname would have been ignored. Part of the convertion, if the change fail, the commit will fail too. | |||
2020-04-06 | util: T2226: rewrite list_local to use cmd | Thomas Mangin | |
2020-04-06 | util: T2226: rewrite list_dumpable_interfaces to use cmd | Thomas Mangin | |
2020-04-06 | util: T2226: rewrite remote function helpers to use cmd | Thomas Mangin | |
2020-04-06 | util: T2226: rewrite WireGuardIf to use cmd | Thomas Mangin | |
2020-04-06 | util: T2226: rewrite EthernetIf.feature to use cmd | Thomas Mangin | |
2020-04-06 | util: T2226: rewrite make_password_hash to use cmd | Thomas Mangin | |
2020-04-06 | util: T2226: covert most calls from os.system to util | Thomas Mangin | |
As little change a possible but the function call The behaviour should be totally unchanged. | |||
2020-04-06 | util: T2226: improve popen, cmd and add run | Thomas Mangin | |
improves open and cmd adds a new help function run. the extra optional arguments provide all the features of subprocess used by every module of VyOS. popen matches closely subprocess.Popen cmd matches closely subprocess.check_output run matches closely subprocess.call and os.system popen returns the string and errord code cmd returns the string and raise on error (the class can be defined the default is OSError) run returns the return code of the command the options are: shell=None, the code auto-detect is a shell is required decode=None, use .decode() otherwise the encoding will be used env=None, universal_newlines=None: as per subprocess.Popen input=None, timeout=None, stdout=PIPE, stderr=STDOUT, as per Popen.communicate |