<form>
    <field>
        <id>vlan.vlanif</id>
        <label>Device</label>
        <type>text</type>
        <help>
          Leave empty to generate a device name. Custom names are possible, but only if the
          start of the name matches the required prefix and contains numeric characters or
          dots, e.g. "vlan0.1.2" or "qinq0.3.4".
        </help>
    </field>
    <field>
        <id>vlan.if</id>
        <label>Parent</label>
        <type>dropdown</type>
        <help>Only VLAN capable interfaces will be shown.</help>
    </field>
    <field>
        <id>vlan.tag</id>
        <label>VLAN tag</label>
        <type>text</type>
        <help>802.1Q VLAN tag (between 1 and 4094)</help>
    </field>
    <field>
        <id>vlan.pcp</id>
        <label>VLAN priority</label>
        <type>dropdown</type>
        <help>802.1Q VLAN PCP (priority code point)</help>
    </field>
    <field>
        <id>vlan.proto</id>
        <type>dropdown</type>
        <advanced>true</advanced>
        <help>Enforce protocol selection. 802.1Q is the default for VLAN interfaces, but 802.1ad is used when the parent is a VLAN (QinQ).</help>
        <grid_view>
            <visible>false</visible>
        </grid_view>
    </field>
    <field>
        <id>vlan.descr</id>
        <label>Description</label>
        <type>text</type>
        <help>You may enter a description here for your reference (not parsed).</help>
    </field>
</form>
