summaryrefslogtreecommitdiff
path: root/interface-definitions/include/nat-translation-options.xml.i
blob: 6b95de0459c0ebe22a0b8ac12189c5c7f7cf3338 (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 -->