diff options
| author | Ben Pfaff <blp@nicira.com> | 2010-07-14 17:04:22 -0700 |
|---|---|---|
| committer | Ben Pfaff <blp@nicira.com> | 2010-07-16 09:32:11 -0700 |
| commit | e111e681e36810ac4c5a87c1428ac243ded0ab23 (patch) | |
| tree | 13e2bea19650b72bff317dbb43254cc89c79662a /utilities/ovs-vsctl.8.in | |
| parent | f51c1d9890c84c00950dbe5d174ef2682686bcb3 (diff) | |
| download | openvswitch-e111e681e36810ac4c5a87c1428ac243ded0ab23.tar.gz | |
ovs-vsctl: Do not allow record names to be abbreviated.
It's pretty risky to allow record names to be abbreviated. If eth1 through
eth20 all exist, and then someone deletes eth1, then until now an ovs-vsctl
command that mentioned eth1 would actually use eth10. This is too much of
a caveat to let loose on unsuspecting scripts, so this commit removes that
functionality.
Diffstat (limited to 'utilities/ovs-vsctl.8.in')
| -rw-r--r-- | utilities/ovs-vsctl.8.in | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/utilities/ovs-vsctl.8.in b/utilities/ovs-vsctl.8.in index 50c948234..3137a847e 100644 --- a/utilities/ovs-vsctl.8.in +++ b/utilities/ovs-vsctl.8.in @@ -464,8 +464,9 @@ specifying \fB.\fR as the record name. An sFlow configuration attached to a bridge. Records may be identified by bridge name. .PP -Names of tables, records, and columns are not case-sensitive, and -\fB\-\-\fR and \fB_\fR are treated interchangeably. Unique +Record names must be specified in full and with correct +capitalization. Names of tables and columns are not case-sensitive, +and \fB\-\-\fR and \fB_\fR are treated interchangeably. Unique abbreviations are acceptable, e.g. \fBnet\fR or \fBn\fR is sufficient to identify the \fBNetFlow\fR table. . @@ -601,11 +602,6 @@ whereas \fBget bridge br0 datapath_id \-\- wait\-until bridge br0\fR will abort if no bridge named \fBbr0\fR exists when \fBovs\-vsctl\fR initially connects to the database. .IP -Unlike all the other database commands, \fBwait\-until\fR treats its -\fIrecord\fR argument as case-sensitive and does not allow it to be -abbreviated. Otherwise, \fBwait\-until br1\fR would be satisfied by a -bridge named \fBbr10\fR. -.IP Consider specifying \fB\-\-timeout=0\fR along with \fB\-\-wait\-until\fR, to prevent \fBovs\-vsctl\fR from terminating after waiting only at most 5 seconds. |
