[libvirt] Report guest IPs as XML or struct?

Eric Blake eblake at redhat.com
Wed Nov 14 16:56:05 UTC 2012


On 11/14/2012 09:25 AM, Daniel P. Berrange wrote:
> On Wed, Nov 14, 2012 at 05:06:08PM +0100, Michal Privoznik wrote:
>> I've proposed both approaches in the past. However, none of them was
>> accepted as we ought to agree on $subj first. Frankly, both makes sense
>> to me, both has advantages and disadvantages.
>>

> IMHO, we should focus solely on interface address configuration
> and aim to provide an API equivalent to getifaddrs(3). This means
> 
>   - Name
>   - Type
>   - Prefix
>   - Address
>   - Broadcast addresss or P2p destination address
>   - Hardware address
> 
> and nothing more, in a fixed struct.

Using a fixed-size struct works for me as well.

-- 
Eric Blake   eblake at redhat.com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 617 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20121114/c8087f82/attachment-0001.sig>


More information about the libvir-list mailing list