summaryrefslogtreecommitdiff
path: root/op-mode-definitions
AgeCommit message (Collapse)Author
2021-05-30op-mode: T3589: replace short journalctl options with long namesChristian Poessinger
... this is done for easier readability of the commands
2021-05-28ipsec: T2816: IPSec python rework, includes DMVPN and VTI supportSimon
2021-05-24op-mode: T3571: add missing "show protocol" help stringsChristian Poessinger
2021-05-23op-mode: storage: T3572: add S.M.A.R.T. status supportChristian Poessinger
vyos@vyos:~$ show hardware storage nvme Node SN Model Namespace Usage Format FW Rev ---------------- -------------------- ---------------------------------------- --------- -------------------------- ---------------- -------- /dev/nvme0n1 S437Nxxxxxxxxx SAMSUNG MZQLB960HAJR-00007 1 25.17 GB / 960.20 GB 512 B + 0 B EDA5202Q /dev/nvme1n1 S437Nxxxxxxxxx SAMSUNG MZQLB960HAJR-00007 1 38.36 GB / 960.20 GB 512 B + 0 B EDA5202Q vyos@vyos:~$ show hardware storage smart nvme0n1 === START OF INFORMATION SECTION === Model Number: SAMSUNG MZQLB960HAJR-00007 Serial Number: S437Nxxxxxxxxx ... (cherry picked from commit 2e44365dad5f8dd6a495070d36c590319a421c28)
2021-05-23op-mode: disks: T1621: bugfix no disk outputChristian Poessinger
(cherry picked from commit 51899c362f2eba1dd067414f2dfa8e78f30ca408)
2021-05-19Merge pull request #848 from DmitriyEshenko/cur-18052021-oc01Daniil Baturin
openconnect-server: T3559: Add restart op-command
2021-05-18op-mode: drop full path to iproute2 binaryChristian Poessinger
2021-05-18openconnect-server: T3559: Add restart op-commandDmitriyEshenko
2021-05-18revert: "util: T2467: add autosudo as an option to command"Christian Poessinger
Implementing a wrapper which will - based on the command - add a sudo prefix to the execution string seemed to be a nice idea but unfortunately it did not only not get momentum but also the codebase somethis added an implicit "sudo" call a second time. This resulted in a call: "sudo sudo systemctl" The entire functionality was removed again and if an op-mode script requires root priviledges it must be explicitly called with them - no black magic.
2021-05-15conntrack: T3535: add op-mode commands for tracked connections"Christian Poessinger
2021-05-14op-mode: conntrack: T3535: add XML command definitionsChristian Poessinger
2021-05-13op-mode: T3536: Fix desc for route longer-prefixessever-sever
2021-05-06op-mode: isis: convert from DOS to UNIX line endingsChristian Poessinger
2021-04-27op-mode: ospfv3: T3335: re-use common vtysh_wrapper.sh wrapperChristian Poessinger
Instead of renaming the OSPFv3 commands for every individual XML invocation, also re-use the common helper shell script. One source, one truth!
2021-04-25wireguard: T1802: add client name to configurationChristian Poessinger
2021-04-24wireguard: T1802: generate QR code for clients on CLIChristian Poessinger
generate wireguard mobile-config wg0 server wg.vyos.net address 1.2.2.2/24 WireGuard client configuration for interface: wg0 [Interface] PrivateKey = AEXrZ4b3xFVLg1lql3hy/93+d43q3+3vPdSMUGI6/Fo= Address = 1.2.2.2/24 [Peer] PublicKey = h1HkYlSuHdJN6Qv4Hz4bBzjGg5WUty+U1L7DJsZy1iE= Endpoint = wg.vyos.net:41751 AllowedIPs = 0.0.0.0/0, ::/0 The servers public key and port are automatically extracter from the running config.
2021-04-21container: T2216: Rewrite op-mode to pythonsever-sever
2021-04-21containers: T2216: add op-mode "show container network" commandChristian Poessinger
2021-04-13Merge pull request #801 from sever-sever/T2216-podChristian Poessinger
containers: T2216: Add podman for containers
2021-04-12containers: T2216: Add podman for containerssever-sever
2021-04-09op-mode: bgp: add common commands to top level "show bgp" commandChristian Poessinger
2021-04-09op-mode: bgp: support VRF related "show bgp vrf" commandsChristian Poessinger
cpo@PE1:~$ show bgp vrf all Instance default: No BGP prefixes displayed, 0 exist Instance red: BGP table version is 1, local router ID is 10.2.1.1, vrf id 11 Default local pref 100, local AS 100 Status codes: s suppressed, d damped, h history, * valid, > best, = multipath, i internal, r RIB-failure, S Stale, R Removed Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self Origin codes: i - IGP, e - EGP, ? - incomplete Network Next Hop Metric LocPrf Weight Path *> 10.2.1.0/24 0.0.0.0 0 32768 ? Displayed 1 routes and 1 total paths Instance blue: BGP table version is 1, local router ID is 10.1.1.1, vrf id 10 Default local pref 100, local AS 100 Status codes: s suppressed, d damped, h history, * valid, > best, = multipath, i internal, r RIB-failure, S Stale, R Removed Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self Origin codes: i - IGP, e - EGP, ? - incomplete Network Next Hop Metric LocPrf Weight Path *> 10.1.1.0/24 0.0.0.0 0 32768 ? Displayed 1 routes and 1 total paths
2021-04-09op-mode: bgp: move common includes to include/bgp directoryChristian Poessinger
This change makes it easier to group all BGP related operational level command building blocks in one place.
2021-04-09op-mode: bgp: fix indention of common includeChristian Poessinger
2021-04-04T3457: output the "monitor log" command in a colorful wayChristian Poessinger
Add a new CLI command "monitor log colored" to run the log file monitoring through grc (https://github.com/garabik/grc).
2021-03-28op-mode: T3431: Fix show version allsever-sever
2021-03-26ospf: T3436: op-mode CLI refactoring for support vrfsever-sever
2021-03-26bgp: T3434: op-mode CLI refactoring for support vrfsever-sever
2021-03-21op-mode: add "show zebra" commands to query RIB informationsChristian Poessinger
2021-03-21isis: T3417: ad per vrf op-mode commandsChristian Poessinger
2021-03-21ntp: T3416: fix op-mode commands when running inside VRFChristian Poessinger
When NTP is executed inside a VRF context, we also must execute the op-mode commands inside the given VRF. This is a workaround until the op-mode programming library from T3402 is available.
2021-03-14nat66: T2518: Modify the command line description of NAT/NAT66jack9603301
2021-03-13nat: nat66: T2518: Support operation mode commandjack9603301
2021-03-03op-mode: evpn: T1513: add show commandsChristian Poessinger
2021-03-03op-mode: bgp: T1513: extend evpn show commandsChristian Poessinger
2021-02-24Merge pull request #742 from erkin/currentChristian Poessinger
op-mode: Correct help messages
2021-02-24op-mode: Correct help messageserkin
2021-02-20op-mode: bgp: T1513: no need for "sudo"Christian Poessinger
Commit 68f7d1474d ("op-mode: bgp: T1513: add "show bgp" tree containing l2vpn evpn") added the required XML definitions and a bash helper script. The helper always got invoked using "sudo" which is not necessary for vtysh. Calling "sudo" only slows down the system when e.g. RADIUS backed accounts are used.
2021-02-20op-mode: bgp: T1513: add "show bgp" tree containing l2vpn evpnChristian Poessinger
2021-02-09bgp: T1513: initial implementation of L2VPN EVPN supportChristian Poessinger
2021-02-09xml: op-mode: remove absolute path from vtyshChristian Poessinger
2021-02-09xml: bgp: remove absolute path from vtyshChristian Poessinger
2021-02-04op-mode: ip: T3283: Format Neigh tablesjack9603301
2021-02-04op-mode: ip: T3283: Support for IPv4 neigh tablesjack9603301
2021-01-29Merge branch 't3255-rpki' of github.com:c-po/vyos-1x into currentChristian Poessinger
* 't3255-rpki' of github.com:c-po/vyos-1x: rpki: T3255: provide full protocol support in XML and Python op-mode: ssh: support generating client keypair smoketest: openvpn: remove print() when generating keys
2021-01-29op-mode: ssh: support generating client keypairChristian Poessinger
vyos@vyos:~$ generate ssh client-key /config/auth/id_rsa_rpki Generating public/private rsa key pair. Your identification has been saved in /config/auth/id_rsa_rpki. Your public key has been saved in /config/auth/id_rsa_rpki.pub. The key fingerprint is: SHA256:aBMN1F6lINh4CbG/fuEVReCpbZr3U0/KdorWY6iGfvw vyos@vyos The key's randomart image is: +---[RSA 2048]----+ | oB+o. .+o | | o.++.o.o. | | ......+. | | . o.o. | | = S o. | | . o.+. . .| | ..o=. = + | | . +.+.+.B o| | .o.o.+E+.+ | +----[SHA256]-----+
2021-01-28monitor: op-mode: T3257: Fix the CLI of tcpdumpjack9603301
2021-01-26monitor: traffic: op-mode: T3257: tcpdump supporting complete protocoljack9603301
2021-01-25bridge: op-mode: T3249: Support operation mode forwarding table outputjack9603301
2021-01-15op-mode: restart: cleanup help stringsChristian Poessinger