[netcf-devel] [PATCH 0/3] Eliminate errors and config-based ips from ncf_if_xml_state

David Lutterkort lutter at redhat.com
Wed Sep 30 18:15:30 UTC 2009


On Tue, 2009-09-29 at 14:39 -0400, Laine Stump wrote:
> The originalpatch for ncf_if_xml_state would search for the first ip
> node within the ipv4 protocol node, and replace it with the results of
> SIOCGIFADDR (or sometimes just add a new one on.)
> 
> Now we remove all ip addresses sourced from the config, even if we
> can't get any replacements from the device.

The big question (as I mentioned in the other mail) is: what does
ncf_if_xml_state report ? Only live information or a combination of live
+ configured info ? I could be persuaded either way - it mostly depends
on how people will use the results of ncf_if_xml_state: is ist mostly
for information/reporting, or should it be convenient to use the result
of ncf_if_xml_state and pass it to ncf_define ?

David




More information about the netcf-devel mailing list