libvirt/tests/networkxml2xmlupdateout/openvswitch-net-more-portgroups.xml
Ján Tomko 2d9185a9f3 Test network update XML parsing
Add checks for updating sections of network definition via
virNetworkDefUpdateSection.

https://bugzilla.redhat.com/show_bug.cgi?id=989569
2013-08-28 08:05:46 +02:00

45 lines
1.0 KiB
XML

<network>
<name>openvswitch-net</name>
<uuid>81ff0d90-c92e-6742-64da-4a736edb9a8b</uuid>
<forward mode='bridge'/>
<virtualport type='openvswitch'/>
<portgroup name='alison'>
<vlan trunk='yes'>
<tag id='4'/>
<tag id='8'/>
<tag id='13'/>
<tag id='1990'/>
</vlan>
<virtualport>
<parameters profileid='alison-profile'/>
</virtualport>
</portgroup>
<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>