As we discussed with msvec personnally: - we need to keep separated modules, because of backward compatibility - in cached map should be only reference to data stored in modules because in proposal several modules need "fresh" data Bye, Michal Michal Zugec wrote / napísal(a):
Hi all,
I want to make some changes with internal data structures in lan module (maybe later in other modules).
Status now: - there are about 4 lists/maps (hwinfo, network configuration, hwcfg configuration, table items description) + some informations read from /sys filesystem - there are more places when these items are "matched" and there was some bugs that sometimes with different results ;-)
Idea: - create one list of maps and match them just once - also I want to put there information from udev rules
Example:
list<map> lan_configuration = [ $[ "id":0, "hwcfg" : ... "ifcfg" : ... "hwinfo" : ... "table_descr" : ... "udev" : ... ], $[ "id":1, ... ] ]
Not detected devices will have "nil" for hwcfg and not configured will have nil for ifcfg ...
What do you think? Michal
-- Best Regards, Michal Zugec Software developer --------------------------------------------------------------------- SuSE CR, s.r.o. e-mail: mzugec@suse.cz Lihovarska 1060/12 tel: +420 284 028 960 190 00 Praha 9 fax: +420 296 542 374 Czech Republic http://www.suse.cz/ -- To unsubscribe, e-mail: yast-devel+unsubscribe@opensuse.org For additional commands, e-mail: yast-devel+help@opensuse.org