[PATCH 0/3] test_driver: improve testDomainInterfaceAddresses

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This patch series introduces the following improvements to the
testDomainInterfaceAddresses function:

- if a dhcp range is defined for the network, addresses are returned
  from there (instead of hard-coded addresses that were returned before)
- if the network is IPv6 even when a dhcp range is not defined IPv6
  addresses will be returned instead of IPv4
- the @source argument is validated
- only networks of type VIR_DOMAIN_NET_TYPE_NETWORK are considered

Ilias Stamatis (3):
  test_driver: validate @source in testDomainInterfaceAddresses
  test_driver: return addresses only for nets of type network
  test_driver: consider DHCP ranges in testDomainInterfaceAddresses

 src/test/test_driver.c | 96 +++++++++++++++++++++++++++++++++++++-----
 1 file changed, 86 insertions(+), 10 deletions(-)

--
2.22.0

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list



[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux