[ovs-dev] xenserver: use ovs-vsctl for VIF VLAN configuration instead of /var/lib/openvswitch/br-*

Ben Pfaff blp at nicira.com
Thu Oct 15 22:46:28 UTC 2009


Ian Campbell <Ian.Campbell at eu.citrix.com> writes:

> Are there use cases where having multiple commands with output is
> useful? I guess the answers would be atomic and therefore self
> consistent which could be useful. I'm just wondering if we could
> restrict it to multiple "state modifying" commands (or "at most one with
> output")? It's kind of an artificial limitation but it might simplify
> things?
>
> How about '\0' separated? Since this is only likely to be used from
> scripts might that be acceptable? Alternatively blank line separated
> since all existing commands currently output one or more non-blank
> lines.

I decided that a reasonable approach was to go with what /sbin/ip
does, which is to add a --oneline option that requests a
single-line output format, inserting \n literally where a
new-line would normally appear.  This is also in the 3-patch
series that I just posted.




More information about the dev mailing list