summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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
2020-04-05vrf: T2230: move inlined templates to dedicated filesChristian Poessinger
2020-04-05bfd: T2230: move inlined templates to dedicated filesChristian Poessinger
2020-04-05wireless: T2233: bugfix: Typos in Jinja2 syntaxAlain Lamar
2020-04-05tftp-server: T2230: move inlined templates to dedicated filesChristian Poessinger
2020-04-05mdns-repeater: T2230: move inlined templates to dedicated filesChristian Poessinger
2020-04-05https: T2230: move inlined templates to dedicated filesChristian Poessinger
2020-04-05igmp-proxy: T2230: move inlined templates to dedicated filesChristian Poessinger
2020-04-05dynamic-dns: T2230: move inlined templates to dedicated filesChristian Poessinger
2020-04-05syslog: T2230: move inlined templates to dedicated filesChristian Poessinger
2020-04-05broadcast-relay: T2230: move inlined templates to dedicated filesChristian Poessinger
2020-04-05openvpn: improve value help on ipfixChristian Poessinger
2020-04-05flow-accounting: improve value help on ipfixChristian Poessinger
2020-04-05flow-accounting: T2230: move inlined templates to dedicated filesChristian Poessinger
2020-04-05lldp: T2230: move inlined templates to dedicated filesChristian Poessinger
2020-04-05snmp: T2230: move inlined templates to dedicated filesChristian Poessinger
2020-04-05sstp: T2230: add Jinja2 trim_blocks Environment optionChristian Poessinger
2020-04-05ssh: T2230: add Jinja2 trim_blocks Environment optionChristian Poessinger