summaryrefslogtreecommitdiff
path: root/interface-definitions/include/firewall/match-vlan.xml.i
blob: d0820f7d884152e25b35ac84b73f796f035a25a9 (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
<!-- include start from firewall/match-vlan.xml.i -->
<node name="vlan">
  <properties>
    <help>VLAN parameters</help>
  </properties>
  <children>
    <leafNode name="id">
      <properties>
        <help>VLAN id</help>
        <valueHelp>
          <format>u32:0-4096</format>
          <description>VLAN id</description>
        </valueHelp>
        <valueHelp>
          <format>&lt;start-end&gt;</format>
          <description>VLAN id range to match</description>
        </valueHelp>
        <constraint>
          <validator name="numeric" argument="--allow-range --range 0-4095"/>
        </constraint>
      </properties>
    </leafNode>
    <leafNode name="priority">
      <properties>
        <help>VLAN priority(pcp)</help>
        <valueHelp>
          <format>u32:0-7</format>
          <description>VLAN priority</description>
        </valueHelp>
        <valueHelp>
          <format>&lt;start-end&gt;</format>
          <description>VLAN priority range to match</description>
        </valueHelp>
        <constraint>
          <validator name="numeric" argument="--allow-range --range 0-7"/>
        </constraint>
      </properties>
    </leafNode>
  </children>
</node>
<!-- include end -->