[netcf-devel] MAC lookup, alternative 2

Jonas Eriksson jonas.j.eriksson at ericsson.com
Wed Aug 5 07:37:48 UTC 2009


Hi,

This is another alternative when implementing the MAC lookup.

Four points about these mails:
* These are experimental and are not supposed to be committed as-is,
  but rather commented on.
* normalize_if is a name inherited from earlier work, it should
  perhaps be named something like interface_lookup.
* Some mix of these patches is not excluded.
* dutil.c now includes dutil_linux.h. Utility functions that should
  exist on all platforms should be lifted out to dutil__os.h or
  similar.

This patch set does not change any XML schemas, and do as little as
possible to include the functionality of MAC lookup to the initscripts
driver. This means that we have to lookup HWADDR by going through all
subnodes to /forest/tree before being able to write any infomation,
and that the path attribute have to be regenerated each time.

Feel free to comment.

/Jonas



More information about the netcf-devel mailing list