summaryrefslogtreecommitdiff
path: root/interface-definitions/system_sysctl.xml.in
blob: bf118c24b5adb755b09b8678c009b5fbbd9ed065 (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
35
36
37
38
39
40
<?xml version="1.0"?>
<interfaceDefinition>
  <node name="system">
    <properties>
      <help>System parameters</help>
    </properties>
    <children>
      <node name="sysctl" owner="${vyos_conf_scripts_dir}/system_sysctl.py">
        <properties>
          <help>Configure kernel parameters at runtime</help>
          <priority>318</priority>
        </properties>
        <children>
          <tagNode name="parameter">
            <properties>
              <help>Sysctl key name</help>
              <completionHelp>
                <script>${vyos_completion_dir}/list_sysctl_parameters.sh</script>
              </completionHelp>
              <valueHelp>
                <format>txt</format>
                <description>Sysctl key name</description>
              </valueHelp>
              <constraint>
                <validator name="sysctl"/>
              </constraint>
            </properties>
            <children>
              <leafNode name="value">
                <properties>
                  <help>Sysctl configuration value</help>
                </properties>
              </leafNode>
            </children>
          </tagNode>
        </children>
      </node>
    </children>
  </node>
</interfaceDefinition>