summaryrefslogtreecommitdiff
path: root/interface-definitions/include/nat-translation-options.xml.i
blob: c8900590f0f9c56a8248001498dc387cb475e48b (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
<!-- 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 none</list>
        </completionHelp>
        <valueHelp>
          <format>random</format>
          <description>Randomize source port mapping</description>
        </valueHelp>
        <valueHelp>
          <format>none</format>
          <description>Do not apply port randomization</description>
        </valueHelp>
        <constraint>
          <regex>(random|none)</regex>
        </constraint>
      </properties>
      <defaultValue>none</defaultValue>
    </leafNode>
  </children>
</node>
<!-- include end -->