Some default name of network cards is set as "eth0", "eth1" or
"em1". But
when some system doesn't contain such a name, the testcase would fail.
Hence these patches added check of default network card and if it doesn't
exists in the network info list, the default name would be changed into
the first one except "lo". The second patch is updated with default network
card check in libvirt-cim.
Xu Wang (2):
cimtest: Add default network existence check to
28_definesystem_with_vsi_profile.py
cimtest: Add default network existence check to 06_parent_net_pool.py
.../libvirt-cim/cimtest/RASD/06_parent_net_pool.py | 16 +++++++++++++---
.../28_definesystem_with_vsi_profile.py | 9 +++++++++
2 files changed, 22 insertions(+), 3 deletions(-)