Modify for net update test

Add function to get sub section of Network xml
It is used by https://github.com/autotest/tp-libvirt/pull/113