summaryrefslogtreecommitdiff
path: root/op-mode-definitions/force-mtu-host.xml
blob: b92179f111518a40c9649022c673c3564e4c59dd (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="force">
    <children>
      <node name="mtu">
        <properties>
          <help>Show MTU max value for remote host protocol TCP</help>
        </properties>
        <children>
          <tagNode name="host">
            <properties>
              <help>IP address of the remote 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>${vyos_op_scripts_dir}/force_mtu_host.sh $4</command>
            <children>
              <tagNode name="interface">
                <properties>
                  <help>Source interface</help>
                  <completionHelp>
                    <script>${vyos_completion_dir}/list_interfaces.py</script>
                  </completionHelp>
                </properties>
                <command>${vyos_op_scripts_dir}/force_mtu_host.sh $4 $6</command>
              </tagNode>
            </children>
          </tagNode>
        </children>
      </node>
    </children>
  </node>
</interfaceDefinition>