> I think that you're right. There's a pre-vanity naming prototype (by
> Artem) that resulted in the text you see in the bug. Thinking about
> the interaction with vanity naming is something that I've yet to do.
I'm not sure what the contextual restrictions are here, but:
* dlpi_walk() will enumerate all of the connectionless datalinks.
* There are functions in libdladm that allow you to learn more
about a link (e.g., whether it's a VLAN, aggregation, ...) but
those functions are consolidation-private. Considering that HAL
is maintained externally, we probably need to provide some
additional stable APIs to make this work.
* I wonder if something along the lines of dlpi_enabnotify() is
needed to enable an application to quickly discover when links
are added to or removed from the system.
--
meem