summaryrefslogtreecommitdiff
path: root/op-mode-definitions
AgeCommit message (Collapse)Author
2020-08-10op-mode:T2779:Fix lldp neigh interface ethXsever-sever
2020-08-03op-mode: T2546: use inline shell code for "configure"Christian Poessinger
Commit 787879ba ("configure: op-mode: move XML here") migrated the op-mode command "configure" to vyos-1x. The used shell snipped in turn sometimes complained about: "_vyatta_op_do_key_bindings: command not found". This is now resolved by moving the code entirely into the node.def file.
2020-08-03ipv6-tool: op-mode: T2724: use full path to binary and quote argumentsChristian Poessinger
2020-08-03Merge branch 'T2724' of https://github.com/jack9603301/vyos-1x into currentChristian Poessinger
* 'T2724' of https://github.com/jack9603301/vyos-1x: ipv6-tool: T2724: Support for IPv6 Toolset
2020-08-03op-mode: ping: T1600: initial XML implementationChristian Poessinger
2020-08-03op-mode: T2546: add "monitor log" commandChristian Poessinger
2020-08-03lldp: op-mode: T2323: "show lldp neighbors detail" only works when service runsChristian Poessinger
The problem exists when LLDP is not configured but one wants to run the detail command. Running "show lldp neighbors" is not possible when LLDP is not running. This case is already handled for "show lldp neighbors" and has been extended for "show lldp neighbors detail".
2020-08-03T2546: rename op-mode scripts for bandwidthChristian Poessinger
2020-08-03configure: op-mode: move XML hereChristian Poessinger
2020-08-03ipv6-tool: T2724: Support for IPv6 Toolsetjack9603301
2020-08-02op-mode: arping: T689: use full path to binaryChristian Poessinger
2020-08-02op-mode: use individual XML files for connect and disconnectChristian Poessinger
2020-08-02op-mode: console-server: T2490: cleanup XMLChristian Poessinger
Move the connect part to connect-disconnect.xml
2020-08-02wwan: pppoe: op-mode: T2488: only call pppstats when interface is upChristian Poessinger
Without this check an error will be shown: pppstats: nonexistent interface 'pppoe0' specified.
2020-08-01T2690: add VRF support to "add system image"Christian Poessinger
2020-08-01T2753: adjust "add system image" to new named command line argumentsChristian Poessinger
This is needed work for adding VRF support.
2020-08-01T2753: add new op-mode command "add system image"Christian Poessinger
2020-07-29op-mode: T2560: rename "show system usb serial" to "show hardware usb serial"Christian Poessinger
This is more inline with the overall op-mode.
2020-07-27op-mode: T1117: Add show ipv6 bgp route-mapsever-sever
2020-07-24traceroute: T2723: Support tcptraceroutejack9603301
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