Folks,

There is currently (in the Clearview gate) little uniformity in libdladm 
functions.  Some take link names (like the aggregation management 
functions), others take link id's (like some of the VLAN management 
functions, and the create function even takes both).

I believe we need consistency, and it's not clear to me which model is 
better.  If we require callers of the API to translate names to ID's, 
then application code may be more complex.  On the other hand, if 
applications use link-id's, they can use a single link-id for the 
lifetime of the process and not have to worry about being subject to 
link renames.  Another variable is that we don't view renames as a 
frequent or normal operation...

What are other's thoughts on this?

-Seb

Reply via email to