> What administrative model you mean here.
 > 
 > Whenever these applications (which is libdladm API users) need to export 
 > this link to the administrative modle, they should call the 
 > dladm_linkid2info() to get the link name, and only show link names.

Yes, they should.  But that requires educating any application developers
that might use the APIs -- otherwise, we'll probably end up with commands
growing various options that take linkids.  We already have this today
with commands that operate on IP interfaces, like ping's -i option, which
can take either an IP interface name or an index (aka ID).

That said, I don't see a way to avoid this problem.

-- 
meem

Reply via email to