tp-libvirt: Fix libvirt network bandwidth

* The portgroup attribute is only applicable with virtual network
  interface, So skip the test if the default interface is not a
  'network' type.

Signed-off-by: Hao Liu <hliu@redhat.com>
Merge pull request #165 from Hao-Liu/fix_bandwidth

tp-libvirt: Fix libvirt network bandwidth