summaryrefslogtreecommitdiff
path: root/src/op_mode
AgeCommit message (Collapse)Author
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'
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'
2019-02-21[IPsec] T1260: VICI-based implementation of "show vpn ipsec sa"Daniil Baturin
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-02-19fixes: 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
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
2018-08-10T666, T616: exit from op mode script if VRRP information is not available.Daniil Baturin
2018-07-29T758: add 'show dns dynamic status' op mode commandChristian Poessinger
2018-07-27T666, T616: new implementation of the VRRP CLI.Daniil Baturin
2018-07-21Merge pull request #17 from runborg/currentDaniil Baturin
T689: updated show host xml and fixed op_mode script names from last PR.
2018-07-05T734: use existsEffective instead of exists in DNS forwarding restart script ↵Daniil Baturin
to make it work from op mode.
2018-06-30op_mode: cpu_summary: fix bug (no war string) reported by sonarcubeChristian Poessinger
2018-06-23T689: changed from dash to underscore in filenamesRunar Borge
2018-06-14Merge branch 'snmp-op-mode' into currentChristian Poessinger
* snmp-op-mode: T683: Initial version for SNMP op mode command definition in XML
2018-06-14T683: Initial version for SNMP op mode command definition in XMLChristian Poessinger
2018-06-13T689 followup: move the Maya date script to vyos-1x.Daniil Baturin