mirror of
https://github.com/libvirt/libvirt.git
synced 2026-10-02 12:20:06 -05:00
networkxml2xmltest: Update couple of test cases
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>
This commit is contained in:
1 parent
d07d7a6842
commit
7c9b883eb3
9 files changed
+17
-27
No files matched your search
@@ -7,7 +7,7 @@
|
||||
<vlan trunk='yes'>
|
||||
<tag id='666'/>
|
||||
</vlan>
|
||||
<virtualport>
|
||||
<virtualport type='openvswitch'>
|
||||
<parameters profileid='bob-profile'/>
|
||||
</virtualport>
|
||||
</portgroup>
|
||||
@@ -26,7 +26,7 @@
|
||||
<tag id='123' nativeMode='tagged'/>
|
||||
<tag id='444'/>
|
||||
</vlan>
|
||||
<virtualport>
|
||||
<virtualport type='openvswitch'>
|
||||
<parameters profileid='native-profile'/>
|
||||
</virtualport>
|
||||
</portgroup>
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
<vlan trunk='yes'>
|
||||
<tag id='666'/>
|
||||
</vlan>
|
||||
<virtualport>
|
||||
<virtualport type='openvswitch'>
|
||||
<parameters profileid='bob-profile'/>
|
||||
</virtualport>
|
||||
</portgroup>
|
||||
@@ -28,7 +28,7 @@
|
||||
<tag id='888'/>
|
||||
<tag id='999'/>
|
||||
</vlan>
|
||||
<virtualport>
|
||||
<virtualport type='openvswitch'>
|
||||
<parameters profileid='alice-profile'/>
|
||||
</virtualport>
|
||||
</portgroup>
|
||||
@@ -37,7 +37,7 @@
|
||||
<tag id='123' nativeMode='tagged'/>
|
||||
<tag id='444'/>
|
||||
</vlan>
|
||||
<virtualport>
|
||||
<virtualport type='openvswitch'>
|
||||
<parameters profileid='native-profile'/>
|
||||
</virtualport>
|
||||
</portgroup>
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
<vlan trunk='yes'>
|
||||
<tag id='666'/>
|
||||
</vlan>
|
||||
<virtualport>
|
||||
<virtualport type='openvswitch'>
|
||||
<parameters profileid='bob-profile'/>
|
||||
</virtualport>
|
||||
</portgroup>
|
||||
@@ -16,7 +16,7 @@
|
||||
<tag id='123' nativeMode='tagged'/>
|
||||
<tag id='444'/>
|
||||
</vlan>
|
||||
<virtualport>
|
||||
<virtualport type='openvswitch'>
|
||||
<parameters profileid='native-profile'/>
|
||||
</virtualport>
|
||||
</portgroup>
|
||||
|
||||
Reference in new issue
Block a user