mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-23 14:15:28 +00:00
861d40565e
This patch adds functionality to allow libvirt to configure the 'native-tagged' and 'native-untagged' modes on openvswitch networks. Signed-off-by: Laine Stump <laine@redhat.com>
34 lines
811 B
XML
34 lines
811 B
XML
<network>
|
|
<name>openvswitch-net</name>
|
|
<uuid>81ff0d90-c92e-6742-64da-4a736edb9a8b</uuid>
|
|
<forward mode='bridge'/>
|
|
<virtualport type='openvswitch'/>
|
|
<portgroup name='bob' default='yes'>
|
|
<vlan trunk='yes'>
|
|
<tag id='666'/>
|
|
</vlan>
|
|
<virtualport>
|
|
<parameters profileid='bob-profile'/>
|
|
</virtualport>
|
|
</portgroup>
|
|
<portgroup name='alice'>
|
|
<vlan trunk='yes'>
|
|
<tag id='777'/>
|
|
<tag id='888'/>
|
|
<tag id='999'/>
|
|
</vlan>
|
|
<virtualport>
|
|
<parameters profileid='alice-profile'/>
|
|
</virtualport>
|
|
</portgroup>
|
|
<portgroup name='native'>
|
|
<vlan trunk='yes'>
|
|
<tag id='123' nativeMode='tagged'/>
|
|
<tag id='444'/>
|
|
</vlan>
|
|
<virtualport>
|
|
<parameters profileid='native-profile'/>
|
|
</virtualport>
|
|
</portgroup>
|
|
</network>
|