summaryrefslogtreecommitdiff
path: root/interface-definitions/include/firewall/nat-balance.xml.i
blob: ac60a2545aa01dcef3c786941528a949dee7f5d3 (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
<!-- include start from firewall/nat-balance.xml.i -->
<tagNode name="member">
  <properties>
    <help>Translated IP address</help>
    <valueHelp>
      <format>ipv4</format>
      <description>IPv4 address to match</description>
    </valueHelp>
    <constraint>
      <validator name="ipv4-address"/>
    </constraint>
  </properties>
  <children>
    <leafNode name="weight">
      <properties>
        <help>Set probability for this output value</help>
        <valueHelp>
          <format>u32:1-100</format>
          <description>Set probability for this output value</description>
        </valueHelp>
        <constraint>
          <validator name="numeric" argument="--allow-range --range 1-100"/>
        </constraint>
      </properties>
    </leafNode>
  </children>
</tagNode>
<!-- include end -->