[netcf-devel] MAC lookup, alternative 1
Jonas Eriksson
jonas.j.eriksson at ericsson.com
Wed Aug 5 07:28:51 UTC 2009
Hi,
Time to show some code for the MAC lookup. This is one of the
alternatives where I am pretty cruel to the internal XML schema
(augeas.rng) as well by replacing path with name. Don't get too upset
about this, as it is mostly an experiment to se what happens to the
code. As imagined, some things get easier and some things get harder.
Besides s/path/name/, a mac-attribute is added to the tree so that the
lookup can be made already when reading the tree-tag. The bonus is
that this is an indicator that this is handled by netcf, rather than
the backend.
/Jonas
More information about the netcf-devel
mailing list