[libvirt] [tck PATCH v3 2/2] new NetworkHelper function get_network_ip()

Daniel P. Berrangé berrange at redhat.com
Tue Mar 6 14:22:59 UTC 2018


On Tue, Mar 06, 2018 at 09:17:52AM -0500, Laine Stump wrote:
> This function gets the first IP address for the named virtual
> network. It is returned as a Net::IP object, so that we will have info
> about its netmask/prefix and can easily get it broadcast address and
> perform arithmetic on the address.
> 
> Signed-off-by: Laine Stump <laine at laine.org>
> ---
>  Build.PL                           |  1 +
>  lib/Sys/Virt/TCK/NetworkHelpers.pm | 22 ++++++++++++++++++++++
>  2 files changed, 23 insertions(+)

Reviewed-by: Daniel P. Berrangé <berrange at redhat.com>


Regards,
Daniel
-- 
|: https://berrange.com      -o-    https://www.flickr.com/photos/dberrange :|
|: https://libvirt.org         -o-            https://fstop138.berrange.com :|
|: https://entangle-photo.org    -o-    https://www.instagram.com/dberrange :|




More information about the libvir-list mailing list