summaryrefslogtreecommitdiff
path: root/interface-definitions/include/firewall/nft-queue.xml.i
blob: 8799eac74dc4e982c7964d4be8a84bbdb0ccd919 (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
<!-- include start from firewall/nft-queue.xml.i -->
<leafNode name="queue">
  <properties>
    <help>Queue target to use. Action queue must be defined to use this setting</help>
    <valueHelp>
      <format>u32:0-65535</format>
      <description>Queue target</description>
    </valueHelp>
    <constraint>
      <validator name="numeric" argument="--allow-range --range 0-65535"/>
    </constraint>
  </properties>
</leafNode>
<leafNode name="queue-options">
  <properties>
    <help>Options used for queue target. Action queue must be defined to use this setting</help>
    <completionHelp>
      <list>bypass fanout</list>
    </completionHelp>
    <valueHelp>
      <format>bypass</format>
      <description>Let packets go through if userspace application cannot back off</description>
    </valueHelp>
    <valueHelp>
      <format>fanout</format>
      <description>Distribute packets between several queues</description>
    </valueHelp>
    <constraint>
      <regex>(bypass|fanout)</regex>
    </constraint>
    <multi/>
  </properties>
</leafNode>
<!-- include end -->