summaryrefslogtreecommitdiff
path: root/interface-definitions/vpn_rsa-keys.xml.in
blob: 2d8e97f4fb834a0e73243bbabb1597022c1c4aab (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
<?xml version="1.0"?>
<interfaceDefinition>
  <node name="vpn">
    <children>
      <node name="rsa-keys" owner="${vyos_conf_scripts_dir}/vpn_rsa-keys.py">
        <properties>
          <help>RSA keys</help>
          <priority>900</priority>
        </properties>
        <children>
          <node name="local-key">
            <properties>
              <help>Local RSA key</help>
            </properties>
            <children>
              <leafNode name="file">
                <properties>
                  <help>Local RSA key file location</help>
                  <valueHelp>
                    <format>txt</format>
                    <description>File in /config/auth or /config/ipsec.d/rsa-keys</description>
                  </valueHelp>
                </properties>
              </leafNode>
            </children>
          </node>
          <tagNode name="rsa-key-name">
            <properties>
              <help>Name of remote RSA key</help>
            </properties>
            <children>
              <leafNode name="rsa-key">
                <properties>
                  <help>Remote RSA key</help>
                  <valueHelp>
                    <format>txt</format>
                    <description>Remote RSA key</description>
                  </valueHelp>
                </properties>
              </leafNode>
            </children>
          </tagNode>
        </children>
      </node>
    </children>
  </node>
</interfaceDefinition>