summaryrefslogtreecommitdiff
path: root/src/op_mode
AgeCommit message (Collapse)Author
2020-07-12snmp: T1575: Adding additional check for lspciDmitriyEshenko
(cherry-picked from commits dc936192e87f114df6ab6a4df44967ce0f2b8390 c291d18377eb6eea6693050c338b0392e1297e74)
2020-05-29dynamic-dns: T2528: bugfix FileNotFoundError in "update dns dynamic"Christian Poessinger
Stopping and starting ddclient should only happen if the DNS dynamic service is actually configured. In addition it should always be checked if the file we try to delete really exists. (cherry picked from commit 0525e443fa68cda451c9f4c838e1f55cec913d2a)
2020-04-16T2305: include release train in "show version" outputChristian Poessinger
(cherry picked from commit b4544f196c2beededdd76f581690b1490c755dac)
2020-02-07vrrp: T1884: Add mode-force for run transition-scripts without checking ↵DmitriyEshenko
previous state
2020-01-17T1376: improve show_dhcp and show_dhcpv6Jernej Jakob
(cherry picked from commit 9f20bee81c0a0f4632aa152297d0fdf89139d6af)
2020-01-17[dhcp] T1416: fix DHCP server status viewChristian Poessinger
(cherry picked from commit 7a27f6f93b58abd2fabc9e80e429e14a70ebd6aa)
2019-12-09T1855, T1826: Restore support for reboot/poweroff in M minutes.Daniil Baturin
2019-12-09T1855, T1826: clean up the reboot/shutdown script.Daniil Baturin
2019-11-20QAT: T1788: Intel QAT implementationDmitriyEshenko
Conflicts: Makefile
2019-11-17 T1470: improve output of "show dhcpv6 server leases"Jernej Jakob
- change DUID to IAID_DUID - format IAID_DUID as colon-separated hex list - implement functions: pool, sort, state - add op-mode definitions for pool, sort, state - add columns: State, Type, Last communication, Pool - implement json output - implement completionHelp function
2019-05-13T1378: extend version file with Git commit IDChristian Poessinger
The Git commit ID will be crucial for the future when the full VyOS build can be reproduced by the one Git commit ID, thus start recording it in the version file. (cherry picked from commit a8b5fae5581c03c5037c5fdc840be3e5bf984484)
2019-03-08T1277: [dhcp-server] bugfix 'show dhcp server leases'Christian Poessinger
The script did not check if the service was actually configured or not. This caused a FileNotFoundError for unconfigured services. vyos@vyos:~$ show dhcp server leases Traceback (most recent call last): File "/usr/libexec/vyos/op_mode/show_dhcp.py", line 123, in <module> leases = get_leases(lease_file, state='active') File "/usr/libexec/vyos/op_mode/show_dhcp.py", line 60, in get_leases leases = IscDhcpLeases(lease_file).get() File "/usr/lib/python3/dist-packages/isc_dhcp_leases/iscdhcpleases.py", line 110, in get with open(self.filename) as lease_file: FileNotFoundError: [Errno 2] No such file or directory: '/config/dhcpd.leases' (cherry picked from commit ed620ef7e8ba741e165698c558b110a31cc35dfd)
2019-03-08T1277: [dhcpv6-server] bugfix 'show dhcpv6 server leases'Christian Poessinger
The script did not check if the service was actually configured or not. This caused a FileNotFoundError for unconfigured services. vyos@vyos:~$ show dhcpv6 server leases Traceback (most recent call last): File "/usr/libexec/vyos/op_mode/show_dhcpv6.py", line 77, in <module> leases = get_leases(lease_file, state='active') File "/usr/libexec/vyos/op_mode/show_dhcpv6.py", line 46, in get_leases leases = IscDhcpLeases(lease_file).get() File "/usr/lib/python3/dist-packages/isc_dhcp_leases/iscdhcpleases.py", line 110, in get with open(self.filename) as lease_file: FileNotFoundError: [Errno 2] No such file or directory: '/config/dhcpdv6.leases' (cherry picked from commit a6700c7d3b75854c3b213b65951a51464cd073be)
2019-02-28fixes: T1254 - generate wireguard keypair fails when executed on the isohagbard
- keypair can now be generated and used from the running iso to create wg tunnels on the fly Conflicts: debian/changelog
2019-02-21T1256: Execute "show ipsec vpn ipsec sa" returns incorrect resultsDaniel Pro
Not sure it's a normal case scenario, the one highlighted in T1256. To managed it I changed the "if" logic.
2019-01-12Correct the command suggestion in the "show vpn ipsec sa" scriptDaniil Baturin
in case when no active SAs are found.
2019-01-12T1175: add support for DMVPN connections to the "show vpn ipsec sa" script.Daniil Baturin
2019-01-08Merge pull request #63 from daniel-pro/T1077hagbard-01
T1077: Update show_ipsec_sa.py
2019-01-06T1159: correct handling of SAs without PFS in "show vpn ipsec sa".Daniil Baturin
2019-01-01T1119: 'show vpn ipsec sa' shows tunnel twice in 1.2.0-RC11Daniel
Removed duplicates from "connections" list.
2018-12-31T1108: warn the user and exit if there are no established IPsec SAs.Daniil Baturin
2018-12-18Update show_ipsec_sa.pyDaniel
2018-12-16Update show_ipsec_sa.pydaniel-pro
2018-12-03T956: display SA traffic counters in human-redable units.Daniil Baturin
2018-12-03T956: correct IKE proposal string parsing for SAs with non-zero counters.Daniil Baturin
2018-11-18Merge branch 'current' of https://github.com/vyos/vyos-1x into currentDaniil Baturin
2018-11-18T956: add a new script for displaying IPsec SAs.Daniil Baturin
2018-11-17Rename show-igmpproxy.py -> show_igmpproxy.pyChristian Poessinger
2018-11-17T1016: fix IPv4/IPv6 dhcp relay restart commandChristian Poessinger
Current implementation referred to a no longer existing Perl script to restart the IPv4 and IPv6 instance of dhcrelay. > restart dhcp relay-agent > restart dhcpv6 relay-agent
2018-11-04T959: XML/Python rewrite of "protocol igmp-proxy" and op-mode commandsChristian Poessinger
Examples: ========= CFG commands: vyos@vyos# set protocols igmp-proxy disable-quickleave vyos@vyos# set protocols igmp-proxy interface eth0 alt-subnet '172.16.35.0/24' vyos@vyos# set protocols igmp-proxy interface eth0 alt-subnet '172.31.0.0/24' vyos@vyos# set protocols igmp-proxy interface eth0 role 'upstream' vyos@vyos# set protocols igmp-proxy interface eth1 role 'downstream' vyos@vyos# show protocols igmp-proxy { disable-quickleave interface eth0 { alt-subnet 172.16.35.0/24 alt-subnet 172.31.0.0/24 role upstream } interface eth1 { role downstream } } OP mode commands: ----------------- vyos@vyos:~$ show ip multicast interface Interface BytesIn PktsIn BytesOut PktsOut Local eth0 0.0b 0 0.0b 0 xxx.xxx.xxx.65 eth1 0.0b 0 0.0b 0 xxx.xxx.xx.201 vyos@vyos:~$ show ip multicast mfc Group Origin Pkts Bytes Wrong In Out xxx.x.xx.1 xxx.xx.0.1 10 9.81KB 0 eth0 eth1 xxx.x.xx.2 xxx.xx.0.1 --
2018-11-04Add missing VyOS copyright noticesChristian Poessinger
2018-10-29T240: system integrity checkhagbard
2018-10-13Update show_dhcp.pyEwald van Geffen
I don't really do python, please check/test.
2018-10-10Merge pull request #52 from hagbard-01/currenthagbard-01
T870: Commit-confirm restarts the server even after commit
2018-10-10T870: Commit-confirm restarts the server even after commithagbard
- adding removal of the at job and /var/run/confirm.job - indent fixed
2018-10-09T883: handle keyboard interrupts in the wireguard keypair command.Daniil Baturin
2018-09-04T823: extend the new DHCP op mode.Daniil Baturin
2018-09-02Merge remote-tracking branch 'upstream/current' into T793hagbard
2018-09-02T823: add a new DHCP op mode script, only capable of showing leases now.Daniil Baturin
2018-08-31T793: preshared key op-mode partshagbard
2018-08-28T793: changed op-mode script from wireguard_key.py to wireguard.pyhagbard
2018-08-27T793: wiregurard preshared-key op-mode script and interface implementationhagbard
2018-08-27T793: generate and show psk implemented in python scripthagbard
2018-08-20Merge pull request #36 from runborg/testChristian Poessinger
T689: Reboot/Poweroff now not working after last changes
2018-08-19T689: Reboot/Poweroff now not working after last changesRunar Borge
2018-08-18T784: Added update dns dynamic operationDmytro Aleksandrov
2018-08-17Merge pull request #29 from runborg/currentChristian Poessinger
T689: Rewritten poweroff/reboot script to use systemd-shutdownd service
2018-08-17T689: Added support for specifying date on poweroff and rebootRunar Borge
2018-08-16T689: Rewritten poweroff/reboot script to use systemd-shutdownd serviceRunar Borge
2018-08-11T427: wireguard supporthagbard
- 'generate wireguard keypair' added - 'show wireguard [pubkey|privkey]' added