Age | Commit message (Collapse) | Author | |
---|---|---|---|
2020-04-11 | util: T2226: do not use 2> but DEVNULL | Thomas Mangin | |
2020-04-11 | util: T2226: do not use universal_newlines | Thomas Mangin | |
2020-04-11 | util: T2226: send shutdown stdout back to the program | Thomas Mangin | |
The previous code conversion did not match the previous code. | |||
2020-04-10 | sstp: T2263: Implement reset feature | DmitriyEshenko | |
2020-04-10 | pptp: l2tp: T2262: Fix call to function run() | DmitriyEshenko | |
2020-04-09 | util: T2226: os.system was wrongly converted to run | Thomas 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-08 | wireguard: T2226: fix generation of psk | Christian 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-08 | op-mode: lldp: T2246: check if service is configured | Christian Poessinger | |
2020-04-08 | op-mode: dns: forwarding: cleanup | Christian Poessinger | |
2020-04-06 | util: T2226: rewrite powerctl to use run,cmd | Thomas Mangin | |
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 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 accel ppp reset 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-04 | Merge pull request #302 from thomas-mangin/T2190 | Christian Poessinger | |
ifconfig: T2190: option to prevent Interface creation | |||
2020-04-04 | openvpn: T2184: skip unactive interface | Thomas Mangin | |
Should the openvpn status file not be present, present a blank interface. | |||
2020-04-04 | ifconfig: T2190: option to prevent Interface creation | Thomas 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-02 | VRRP: 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-31 | Merge pull request #283 from thomas-mangin/T2057-wg-dump | Christian Poessinger | |
ifconfig: T2057: Move code from interface.py to wireguard.py | |||
2020-03-31 | ifconfig: T2057: centralise wireguard code | Thomas 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-29 | vyos.util: increase usage of process_running() and remove duplicated code | Christian 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-23 | ifconfig: T2154: fixing failure to start-stop-daemon | Thomas Mangin | |
2020-03-09 | openvpn: T2065: pass daemon parameter to start-stop-daemon in op-mode | Christian 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-08 | vrf: T31: add member interfaces to 'show ver' output | Christian 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-04 | vrf: T31: remove superfluous vyos.vrf library functions | Christian 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-04 | vrf: 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 | |||
2020-02-25 | pppoe: T2070: rewrite (dis-)connect op-mode commands in XML and Python | Christian Poessinger | |
2020-01-30 | snmp: T1575: Fix typo | John Estabrook | |
2020-01-14 | vrrp: T1884: Keep transition-script native behaviour and implement ↵ | DmitriyEshenko | |
transaction-script 'stop' | |||
2020-01-09 | powerctr: T1842: Use systemd files for detect schedule | DmitriyEshenko | |
2019-12-31 | FRRouting: T1514: Extended FRR restarting functionality and fixed some bugs | zsdc | |
This change addressed to fix bug with empty configuration after FRR restarting in some cases and protect from some other potential problems. * added warning and request for confirmation before doing any actions * added a couple of safety checks (already running restart, active watchfrr.sh or vtysh session) * now Python script running via sudo to give us the ability to get processes information and work with all directories and vtysh * moved configuration restoring functionality from frrcommon.sh to Python script, as frrcommon.sh implementation in some cases not load configuration in time, which leads to empty config after * the `/etc/frr/frr.conf` is not used anymore. Instead, we are saving active configuration to the temporary directory | |||
2019-12-27 | FRRouting: T1514: Fix in FRRouting restart command | zsdc | |
Added saving and restoring current frr.conf to avoid reapplying of configuration from it during reboot. | |||
2019-12-27 | FRRouting: T1514: Added commands to restart FRRouting daemon | zsdc | |
It can be restarted the whole FRRouting (all running) daemons or only selected ones. The configuration is saving during the restart process, so after it, the active config should be the same as before. There are no checks for safety, so responsibility for the results of running command is fully on the operator. | |||
2019-12-24 | flow-accounting: T1890: Fixed bugs in flow-accounting | zsdc | |
* fixed improper `process.returncode` invokes * added check for if an in-memory table is active before using IMT for flows show * replaced `--nflog-range` to `--nflog-size` in iptables rules, as `--nflog-range` had never works. **WARNING: this change break compatibility with Debian 8!** | |||
2019-12-22 | lldp: T393: first op mode command version | Christian Poessinger | |
2019-12-19 | flow-accounting: T1890: fixed scripts permissions | zsdc | |