tests: fix missing test data for network port XML

The network port XML files were not including any usage of vlan
tags or port options, and one of the files was not even processed.

Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
This commit is contained in:
Daniel P. Berrangé 2020-02-25 11:08:41 +00:00
parent 5b82f7f3af
commit 386dfa7c7b
2 changed files with 6 additions and 0 deletions

View File

@ -10,6 +10,11 @@
<inbound average='1000' peak='4000' floor='2000' burst='1024'/> <inbound average='1000' peak='4000' floor='2000' burst='1024'/>
<outbound average='128' peak='256' burst='32768'/> <outbound average='128' peak='256' burst='32768'/>
</bandwidth> </bandwidth>
<vlan trunk='yes'>
<tag id='2'/>
<tag id='1729'/>
</vlan>
<port isolated='yes'/>
<rxfilters trustGuest='yes'/> <rxfilters trustGuest='yes'/>
<plug type='network' bridge='virbr0'/> <plug type='network' bridge='virbr0'/>
</networkport> </networkport>

View File

@ -94,6 +94,7 @@ mymain(void)
DO_TEST("plug-bridge-mactbl"); DO_TEST("plug-bridge-mactbl");
DO_TEST("plug-direct"); DO_TEST("plug-direct");
DO_TEST("plug-hostdev-pci"); DO_TEST("plug-hostdev-pci");
DO_TEST("plug-network");
return ret == 0 ? EXIT_SUCCESS : EXIT_FAILURE; return ret == 0 ? EXIT_SUCCESS : EXIT_FAILURE;
} }