summaryrefslogtreecommitdiff
path: root/op-mode-definitions/force-mtu-host.xml.in
blob: 56241678ae815b8a18f84dfa710a16ece1fe9920 (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</script>
                  </completionHelp>
                </properties>
                <command>${vyos_op_scripts_dir}/force_mtu_host.sh $4 $6</command>
              </tagNode>
            </children>
          </tagNode>
        </children>
      </node>
    </children>
  </node>
</interfaceDefinition>