[netcf-devel] [PATCH] Implement ncf_if_status()
Daniel P. Berrange
berrange at redhat.com
Fri Oct 23 16:32:03 UTC 2009
On Fri, Oct 23, 2009 at 10:34:54AM -0400, Laine Stump wrote:
> A couple of questions on this topic:
>
> 1) I didn't add anything to ncftool that exercises this new
> functionality. Do you see any use to this? (The information is given
> implicitly by "list").
It could be useful to include it in the list output, eg
instead of
ncftool> list --all
eth0
eth1
lo
ppp0
have
ncftool> list --all
eth0 UP
eth1 UP
lo UP
ppp0 DOWN
or some less crude formatting
> 2) Would it be useful to also add this information to the xml of
> ncf_if_xml_state()? If so, any suggestions on what it should look like?
I don't think it is relevant there, because whether an interface is up
or down is not configuration information.
Regards,
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