blob: 69963f5bef27c215f5eeda07e5f96eeee1755603 (
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
|
<?xml version="1.0"?>
<interfaceDefinition>
<node name="generate">
<children>
<node name="psk">
<properties>
<help>Generate PSK key</help>
</properties>
<children>
<node name="random">
<properties>
<help>Generate random hex PSK key</help>
</properties>
<command>${vyos_op_scripts_dir}/generate_psk.py</command>
<children>
<tagNode name="size">
<properties>
<help>Key size in bytes</help>
</properties>
<command>${vyos_op_scripts_dir}/generate_psk.py --hex_size "$5"</command>
</tagNode>
</children>
</node>
</children>
</node>
</children>
</node>
</interfaceDefinition>
|