summaryrefslogtreecommitdiff
path: root/op-mode-definitions/telnet.xml.in
blob: c5bb6d2837110a5b7571b7769ad5e066e65eb1ae (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
<?xml version="1.0"?>
<interfaceDefinition>
  <node name="telnet">
    <properties>
      <help>Telnet to a node</help>
    </properties>
    <children>
      <tagNode name="to">
        <properties>
          <help>Telnet to a host</help>
          <completionHelp>
            <list>&lt;hostname&gt; &lt;x.x.x.x&gt; &lt;h:h:h:h:h:h:h:h&gt;</list>
          </completionHelp>
        </properties>
        <command>/usr/bin/telnet $3</command>
        <children>
          <tagNode name="port">
            <properties>
              <help>Telnet to a host:port</help>
              <completionHelp>
                <list>&lt;0-65535&gt;</list>
              </completionHelp>
            </properties>
            <command>/usr/bin/telnet $3 $5</command>
          </tagNode>
        </children>
      </tagNode>
    </children>
  </node>
</interfaceDefinition>