5 Jun
2007
5 Jun
'07
08:12
Dňa Ut 5. Jún 2007 10:08 Michal Zugec napísal:
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?
I think Michal had reasons why there were 4 lists. Michal? Stano -- To unsubscribe, e-mail: yast-devel+unsubscribe@opensuse.org For additional commands, e-mail: yast-devel+help@opensuse.org