[libvirt] [PATCH 0/3] test_driver: improve testDomainInterfaceAddresses

Ilias Stamatis stamatis.iliass at gmail.com
Wed Jun 19 13:37:55 UTC 2019


On Wed, Jun 19, 2019 at 1:18 PM Ilias Stamatis
<stamatis.iliass at gmail.com> wrote:
>
> 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
>

self-NACK since I forgot to run make syntax-check and some changes
need to be done




More information about the libvir-list mailing list