Sebastien Roy wrote: > Cathy Zhou wrote: >> It looks good. But it seems does not mention that we've now *quote* >> every value in dladm show-xxx -p output - i.e., in the form of >> key="value". > > I've added the following section, let me know what you think: > > 2.10 dladm parseable output > > The format of parseable output for all dladm show-* subcommands is > being modified as follows: > > <key>="<value>" [<key>="<value>" ...] > > The notable change here is that every value is explicitly quoted to > better support values with embedded space characters, and preceded by > a <key>= idendifier string. > > Example show-link output: > > # dladm show-link -p > LINK="bge0" CLASS="phys" MTU="1500" STATE="up" OVER="--" > LINK="bge1" CLASS="phys" MTU="1500" STATE="unknown" OVER="--" > LINK="myvlan0" CLASS="vlan" MTU="1500" STATE="up" OVER="bge0" > LINK="myaggr0" CLASS="aggr" MTU="1500" STATE="unknown" OVER="bge1" > Looks good! Thank you.
- Cathy
