<h5><a name="elementVlanTag">Setting VLAN tag (on supported network types only)</a></h5>
<pre>
- ...
- <devices>
- <interface type='bridge'>
- <b><vlan trunk='yes'></b>
- <b><tag id='42'/></b>
- <b><tag id='47'/></b>
- <b></vlan></b>
- <source bridge='ovsbr0'/>
- <virtualport type='openvswitch'>
- <parameters interfaceid='09b11c53-8b5c-4eeb-8f00-d84eaa0aaa4f'/>
- </virtualport>
- </interface>
- <interface type='bridge'>
- <b><vlan trunk='yes'></b>
- <b><tag id='42'/></b>
- <b><tag id='123' nativeMode='untagged'/></b>
- <b></vlan></b>
- ...
- </interface>
- <devices>
- ...</pre>
+<network>
+ <name>ovs-net</name>
+ <forward mode='bridge'/>
+ <bridge name='ovsbr0'/>
+ <virtualport type='openvswitch'>
+ <parameters interfaceid='09b11c53-8b5c-4eeb-8f00-d84eaa0aaa4f'/>
+ </virtualport>
+ <b><vlan trunk='yes'></b>
+ <b><tag id='42' nativeMode='untagged'/></b>
+ <b><tag id='47'/></b>
+ <b></vlan></b>
+ <portgroup name='dontpanic'>
+ <b><vlan></b>
+ <b><tag id='42'/></b>
+ <b></vlan></b>
+ </portgroup>
+</network>
+</pre>
<p>
If (and only if) the network type supports vlan tagging