summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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 keepalived to use cmdThomas 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 12-to-13 to use cmdThomas Mangin
2020-04-06util: T2226: rewrite merge config to use cmdThomas Mangin
2020-04-06util: T2226: rewrite load config to use cmdThomas Mangin
2020-04-06util: T2226: rewrite bridge to use cmd (see comment in code)Thomas Mangin
2020-04-06util: T2226: rewrite boot config loader to use cmdThomas Mangin
2020-04-06util: T2226: rewrite config migration to use cmdThomas Mangin
2020-04-06util: T2226: rewrite resume-vm to use runThomas Mangin
2020-04-06util: T2226: rewrite cert to use cmdThomas Mangin
2020-04-06util: T2226: rewrite vrrp to use runThomas Mangin
2020-04-06util: T2226: rewrite syslog to use runThomas Mangin
2020-04-06util: T2226: rewrite certbot to use cmdThomas Mangin
Previously failures of mkpasswd would not be reported to users
2020-04-06util: T2226: rewrite certbot to use cmdThomas Mangin
2020-04-06util: T2226: rewrite wirelessmodem to use cmdThomas Mangin
2020-04-06util: 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-06util: T2226: rewrite wireguard to use cmdThomas Mangin
2020-04-06util: T2226: rewrite pppoe to use cmdThomas Mangin
2020-04-06util: T2226: rewrite openvpn to use cmdThomas Mangin
2020-04-06util: T2226: rewrite qat to use run vyos.utilThomas Mangin
2020-04-06util: T2226: rewrite http to use cmdThomas Mangin
2020-04-06util: T2226: rewrite flow accounting to use cmdThomas 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-06util: T2226: rewrite arp to use cmdThomas Mangin
2020-04-06util: T2226: rewrite accel ppp reset to use cmdThomas Mangin
2020-04-06util: T2226: rewrite conf accel-ppp commands to use cmdThomas Mangin
2020-04-06util: T2226: rewrite timezone validator to use cmdThomas Mangin
2020-04-06util: T2226: rewrite system host-name to use cmdThomas 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-06util: T2226: rewrite list_local to use cmdThomas Mangin
2020-04-06util: T2226: rewrite list_dumpable_interfaces to use cmdThomas Mangin
2020-04-06util: T2226: rewrite remote function helpers to use cmdThomas Mangin
2020-04-06util: T2226: rewrite WireGuardIf to use cmdThomas Mangin
2020-04-06util: T2226: rewrite EthernetIf.feature to use cmdThomas Mangin
2020-04-06util: T2226: rewrite make_password_hash 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-06util: T2226: improve popen, cmd and add runThomas 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
2020-04-06Merge pull request #297 from sever-sever/clear-igmpChristian Poessinger
igmp: T2156:[op-mode] Add clear for igmp/multicast
2020-04-06igmp: T2151:[op-mode] Add clear for igmp/multicastsever-sever
2020-04-06ipsec: T2230: bugfix code cleanupChristian Poessinger
Commit dbc174d ("ipsec: T2230: move inlined templates to dedicated files") did not remove an inlined function.