mirror of
https://github.com/libvirt/libvirt.git
synced 2026-09-03 20:53:04 -05:00
Soon, individual test cases of networkxml2xmltest will be subject to networkValidate() call. This means, that input XMLs must be valid (or marked as expected fail). Anyway, there are couple of offenders: 1) 8021Qbh-net.xml setting vlan for <forward mode='private'/> is unsupported, 2) hostdev.xml networkValidate() will check if hostdevs specified for <forward mode='hostdev'/> are VFs. Use PCI addresses from virpcimock. 3) openvswitch-net.xml for <forward mode='bridge'/> only openvswitch type of virtualports is allowed. Signed-off-by: Michal Privoznik <mprivozn@redhat.com> Reviewed-by: Ján Tomko <jtomko@redhat.com>
34 lines
849 B
XML
34 lines
849 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 type='openvswitch'>
|
|
<parameters profileid='bob-profile'/>
|
|
</virtualport>
|
|
</portgroup>
|
|
<portgroup name='alice'>
|
|
<vlan trunk='yes'>
|
|
<tag id='888'/>
|
|
<tag id='808'/>
|
|
<tag id='909'/>
|
|
</vlan>
|
|
<virtualport>
|
|
<parameters profileid='alice-profile'/>
|
|
</virtualport>
|
|
</portgroup>
|
|
<portgroup name='native'>
|
|
<vlan trunk='yes'>
|
|
<tag id='123' nativeMode='tagged'/>
|
|
<tag id='444'/>
|
|
</vlan>
|
|
<virtualport type='openvswitch'>
|
|
<parameters profileid='native-profile'/>
|
|
</virtualport>
|
|
</portgroup>
|
|
</network>
|