summaryrefslogtreecommitdiff
path: root/interface-definitions/system_option.xml.in
blob: d15e391f58be9433e545611a04fb411bf69aa269 (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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
<?xml version="1.0"?>
<interfaceDefinition>
  <node name="system">
    <children>
      <node name="option" owner="${vyos_conf_scripts_dir}/system_option.py">
        <properties>
          <help>System Options</help>
          <priority>9999</priority>
        </properties>
        <children>
          <leafNode name="ctrl-alt-delete">
            <properties>
              <help>System action on Ctrl-Alt-Delete keystroke</help>
              <completionHelp>
                <list>ignore reboot poweroff</list>
              </completionHelp>
              <valueHelp>
                <format>ignore</format>
                <description>Ignore key sequence</description>
              </valueHelp>
              <valueHelp>
                <format>reboot</format>
                <description>Reboot system</description>
              </valueHelp>
              <valueHelp>
                <format>poweroff</format>
                <description>Poweroff system</description>
              </valueHelp>
              <constraint>
                <regex>(ignore|reboot|poweroff)</regex>
              </constraint>
              <constraintErrorMessage>Must be ignore, reboot, or poweroff</constraintErrorMessage>
            </properties>
           </leafNode>
           <node name="kernel">
             <properties>
               <help>Kernel boot parameters</help>
             </properties>
             <children>
               <leafNode name="disable-mitigations">
                 <properties>
                   <help>Disable all optional CPU mitigations</help>
                   <valueless/>
                 </properties>
               </leafNode>
               <leafNode name="disable-power-saving">
                <properties>
                  <help>Disable CPU power saving mechanisms also known as C states</help>
                  <valueless/>
                </properties>
              </leafNode>
              <leafNode name="amd-pstate-driver">
                <properties>
                  <help>Enables and configures pstate driver for AMD Ryzen and Epyc CPUs</help>
                  <completionHelp>
                    <list>active passive guided</list>
                  </completionHelp>
                  <valueHelp>
                    <format>active</format>
                    <description>This is the low-level firmware control mode based on the profile set and the system governor has no effect</description>
                  </valueHelp>
                  <valueHelp>
                    <format>passive</format>
                    <description>The driver allows the system governor to manage CPU frequency while providing available performance states</description>
                  </valueHelp>
                  <valueHelp>
                    <format>guided</format>
                    <description>The driver allows to set desired performance levels and the firmware selects a performance level in this range and fitting to the current workload</description>
                  </valueHelp>
                </properties>
              </leafNode>
              <node name="debug">
                <properties>
                  <help>Dynamic debugging for kernel module</help>
                </properties>
                <children>
                  <leafNode name="wireguard">
                    <properties>
                      <help>Dynamic debugging for Wireguard module</help>
                      <valueless/>
                    </properties>
                  </leafNode>
                </children>
              </node>
             </children>
           </node>
           <leafNode name="keyboard-layout">
             <properties>
               <help>System keyboard layout, type ISO2</help>
               <completionHelp>
                 <list>us uk fr de es fi jp106 no dk se-latin1 dvorak</list>
               </completionHelp>
               <valueHelp>
                 <format>us</format>
                 <description>United States</description>
               </valueHelp>
               <valueHelp>
                 <format>uk</format>
                 <description>United Kingdom</description>
               </valueHelp>
               <valueHelp>
                 <format>fr</format>
                 <description>France</description>
               </valueHelp>
               <valueHelp>
                 <format>de</format>
                 <description>Germany</description>
               </valueHelp>
               <valueHelp>
                 <format>es</format>
                 <description>Spain</description>
               </valueHelp>
               <valueHelp>
                 <format>fi</format>
                 <description>Finland</description>
               </valueHelp>
               <valueHelp>
                 <format>jp106</format>
                 <description>Japan</description>
               </valueHelp>
               <valueHelp>
                 <format>no</format>
                 <description>Norway</description>
               </valueHelp>
               <valueHelp>
                 <format>dk</format>
                 <description>Denmark</description>
               </valueHelp>
               <valueHelp>
                 <format>se-latin1</format>
                 <description>Sweden</description>
               </valueHelp>
               <valueHelp>
                 <format>dvorak</format>
                 <description>Dvorak</description>
               </valueHelp>
               <constraint>
                <regex>(us|uk|fr|de|es|fi|jp106|no|dk|se-latin1|dvorak)</regex>
              </constraint>
              <constraintErrorMessage>Invalid keyboard layout</constraintErrorMessage>
             </properties>
             <defaultValue>us</defaultValue>
           </leafNode>
           <leafNode name="performance">
            <properties>
              <help>Tune system performance</help>
              <completionHelp>
                <list>throughput latency</list>
              </completionHelp>
              <valueHelp>
                <format>throughput</format>
                <description>Tune for maximum network throughput</description>
              </valueHelp>
              <valueHelp>
                <format>latency</format>
                <description>Tune for low network latency</description>
              </valueHelp>
              <constraint>
                <regex>(throughput|latency)</regex>
              </constraint>
            </properties>
           </leafNode>
           <node name="http-client">
             <properties>
               <help>Global options used for HTTP client</help>
             </properties>
             <children>
               #include <include/source-interface.xml.i>
               #include <include/source-address-ipv4-ipv6.xml.i>
             </children>
           </node>
           <leafNode name="reboot-on-panic">
             <properties>
               <help>Reboot system on kernel panic</help>
               <valueless/>
             </properties>
           </leafNode>
           <node name="ssh-client">
             <properties>
               <help>Global options used for SSH client</help>
             </properties>
             <children>
               #include <include/source-address-ipv4-ipv6.xml.i>
               #include <include/source-interface.xml.i>
             </children>
           </node>
           <leafNode name="startup-beep">
             <properties>
               <help>plays sound via system speaker when you can login</help>
               <valueless/>
             </properties>
           </leafNode>
           <leafNode name="root-partition-auto-resize">
             <properties>
               <help>Enable root partition auto-extention on system boot</help>
               <valueless/>
             </properties>
           </leafNode>
           <leafNode name="time-format">
            <properties>
              <help>System time-format</help>
              <completionHelp>
                <list>12-hour 24-hour</list>
              </completionHelp>
              <valueHelp>
                <format>12-hour</format>
                <description>12 hour time format</description>
              </valueHelp>
              <valueHelp>
                <format>24-hour</format>
                <description>24 hour time format</description>
              </valueHelp>
              <constraint>
                <regex>(12-hour|24-hour)</regex>
              </constraint>
            </properties>
            <defaultValue>12-hour</defaultValue>
           </leafNode>
           <leafNode name="disable-usb-autosuspend">
            <properties>
              <help>Disable autosuspend for all USB devices</help>
              <valueless/>
            </properties>
           </leafNode>
        </children>
      </node>
    </children>
  </node>
</interfaceDefinition>