summaryrefslogtreecommitdiff
path: root/op-mode-definitions
AgeCommit message (Collapse)Author
2020-07-19monitor: ndp: T2706: properly rename XML definitionChristian Poessinger
Commit 3435b251 ("monitor: ndp: T2706: remove ability to send commands") flipped the filename and placed the tree in front of the subtree. Unfurtunately I mixed up NTP and NDP. This has been corrected.
2020-07-18monitor: ndp: T2706: remove ability to send commandsChristian Poessinger
The "monitor" operational mode tree is for listening in on logfiles, chatter on the wire or other things - it subscribes to the system. Hence it should under no circumstances - ever - generate data. Sending our those requests, same as e.g. calling ndisc6 should be placed under a different node. Which one? I yet have no idea.
2020-07-18T2710: make most "run show interfaces $type" commands work again.Daniil Baturin
2020-07-18ndptool: T2706: Support NDP protocol monitoringjack9603301
It supports NDP protocol monitoring. The submission supports the following features: - Support the monitoring of specified port or all ports - Supports monitoring of specific message types - Support sending specific NDP message
2020-06-19Merge branch 'console-server' of github.com:c-po/vyos-1x into currentChristian Poessinger
* 'console-server' of github.com:c-po/vyos-1x: console-server: T2490: set service priority to 990 op-mode: console-server: T2490: rename "connect console-server" to "connect console" console-server: T2490: server must listen only on localhost op-mode: add "show ip ports" to list local opened ports console-server: T2490: add SSH support for direct device access op-mode: console-server: T2490: get connection info console-server: T2490: remove superfluous "port" node from XML definition console-server: T2490: rename CLI to console-server console-server: T2490: add SSH support console-server: T2490: log to journald console-server: T2490: move CLI parsing to get_config_dict() console-server: T2490: replace ser2net with conserver op-mode: T2490: add "connect serial-proxy" CLI command console-server: T2490: add default CLI values console-server: T2490: rename CLI to "serial-proxy" console-server: T2490: use new USB ports "by-bus" console-server: T2490: use "ls" for completion helper console-server: T2490: initial support
2020-06-19op-mode: console-server: T2490: rename "connect console-server" to "connect ↵Christian Poessinger
console"
2020-06-19op-mode: add "show ip ports" to list local opened portsChristian Poessinger
2020-06-19op-mode: console-server: T2490: get connection infoChristian Poessinger
2020-06-19op-mode: T2617: rewrite vyatta-op-quagga to XMLViacheslav Hletenko
2020-06-18console-server: T2490: rename CLI to console-serverChristian Poessinger
2020-06-18console-server: T2490: log to journaldChristian Poessinger
2020-06-18console-server: T2490: move CLI parsing to get_config_dict()Christian Poessinger
For more examples on the new get_config_dict() approach migrate this implementation as it is not yet in production use. Also this serves as proof of concept code for further migrations.
2020-06-18op-mode: T2490: add "connect serial-proxy" CLI commandChristian Poessinger
Used to connecte to a device exposed via serial proxy.
2020-06-13op-mode: T2321: add "show vrf black processes" commandChristian Poessinger
List all processes running in given VRF vyos@vyos:~$ show vrf black processes 4624 sshd 4404 ntpd
2020-06-10BFD: T2573: Fixed show command for BFD peerszsdc
As vtysh does not have a vrf option for "show bfd peer" command, the vrf part will be cut before passing a line to the vtysh.
2020-06-08T2559: Make the sensors automatically load necessary moduleskroy
2020-06-07op-mode: T2558: version: no need to call this with sudoChristian Poessinger
2020-06-07op-mode: T2558: version: split out CPU infoChristian Poessinger
Instead of using "show version" as catch-all command for information rather add "show system cpu" op-mode command which is analogous to "show system memory" which deals with RAM.
2020-06-07op-mode: rename version.xml -> show-version.xmlChristian Poessinger
2020-06-07usb: op-mode: T2560: display USB interface informationChristian Poessinger
vyos@vyos:~$ show system usb /: Bus 03.Port 1: Dev 1, Class=root_hub, Driver=ehci-pci/2p, 480M |__ Port 1: Dev 2, If 0, Class=Hub, Driver=hub/4p, 480M |__ Port 3: Dev 4, If 0, Class=Vendor Specific Class, Driver=qcserial, 480M |__ Port 3: Dev 4, If 2, Class=Vendor Specific Class, Driver=qcserial, 480M |__ Port 3: Dev 4, If 3, Class=Vendor Specific Class, Driver=qcserial, 480M |__ Port 3: Dev 4, If 8, Class=Vendor Specific Class, Driver=qmi_wwan, 480M vyos@vyos:~$ show system usb serial No USB to serial converter connected vyos@vyos:~$ show system usb serial Device Model Vendor ------ ------ ------ usb0b1.3.3.4p1.0 Quad_RS232-HS Future Technology Devices International, Ltd usb0b1.3.3.4p1.1 Quad_RS232-HS Future Technology Devices International, Ltd usb0b1.3.3.4p1.2 Quad_RS232-HS Future Technology Devices International, Ltd usb0b1.3.3.4p1.3 Quad_RS232-HS Future Technology Devices International, Ltd usb0b1.3.4p1.0 Quad_RS232-HS Future Technology Devices International, Ltd usb0b1.3.4p1.1 Quad_RS232-HS Future Technology Devices International, Ltd usb0b1.3.4p1.2 Quad_RS232-HS Future Technology Devices International, Ltd usb0b1.3.4p1.3 Quad_RS232-HS Future Technology Devices International, Ltd usb0b1.3p1.0 MC7710 Sierra Wireless, Inc. usb0b1.3p1.2 MC7710 Sierra Wireless, Inc. usb0b1.3p1.3 MC7710 Sierra Wireless, Inc. usb0b1.4p1.0 Quad_RS232-HS Future Technology Devices International, Ltd usb0b1.4p1.1 Quad_RS232-HS Future Technology Devices International, Ltd usb0b1.4p1.2 Quad_RS232-HS Future Technology Devices International, Ltd usb0b1.4p1.3 Quad_RS232-HS Future Technology Devices International, Ltd
2020-06-07pppoe: op-mode: T2488: retrieve log info from journalctlChristian Poessinger
2020-06-07wwan: op-mode: T2488: retrieve log info from journalctlChristian Poessinger
2020-06-07op-mode: T2559: add "show environment sensors" commandChristian Poessinger
vyos@vmware:~$ show environment sensors VyOS running under hypervisor, no sensors available vyos@apu4:~$ show environment sensors ath10k_hwmon-pci-0500 temp1: N/A k10temp-pci-00c3 temp1: +54.6°C (high = +70.0°C) (crit = +105.0°C, hyst = +104.0°C) fam15h_power-pci-00c4 power1: 3.28 W (interval = 0.01 s, crit = 6.00 W)
2020-06-07op-mode: ethernet: T2546: present offload output in tableChristian Poessinger
- remove first line from output (sed -e 1d) - remove leading tab indention (sed -e 's/^\t*//g') - remove colons (sed -e 's/://') - align output vertically (column -t -s' ')
2020-06-07op-mode: ethernet: T2546: do not display fixed offload optionsChristian Poessinger
[fixed] options returned by ethtool -k mean that they can not be change and thus offloading can neither be enabled nor disabled. It makes no sense to display those parameters at all.
2020-06-06op-mode: T2546: migrate show interfaces tunnel,input,pseudo-ethernet,l2tpv3 ...Christian Poessinger
Migrate additional show commands to XML * show interfaces tunnel ... * show interfaces input ... * show interfaces pseudo-ethernet ... * show interfaces l2tpv3 ... * show interfaces bridge ... * show interfaces vti ... * show interfaces vxlan ...
2020-06-06op-mode: ethernet: T2546: add "show interfaces loopback"Christian Poessinger
2020-06-06op-mode: add help text for "show mpls"Christian Poessinger
2020-06-06op-mode: add help text for "show protocols"Christian Poessinger
2020-06-06op-mode: rename show-arp.xml to show-protocols-static.xmlChristian Poessinger
2020-06-06op-mode: ethernet: T2546: add possibility to identify ethernet portChristian Poessinger
show interfaces ethernet eth0 identify
2020-06-06op-mode: dummy: T2546: add show interfaces commandChristian Poessinger
2020-06-06op-mode: ethernet: T2546: fix "show interfaces ethernet eth0"Christian Poessinger
Command node was missing.
2020-06-05op-mode: ethernet: T2546: add vif subcommandChristian Poessinger
2020-06-04op-mode: T2546: add "show monitoring" commandChristian Poessinger
2020-06-04op-mode: T2546: add "show log firewall|image" commandsChristian Poessinger
2020-06-04op-mode: T2546: add "show login" commandsChristian Poessinger
2020-06-03T2546: add "show log vpn sstp"Christian Poessinger
2020-06-03T2546: fix "show log vpn" after migrating to Accel-PPPChristian Poessinger
2020-06-03T2546: migrate "show log" to vyos-1xChristian Poessinger
2020-06-03T2546: migrate "show poweroff" to vyos-1xChristian Poessinger
2020-06-03T2546: migrate "show reboot" to vyos-1xChristian Poessinger
2020-06-03op-mode: migrate line ending from dosChristian Poessinger
2020-06-03op-mode: T2546: migrate "show license"Christian Poessinger
2020-06-03op-mode: ethernet: T2546: migrate basic commandsChristian Poessinger
- show interfaces ethernet eth0 physical - show interfaces ethernet eth0 physical offload - show interfaces ethernet eth0 statistics - show interfaces ethernet eth0 transceiver
2020-06-01dns: dynamic: op-mode: provide "restart dns dynamic" commandChristian Poessinger
... this is actually a copy of the weird "update dns dynamic" command. Some users like restart more thus both CLI notions will call the same backend script .
2020-06-01dns: dynamic: op-mode: rename XMLChristian Poessinger
2020-06-01wake-on-lan: op-mode: T2526: add CLI implementationChristian Poessinger
Wake up host vyos@vyos:~$ wake-on-lan interface eth0.201 host a:b:c:d:e:f Wake up invalid host vyos@vyos:~$ wake-on-lan interface eth0.201 host a:b:c:d:e:f:f etherwake: The Magic Packet host address must be specified as - a station address, 00:11:22:33:44:55, or - a hostname with a known 'ethers' entry.
2020-06-01dns: T2536: migrate "show log dns" from vyatta-op to vyos-1xChristian Poessinger
2020-06-01dns-forwarding: T2536: fix "show log dns forwarding"Christian Poessinger
Migrate "show" command from vyatta-op