summaryrefslogtreecommitdiff
path: root/interface-definitions/include/interface/vlan-protocol.xml.i
blob: 2fe8d65d7486135c7ba736449fbbbacefd2f0640 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<!-- include start from interface/vif.xml.i -->
<leafNode name="protocol">
  <properties>
    <help>Protocol used for service VLAN (default: 802.1ad)</help>
    <completionHelp>
      <list>802.1ad 802.1q</list>
    </completionHelp>
    <valueHelp>
      <format>802.1ad</format>
      <description>Provider Bridging (IEEE 802.1ad, Q-inQ), ethertype 0x88a8</description>
    </valueHelp>
    <valueHelp>
      <format>802.1q</format>
      <description>VLAN-tagged frame (IEEE 802.1q), ethertype 0x8100</description>
    </valueHelp>
    <constraint>
      <regex>(802.1q|802.1ad)</regex>
    </constraint>
    <constraintErrorMessage>Ethertype must be 802.1ad or 802.1q</constraintErrorMessage>
  </properties>
  <defaultValue>802.1ad</defaultValue>
</leafNode>
<!-- include end -->