summaryrefslogtreecommitdiff
path: root/interface-definitions/include/firewall/match-vlan.xml.i
blob: 44ad02c99e4865b0de877341d3a9a711c88749d2 (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 -->