summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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.
2020-04-06lldp: use vyos.version over handcrafted open().read().split() codeChristian Poessinger
2020-04-06ipsec: T2230: bugfix rewriting Jinja2 codeChristian Poessinger
Commit dbc174d ("ipsec: T2230: move inlined templates to dedicated files") did not alter existing code which was used for template processing.
2020-04-05Merge pull request #306 from alainlamar/T2233Christian Poessinger
wireless: T2233: bugfix: Typos in Jinja2 syntax
2020-04-05ipsec: T2230: move inlined templates to dedicated filesChristian Poessinger
2020-04-05salt-minion: T2230: move inlined templates to dedicated filesChristian Poessinger
2020-04-05pim: T2230: move inlined templates to dedicated filesChristian Poessinger
2020-04-05mpls: T2230: move inlined templates to dedicated filesChristian Poessinger
2020-04-05igmp: T2230: move inlined templates to dedicated filesChristian Poessinger
2020-04-05ipoe-server: T2230: move inlined templates to dedicated filesChristian Poessinger
2020-04-05pppoe-server: T2230: move inlined templates to dedicated filesChristian Poessinger
2020-04-05pptp: T2230: move inlined templates to dedicated filesChristian Poessinger
2020-04-05router-advert: T2230: move inlined templates to dedicated filesChristian Poessinger
2020-04-05system-login: T2230: move inlined templates to dedicated filesChristian Poessinger
2020-04-05wifi-regdom: T2230: move inlined templates to dedicated filesChristian Poessinger
2020-04-05vrrp: T2230: convert template from dos to unix line endingsChristian Poessinger
2020-04-05https: T2230: convert template from dos to unix line endingsChristian Poessinger
2020-04-05mdns-repeater: T2230: convert template from dos to unix line endingsChristian Poessinger