summaryrefslogtreecommitdiff
path: root/op-mode-definitions
AgeCommit message (Collapse)Author
2023-12-02Merge pull request #2442 from srividya0208/T5714Daniil Baturin
T5714: op-cmd: Fix for "show log vpn ipsec/all"
2023-11-16T4940: new interfaces debugging command equuleusmkorobeinikov
2023-11-08T5714: op-cmd: Fix for "show log vpn ipsec/all"srividya0208
No results shown for this command "show log vpn ipsec" Changed to journalctl
2023-01-25op-mode: container: T4947: there is no standardised vyos.opmode in equuleusChristian Breunig
2023-01-23op-mode: add "show|monitor log pppoe-server" commandChristian Breunig
(cherry picked from commit 1bd69a81dc32fdaa62be27e4f5ae3cfe333f2a26)
2023-01-23op-mode: T4949: add "show|monitor log ipoe-server" commandChristian Breunig
(cherry picked from commit 68a8cd2612cb1b00d381059747de8107f38e8c96)
2023-01-23op-mode: T4949: backport "monitor log" commands from currentChristian Breunig
2023-01-11Backport: T4918: op_mode interfaces: Fix show intSander Klein
`show interfaces ethernet eth0` and `show interface bonding eth0` produces the same output. While this is not a big problem it does make usage a bit odd sometimes. This commit adds the --intf_type option to all instances of interfaces.py to make output consistent.
2022-12-30container: T578: backport podman from 1.4 development branchChristian Poessinger
2022-07-06webproxy: T4513: Fixed path to webroxy log filesaapostoliuk
Fixed path to webproxy log files in webproxy monitor commands
2022-06-28op-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 (cherry picked from commit a83eecfeee1f925c914a46623dd35f96b48389f8)
2022-05-12ldp: T4082: Add restart ldp command for op-modeDevon Mar
(cherry picked from commit 0ef775ab6563af8c20d72d3e30751d50946ab704)
2022-03-16T3506: loadkey: fix build error1.3.1Christian Poessinger
Commit 92f6feca ("T3506: loadkey: Add `generate public-key-command` command") backported a change from current for the op-mode command definitions. Unfortunately VyOS 1.3 (equuleus) uses the old GCC preprocessor which is unable to properly handle long strings containing control characters lilke // (CPP-comment).
2022-03-10T3506: loadkey: Add `generate public-key-command` commanderkin
2022-02-03firewall-bridge: T4193: Add op-mode for firewall policyViacheslav Hletenko
2021-12-24conntrack-sync: T3854: Add missed statistics for op-modeViacheslav
After rewriting conntrack-sync to XML/python, part of op-mode parameters was missed Add "status" and "statistics" for conntrack-sync
2021-12-15op-mode: T4073: drop "show protocols bfd" in favour of "show bfd"Christian Poessinger
(cherry picked from commit 25d95b1f73f3e5e0fd2dfc9199f46d808c68af43)
2021-12-15op-mode: bfd: T4073: "show protocols bfd peer <ip>" returned invalid session ↵Christian Poessinger
data Due to the AWK regex pattern data from a different peer was returned as the first match was shown. (cherry picked from commit 6f9ba4e577a6470372a478310ea0c49a6400b8e6)
2021-12-04op-mode: disk: T4045: cleanup code to use python f'ormat stringsChristian Poessinger
(cherry picked from commit 467eb1f18ec971d6d3913d9ecc58b241db104f0d)
2021-12-04T4035: add op mode "show interfaces geneve" commandsDaniil Baturin
2021-11-30op-mode: T3725: Show configuration in JSON formatViacheslav
(cherry picked from commit f36ac55e5355b170b181eef999be616700edffc1)
2021-11-27Merge pull request #1085 from andriiandrieiev/equuleusChristian Poessinger
filesystem: T3946: root partition auto resize as a service
2021-11-25filesystem: T3946: partition resize as a serviceAndrii
2021-11-18xml: op-mode: improve help for "show ip route vrf"Christian Poessinger
2021-10-26op-mode: T3942: Add feature generate IPSec debug-archiveViacheslav
2021-10-05op-mode: T3889: do not display redundant hostname when reading logsChristian Poessinger
2021-10-04op-mode: dhcpv(v6): T3890: retrieve both server and client logfilesChristian Poessinger
* rename: "show log dhcp" will become "show log dhcp server" * add: "show log dhcp client" to display logs from ALL DHCP client processes * add: "show log dhcp client interface <name>" to display logs from individual DHCP client processes * add: "show log dhcpv6 server" to display infos about running DHCPv6 server * add: "show log dhcpv6 client" to display logs from ALL DHCPv6 client processes * add: "show log dhcpv6 client interface <name>" to display logs from individual DHCPv6 client processes
2021-10-04op-mode: T3889: migrate to journalctl when reading daemon logsChristian Poessinger
2021-09-25op-mode: bgp: "show bgp ipv4|ipv6" should display routing tableChristian Poessinger
The <command> node was missed out when adding the XML definitions. (cherry picked from commit 801123eff1bf232ca1e5202ceb0989c2fba34c86)
2021-09-19dhcpv6: op-mode: xml: error out if DHCPv6 service not configuredChristian Poessinger
Restarting DHCPv6 server should not be possible when service is not configured on the CLI. (cherry picked from commit 224f0b8042f439b8dcc0eb32730da669e8b163af)
2021-09-19dhcpv6: op-mode: xml: fix duplicate help stringsChristian Poessinger
(cherry picked from commit 5d4c75d7fdecc56a8864a3ef76ead3f6121a0cff)
2021-09-19dhcp: op-mode: xml: error out if DHCP service not configuredChristian Poessinger
(cherry picked from commit 83f9d4b8bac6b5d401dfea19d4f9d61b7e638a47)
2021-09-19dhcp: op-mode: xml: fix duplicate help stringChristian Poessinger
(cherry picked from commit 41807725cad3266bf426a9de411bb693b914395e)
2021-09-07op-mode: xml: improve "show interfaces <type>" help textChristian Poessinger
(cherry picked from commit bd2c79ebb8abbd844f4b0568110c7bcea0d8f4f1)
2021-09-06wwan: T3620: op-mode: not all commands supported by all modems - add info ↵Christian Poessinger
message (cherry picked from commit 10814c4d3360598262e991e4b20768dfcde91d75)
2021-09-02op-mode: T1376: speed up tab-completion for DHCP pool listingChristian Poessinger
Commit 9f20bee81c ("T1376: improve show_dhcp and show_dhcpv6") added the tab completion helper to list the availbale IP pools to query. This was done by calling a python script which then called cli-shell-api which resulted in a penalty by the Python interpreter startup. This can be solved by directly using the cli-shell-api wrapper available as <path> in op-mode - as also seen for DHCPv6. (cherry picked from commit b1ff7baaf3c52c8c364955632fcece2da7033b10)
2021-08-31op-mode: "show interfaces ethernet eth0 physical" should display ring-buffersChristian Poessinger
(cherry picked from commit 8834c22dc3f5758c1d2364579acc428cfc0fe650)
2021-08-31vyos.ethtool: T3163: use long option names when calling the ethtool binrayChristian Poessinger
This makes understanding the code easier what is "really" called without opening the man page. (cherry picked from commit a086dc2c429aea9614ac7a9c735c6475c2d6da59)
2021-08-26Merge pull request #978 from c-po/t3776-frr-restartChristian Poessinger
FRR: op-mode: T3776: rename "restart frr <daemon>" to "restart <daemon>"
2021-08-25T3773: delete the original "show system integrity" commandDaniil Baturin
(cherry picked from commit 059307f924c604eb2bdeab19a2db8ce6d8e09f90)
2021-08-25op-mode: frr: T1514: add possibility to restart isis daemonChristian Poessinger
2021-08-25op-mode: T3776: drop "frr" level from "restart frr ospfd|bgpd|staticd" commandsChristian Poessinger
The current command to restart any of the FRR processes is: vyos@vyos:~$ restart frr Possible completions: <Enter> Execute the current command bfdd Restart Bidirectional Forwarding Detection daemon bgpd Restart Border Gateway Protocol daemon ospf6d Restart OSPFv3 daemon ospfd Restart OSPFv2 daemon ripd Restart Routing Information Protocol daemon ripngd Restart RIPng daemon staticd Restart Static Route daemon zebra Restart IP routing manager daemon From a real-life example: Two engineers needed 5 minutes to figure it is under "restart frr" - that is why this commit drops the artificial "frr" level on the op-mode commands to restart routing protocol daemons. It's less intuitive to have "restart frr ospfd" or "restart frr bgpd" compared to "restart ospf" and "restart bgp" - we have the same for "restart ssh" or "restart snmp" and not "restart openssh sshd". This commit also drops the d (daemon) suffix of the op-mode comamands so the commands align with the VyOS CLI, else there would be a miss-understanding from ospf6d to ospfv3.
2021-08-23xml: op-mode: add missing help test for "reset openvpn" commandChristian Poessinger
(cherry picked from commit 68567d60626aa7ee5f990af792eb63f6887d93de)
2021-08-23xml: op-mode: add missing help test for "monitor protocol ospf" commandsChristian Poessinger
(cherry picked from commit d225f938b2250229621c7013c47ce52b839ae169)
2021-08-23xml: op-mode: remove multiple "Reset a service" help definitionsChristian Poessinger
That nasty workaround to always specify the same value for the node.def file as the help text is no longer necessary after commit 17b5ac14 ("T3165: op-mode: prevent override of populated node.def file with empty content". The redundant definitions are no longer necessary. (cherry picked from commit 536991d0c6f305256ce6ab5975d15116f027b7b6)
2021-08-17op-mode: T1513: bgp: add "show bgp large-community-list" commnadChristian Poessinger
(cherry picked from commit 90f778fc04b322867f6fec023328330adc3fd85f)
2021-08-17op-mode: xml: bgp: fix large-community help stringChristian Poessinger
(cherry picked from commit 6bb2f6e22706bb1c5874a58e74585160164011f6)
2021-08-17op-mode: T1513: bgp: add "show bgp large-community AA:BB:CC exat-match"Christian Poessinger
(cherry picked from commit 6c0044d12ecf762d9d362d6b09cdaa4c8227db58)
2021-08-17op-mode: T1513: bgp: xml: provide exact-match building blockChristian Poessinger
(cherry picked from commit 0f498d782c8fc3645355184cc59e88a16d1b230d)
2021-08-01op-mode: bgp: T1513: backport "show bgp" commands from current branchChristian Poessinger