One of the suggestions that have been discussed in  Project Brussels
is to provide an improvement on the popular "ndd -get /dev/<..> \?"
by providing, not just the names of the supported tuables, but
a short description of what the tunable means, allowed values,
and other useful info. 

A lot of useful info is already provided by "dladm show-linkprop". 
Currently (i.e., in Nevada), for example, this does:

LINK         PROPERTY        VALUE          DEFAULT        POSSIBLE             
bge0         zone            --             --             --                   

so that, post-Brussels, this would get extended to something like the output
below:

LINK         PROPERTY        VALUE          DEFAULT        POSSIBLE             
bge1         zone            --             --             --                   
bge1         link_duplex     full           full           full, half, none
bge1         link_speed      1000           1000           10, 1000
bge1         link_status     up             up             up, down
bge1         adv_autoneg_cap 1              1              0, 1
bge1         default_mtu     9000           1500           0 - 9000

It would be useful to have some additional information about the property
(for example, a pointer to the ieee802.3(5) man page for adv_autoneg_cap), 
but clearly, there is not much room left in the output above, if we
assume the standard 80 char window. Putting the description in its own
line (and interspersing that above) is also not likely to 
be universally appealing.

What would be a good way of providing additional description? A verbose
flag passed to dladm (such as the -v used for netstat)? A new flag/argument
to dladm? Thoughts?

--Sowmini


Reply via email to