diff options
author | Christian Poessinger <christian@poessinger.com> | 2020-03-28 20:49:16 +0100 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2020-03-28 20:49:16 +0100 |
commit | d74f6594be0a6d7697c9deb5a677a82576139b98 (patch) | |
tree | 56ba52b263f9f393a789019106259d92d7fe07d0 /op-mode-definitions/show-interfaces-wirelessmodem.xml | |
parent | 458ccfc2f0fe46d399d2412af60d8ade26b57f65 (diff) | |
parent | 722925e159cee6bdaba6f9f2090aedf443c1f032 (diff) | |
download | vyos-1x-d74f6594be0a6d7697c9deb5a677a82576139b98.tar.gz vyos-1x-d74f6594be0a6d7697c9deb5a677a82576139b98.zip |
Merge branch 't1988-xml-wirelessmodem' into current
* t1988-xml-wirelessmodem:
wwan: T1988: add ipv6 addressing nodes
pppoe: T1318: add command to show statistics
wwan: T1988: ppp: change order of debug and logfile options
wwan: T1988: migrate operational mode commands
wwan: T1988: support interface disable
wwan: T1988: add support for Sierra Wireless MC7710 modem
wwan: T1988: initial XML/Python representation
Diffstat (limited to 'op-mode-definitions/show-interfaces-wirelessmodem.xml')
-rw-r--r-- | op-mode-definitions/show-interfaces-wirelessmodem.xml | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/op-mode-definitions/show-interfaces-wirelessmodem.xml b/op-mode-definitions/show-interfaces-wirelessmodem.xml new file mode 100644 index 000000000..681f54f3d --- /dev/null +++ b/op-mode-definitions/show-interfaces-wirelessmodem.xml @@ -0,0 +1,45 @@ +<?xml version="1.0"?> +<interfaceDefinition> + <node name="show"> + <children> + <node name="interfaces"> + <children> + <tagNode name="wirelessmodem"> + <properties> + <help>Show Wireless Modem (WWAN) interface information</help> + <completionHelp> + <script>${vyos_completion_dir}/list_wlm_peers.sh</script> + </completionHelp> + </properties> + <command>${vyatta_bindir}/vyatta-show-interfaces.pl --intf="$4"</command> + <children> + <node name="log"> + <properties> + <help>Show PPPoE logs</help> + </properties> + <command>cat /var/log/vyatta/ppp_$4.log</command> + <children> + <leafNode name="tail"> + <properties> + <help>Watch PPPoE logs</help> + </properties> + <command>tail --follow=name /var/log/vyatta/ppp_$4.log</command> + </leafNode> + </children> + </node> + <leafNode name="statistics"> + <properties> + <help>Show specified wirelessmodem interface statistics</help> + <completionHelp> + <script>${vyos_completion_dir}/list_wlm_peers.sh</script> + </completionHelp> + </properties> + <command>/usr/sbin/pppstats $4</command> + </leafNode> + </children> + </tagNode> + </children> + </node> + </children> + </node> +</interfaceDefinition> |