[ovs-dev] [PreQoS 05/13] ovs-vsctl: Support references among records at creation time.

Justin Pettit jpettit at nicira.com
Tue Jun 1 23:59:34 UTC 2010


On May 27, 2010, at 1:33 PM, Ben Pfaff wrote:

> diff --git a/utilities/ovs-vsctl.8.in b/utilities/ovs-vsctl.8.in
> index ac4cf45..670c08b 100644
> --- a/utilities/ovs-vsctl.8.in
> +++ b/utilities/ovs-vsctl.8.in
> @@ -487,8 +487,10 @@ the syntax is that of strings in JSON, e.g. backslashes may be used to
> escape special characters.  The empty string must be represented as a
> pair of double quotes (\fB""\fR).
> .IP "UUID"
> -A universally unique identifier in the style of RFC 4122,
> -e.g. \fBf81d4fae-7dec-11d0-a765-00a0c91e6bf6\fR.
> +Either a universally unique identifier in the style of RFC 4122,
> +e.g. \fBf81d4fae-7dec-11d0-a765-00a0c91e6bf6\fR, or an \fB@\fIname\fR

Did you want to escape the hyphens in the UUID?

> +.PP
> +Set the \fBqos\fR column of the \fBPort\fR record for \fBeth0\fR to
> +point to a new \fBQoS\fR record, which in turn points with its queue 0
> +to a new \fBQueue\fR record:
> +.IP
> +.B "ovs-vsctl \-\- set port eth0 qos=@qos \-\- \-\-id=@qos create qos type=linux\-htb other\-config:max\-rate=1000000 queues:0=@queue \-\- \-\-id=@queue create queue other\-config:min\-rate=1000000 other\-config:max\-rate=1000000"

I think it would be clearer if the "@" arguments didn't have the same name as the table name.

--Justin






More information about the dev mailing list