>> if 'field' in (known field names) >> then 'field' is not a linkprop >> else >> if 'field' starts with "_" >> then 'field' is a private property > > that would match the pre-uv version of this code (which processed > the file and tried to match it with known field names, as opposed > the post-uv version that does the equivalent of a grep for the known > property names into the dlmgmtd repository). I agree that Jim's proposal > is conceptually simpler and cleaner, but not sure if the current model > creates complications in implementing this?
I wouldn't think so, it's just a change in dlmgmtd's parser, plus some restructuring to make the known names "registry" more prominent. The rest of the proposed code - libdladm changes, the door call - can remain the same. -Artem
