summaryrefslogtreecommitdiff
path: root/op-mode-definitions
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2020-06-18 18:55:22 +0200
committerChristian Poessinger <christian@poessinger.com>2020-06-18 21:46:13 +0200
commitb242e24af4d870e936155bdbd965858bdd39aa98 (patch)
tree1f71fcc56ba12fe3bc3ad9633bf5e611607bf9d6 /op-mode-definitions
parenta1ba7bae02673aca63a7006cf683ad5d541a5054 (diff)
downloadvyos-1x-b242e24af4d870e936155bdbd965858bdd39aa98.tar.gz
vyos-1x-b242e24af4d870e936155bdbd965858bdd39aa98.zip
console-server: T2490: move CLI parsing to get_config_dict()
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.
Diffstat (limited to 'op-mode-definitions')
-rw-r--r--op-mode-definitions/connect-disconnect.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/op-mode-definitions/connect-disconnect.xml b/op-mode-definitions/connect-disconnect.xml
index 3d9262335..a394e9b91 100644
--- a/op-mode-definitions/connect-disconnect.xml
+++ b/op-mode-definitions/connect-disconnect.xml
@@ -22,7 +22,7 @@
<path>service serial-proxy device</path>
</completionHelp>
</properties>
- <command>/usr/bin/telnet localhost $(cli-shell-api returnActiveValue service serial-proxy device "$3" port)</command>
+ <command>/usr/bin/console "$3"</command>
</tagNode>
</children>
</node>