summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--op-mode-definitions/connect-disconnect.xml11
-rw-r--r--op-mode-definitions/show-console-server.xml13
2 files changed, 10 insertions, 14 deletions
diff --git a/op-mode-definitions/connect-disconnect.xml b/op-mode-definitions/connect-disconnect.xml
index f0fcef5da..ea2883e0b 100644
--- a/op-mode-definitions/connect-disconnect.xml
+++ b/op-mode-definitions/connect-disconnect.xml
@@ -2,9 +2,18 @@
<interfaceDefinition>
<node name="connect">
<properties>
- <help>Establish a connection</help>
+ <help>Establish connection</help>
</properties>
<children>
+ <tagNode name="console">
+ <properties>
+ <help>Connect to device attached to serial console server</help>
+ <completionHelp>
+ <path>service console-server device</path>
+ </completionHelp>
+ </properties>
+ <command>/usr/bin/console "$3"</command>
+ </tagNode>
<tagNode name="interface">
<properties>
<help>Bring up a connection-oriented network interface</help>
diff --git a/op-mode-definitions/show-console-server.xml b/op-mode-definitions/show-console-server.xml
index e47b6cfaa..77a7f3376 100644
--- a/op-mode-definitions/show-console-server.xml
+++ b/op-mode-definitions/show-console-server.xml
@@ -1,18 +1,5 @@
<?xml version="1.0"?>
<interfaceDefinition>
- <node name="connect">
- <children>
- <tagNode name="console">
- <properties>
- <help>Connect to device attached to serial console server</help>
- <completionHelp>
- <path>service console-server device</path>
- </completionHelp>
- </properties>
- <command>/usr/bin/console "$3"</command>
- </tagNode>
- </children>
- </node>
<node name="show">
<children>
<node name="log">