summaryrefslogtreecommitdiff
path: root/src/op_mode
AgeCommit message (Collapse)Author
2022-07-22conntrack: T4145: Modify conntrack to format command runnerViacheslav Hletenko
Change op-mode "show conntrack table ipvX" script to work with vyos.opmode module Change name "show_conntrack.py" => "conntrack.py" Ability to get IPv6 conntrack information Ability to get raw and formatted data
2022-07-20Merge pull request #1351 from dmbaturin/genopJohn Estabrook
T2719: prototype of an op mode command runner based on type hints and introspection
2022-07-20T2719: fix unused importsDaniil Baturin
2022-07-19T2719: patch for general support for boolean optionsJohn Estabrook
Signed-off-by: Daniil Baturin <daniil@vyos.io>
2022-07-18Merge pull request #1407 from sever-sever/T4523Christian Poessinger
conntrack: T4523: Extend conntrack output direciton, mark, zone
2022-07-17op-mode: T3435: Fix SNAT any address and DNAT port dict checkViacheslav Hletenko
If SNAT source address in not exists use 'any' Add check if 'port' exists in dictionary
2022-07-11conntrack: T4523: Extend conntrack output direciton, mark, zoneViacheslav Hletenko
Extent op-mode "show conntrack table ipv4" Add ability to see direction of flow: origianl - "Original src", "Original dst" reply - "Reply src", "Reply dst" Add "mark" and "zone" options
2022-07-09nat: T4499: Fix NAT not showing a single flow entryViacheslav Hletenko
We must change dictionary if we get only onle flow entry I.e one NAT record With single entry we get: OrderedDict([('meta', xxx])) We expect: [OrderedDict([('meta', xxx]))]
2022-07-09conntrack: T4145: Add show conntrack table ipv4Viacheslav Hletenko
After firewall rewriting, we lost the ability to show conntrack table as it used old code Rewrite and add it to XML/Python
2022-07-07op-mode: T4503: Prevent restart service if commit in progressViacheslav Hletenko
Prevent op-mode scripts from restarting services if commit in progress
2022-07-07T2719: rework 'show hardware cpu *' commands in the new styleDaniil Baturin
2022-07-05T2719: convert the 'show system memory' script to the new styleDaniil Baturin
2022-07-05T2719: update op mode CLI definition for 'show version'Daniil Baturin
2022-07-05T2719: initial version of the route op mode scriptDaniil Baturin
2022-07-05T2719: convert 'show version' to the new op mode styleDaniil Baturin
2022-07-05op-mode: bgp: T4494: re-use available building blocks for BGP resetsChristian Poessinger
2022-07-05op-mode: bgp: T4494: add "reset bgp" op-mode treeChristian Poessinger
2022-07-01Revert "op-mode: T4429: Ability to detect external IP address"Daniil Baturin
2022-06-25firewall: T4484: Fix op-mode summary for address groups with ranges.sarthurdev
2022-06-17T2719: handle non-existent interfaces in the neighbor scriptDaniil Baturin
2022-06-16T2719: correct module path in the neighbor scriptDaniil Baturin
2022-06-16op-mode: T1375: Allow to clear dhcp-server leaseViacheslav Hletenko
Allow to reset dhcp-leases per ip Parse file '/config/dhcpd.leases' find match section 'lease x.x.x.x {}' And remove this section clear dhcp-server lease 192.0.2.21
2022-06-15T2719: add reset command to the neighbor scriptDaniil Baturin
2022-06-14T2719: fix module import pathDaniil Baturin
2022-06-10Merge pull request #1326 from sever-sever/T4429Christian Poessinger
op-mode: T4429: Ability to detect external IP address
2022-06-09T2719: prototype of an op mode command runnerDaniil Baturin
based on type hints and introspection
2022-06-06T4446: use format strings instead of old-fasionhed format methodDaniil Baturin
2022-06-02T4446: use a unified neighbor display scriptDaniil Baturin
2022-05-31pki: T3642: Enable `generate pki openvpn ...` to install into configsarthurdev
2022-05-30pki: T3642: Add ability to import files into PKi configurationsarthurdev
2022-05-25Merge pull request #1319 from goodNETnick/ocserv_sh_otp_keyViacheslav Hletenko
ocserv: T4420: show configured 2FA OTP key
2022-05-19T4432: display load averages normalized for the number of CPU coresDaniil Baturin
2022-05-17op-mode: T4429: Ability to detect external IP addressViacheslav Hletenko
In some cases, it is useful to detect own external IP address for example if the host behind NAT Send curl request to random online service from the list to detect IP address ; show ip external ; 192.0.2.95
2022-05-16ocserv: T4420: show configured 2FA OTP keygoodNETnick
2022-05-08container: op-mode: T3852: use XML inline podman commandsChristian Poessinger
Reduce bloat of containers_op.py wrapper script. All commands can be passed directly to podman via the XML script. This also makes the execution faster, as no Python environment needs to be build up.
2022-05-06openvpn: T4381: Add tunnel ip column for status commandsrividya0208
Added the tunnel ip column to see the assigned ip address in server mode
2022-05-05op-mode: T4416: Rewrite 'traceroute' op-command and expand available options ↵3roin
using python
2022-05-01ipsec: T4353: fix Jinja2 linting errorsChristian Poessinger
2022-05-01conntrackd: T4353: fix Jinja2 linting errorsChristian Poessinger
2022-04-29T2216: containers need to be added via "add container image" in advance ↵Christian Poessinger
before using them
2022-04-26Merge pull request #1294 from goodNETnick/ocserv_otp_keygenChristian Poessinger
ocserv: T4380: 2FA OTP key generator in VyOS CLI
2022-04-26Merge pull request #1301 from sever-sever/T4236Christian Poessinger
op-mode: T4236: Split to new lines openvpn client certs
2022-04-26op-mode: T4236: Split to new lines openvpn client certsViacheslav Hletenko
The command "generate openvpn client-config" generates client.ovpn file and CA and client certificate are displayed in one line To fix it Add 'fill' that set new line after every x characters
2022-04-25op-mode: T4395: Extend show vpn debugViacheslav Hletenko
Get more VPN IPSec information with swanctl and iproute2 commands
2022-04-21ocserv: T4380: 2FA OTP key generator in VyOS CLIgoodNETnick
2022-04-16vyos.base: use Warning() helper for op-mode commandsChristian Poessinger
2022-03-22T4313: handle exceptions in the "generate public-key-command" scriptDaniil Baturin
2022-03-04op-mode: lldp: T3999: bugfix cap' referenced before assignmentChristian Poessinger
2022-02-21Merge pull request #1233 from dmbaturin/structured-op-modeJohn Estabrook
T2719: initial batch of standardized structure op mode scripts
2022-02-21T2719: initial batch of standardized structure op mode scriptsDaniil Baturin