Re: [libvirt] [tck PATCH v2 2/4] new NetworkHelper function get_network_ip()

2018-03-06 Thread Daniel P . Berrangé
On Mon, Mar 05, 2018 at 03:32:02PM -0500, Laine Stump wrote: > On 03/05/2018 10:15 AM, Daniel P. Berrangé wrote: > > On Mon, Mar 05, 2018 at 10:10:36AM -0500, Laine Stump wrote: > >> On 03/05/2018 04:31 AM, Daniel P. Berrangé wrote: > >>> On Thu, Mar 01, 2018 at 09:49:58PM -0500, Laine Stump

Re: [libvirt] [tck PATCH v2 2/4] new NetworkHelper function get_network_ip()

2018-03-05 Thread Laine Stump
On 03/05/2018 10:15 AM, Daniel P. Berrangé wrote: > On Mon, Mar 05, 2018 at 10:10:36AM -0500, Laine Stump wrote: >> On 03/05/2018 04:31 AM, Daniel P. Berrangé wrote: >>> On Thu, Mar 01, 2018 at 09:49:58PM -0500, Laine Stump wrote: This function gets the first IP address for the named virtual

Re: [libvirt] [tck PATCH v2 2/4] new NetworkHelper function get_network_ip()

2018-03-05 Thread Daniel P . Berrangé
On Mon, Mar 05, 2018 at 10:10:36AM -0500, Laine Stump wrote: > On 03/05/2018 04:31 AM, Daniel P. Berrangé wrote: > > On Thu, Mar 01, 2018 at 09:49:58PM -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

Re: [libvirt] [tck PATCH v2 2/4] new NetworkHelper function get_network_ip()

2018-03-05 Thread Laine Stump
On 03/05/2018 04:31 AM, Daniel P. Berrangé wrote: > On Thu, Mar 01, 2018 at 09:49:58PM -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

Re: [libvirt] [tck PATCH v2 2/4] new NetworkHelper function get_network_ip()

2018-03-05 Thread Daniel P . Berrangé
On Thu, Mar 01, 2018 at 09:49:58PM -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

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

2018-03-01 Thread Laine Stump
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 --- Change