[driver-discuss] Re: [brussels-dev] dladm show-linkprop enhancements
sowmini.varadhan at sun.com
sowmini.varadhan at sun.com
Tue Jun 26 13:16:33 PDT 2007
On (06/26/07 16:03), Peter Memishian wrote:
>
> > LINK PROPERTY VALUE DEFAULT POSSIBLE
> > <foo> zone ...
> > <foo> mtu ...
> >
> > Ethernet properties:
> >
> > LINK DUPLEX CAPABLE ADV PEERADV
> > <foo> half 10M 10M 10M
> > <foo> full 10M,100M,1G 10M,100M,1G 10M,100M
> >
> > (assuming that <foo> was ethernet)
> >
> > i.e., the show-linkprop command recurses once by default to produce the
> > show-<linkclass> command?
>
> And it would do something totally different for parseable output mode
> (otherwise, how would scripts survive)? How would things like "-o" work?
> I don't much care for this.
Ok, so then we are back to showing output between show-linkprop and
show-<linktype>.
Since "show-linkprop" is the more general of the two (it has more of
a burden to have the same output format for all link types), and
given that we want ndd users to switch to dladm, I would venture
that show-linkprop should just print the "sea of properties" (inluding
MII props for ethernet) and the show-<linktype> can print a concise
output (like the one above).
--Sowmini
More information about the driver-discuss
mailing list