[libvirt] Report guest IPs as XML or struct?
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...
Size: 617 bytes
Desc: OpenPGP digital signature
More information about the libvir-list