summaryrefslogtreecommitdiff
path: root/op-mode-definitions/execute-ssh.xml.in
blob: 7fa656f5eb0978390565fd3434137a01a9925c25 (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
31
32
33
34
<?xml version="1.0"?>
<interfaceDefinition>
  <node name="execute">
    <children>
      <node name="ssh">
        <properties>
          <help>SSH to a node</help>
        </properties>
        <children>
          <tagNode name="host">
            <properties>
              <help>Hostname or IP address</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/ssh $4</command>
            <children>
              <tagNode name="user">
                <properties>
                  <help>Remote server username</help>
                  <completionHelp>
                    <list>&lt;username&gt;</list>
                  </completionHelp>
                </properties>
                <command>/usr/bin/ssh $6@$4</command>
              </tagNode>
            </children>
          </tagNode>
        </children>
      </node>
    </children>
  </node>
</interfaceDefinition>