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(a)redhat.com +1-919-301-3266
Libvirt virtualization library
http://libvirt.org