[brussels-dev] Displaying MII props in dladm
Peter Memishian
peter.memishian at Sun.COM
Fri Jul 20 19:27:18 PDT 2007
> We could have something like this:
>
> -----------------------------------------------------------------
> current capable advertised link-partner
> advertised
> -----------------------------------------------------------------
> autoneg
> speed
> duplex .......
> rem_fault
> pause .......
> asm_pause
> state
> link_clock
> xcvr addr 1 -- -- --
> xcvr id 0 -- -- --
> xcvr type 10Mb/s -- -- --
> ------------------------------------------------------------------
>
> i.e., a lot of redundant dashes, but it conforms to a tabular
> output. Is that preferable?
Not to me. The other thing that seems inconsistent here is that existing
(and upcoming Clearview) show-* commands are structured so that each row
represents an object of that type -- e.g., for show-link, each line is a
link, for show-linkprop, each line is a link property, and so forth.
--
meem
More information about the brussels-dev
mailing list