summaryrefslogtreecommitdiff
path: root/interface-definitions/include/nat-translation-options.xml.i
blob: 925f901066d4e5fb9b69762622810021ba4d9bf1 (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
<!-- include start from nat-translation-options.xml.i -->
<node name="options">
  <properties>
    <help>Translation options</help>
  </properties>
  <children>
    <leafNode name="address-mapping">
      <properties>
        <help>Address mapping options</help>
        <completionHelp>
          <list>persistent random</list>
        </completionHelp>
        <valueHelp>
          <format>persistent</format>
          <description>Gives a client the same source or destination-address for each connection</description>
        </valueHelp>
        <valueHelp>
          <format>random</format>
          <description>Random source or destination address allocation for each connection</description>
        </valueHelp>
        <constraint>
          <regex>^(persistent|random)$</regex>
        </constraint>
      </properties>
      <defaultValue>random</defaultValue>
    </leafNode>
    <leafNode name="port-mapping">
      <properties>
        <help>Port mapping options</help>
        <completionHelp>
          <list>random fully-random none</list>
        </completionHelp>
        <valueHelp>
          <format>random</format>
          <description>Randomize source port mapping</description>
        </valueHelp>
        <valueHelp>
          <format>fully-random</format>
          <description>Full port randomization</description>
        </valueHelp>
        <valueHelp>
          <format>none</format>
          <description>Do not apply port randomization</description>
        </valueHelp>
        <constraint>
          <regex>^(random|fully-random|none)$</regex>
        </constraint>
      </properties>
      <defaultValue>none</defaultValue>
    </leafNode>
  </children>
</node>
<!-- include end -->