[netcf-devel] [PATCH] Implement ncf_if_status()
Daniel P. Berrange
berrange at redhat.com
Fri Oct 23 16:28:53 UTC 2009
On Thu, Oct 22, 2009 at 05:37:40PM -0400, Laine Stump wrote:
> Here's a first draft of a suggested new API, subject to change based
> on comments.
>
> ncf_if_status returns various status bits about the given interface. As a
> start, only a single bit is defined:
>
> NETCF_IFACE_STATUS_UP
>
> This bit is set if the interface is currently up (active) and not set if it
> is currently down (inactive).
>
> The value of all other bits should be considered random by an
> application program, as later versions of netcf may use them. In other
> words, you should always mask out all the other bits.
ACK, this looks sufficient for the usage I was wanting in libvirt.
Daniel
--
|: Red Hat, Engineering, London -o- http://people.redhat.com/berrange/ :|
|: http://libvirt.org -o- http://virt-manager.org -o- http://ovirt.org :|
|: http://autobuild.org -o- http://search.cpan.org/~danberr/ :|
|: GnuPG: 7D3B9505 -o- F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 :|
More information about the netcf-devel
mailing list