Hey,
On Wed, Sep 4, 2013 at 6:37 PM, linaishan <leeskat...@gmail.com> wrote: > ** > Thanks Alex. > The command "ovs-vsctl set bridge br0 fail-mode=secure" works well. > I tried to find the description of the command in the ovs-vsctl user > document. > The result is I don't find the command format you given, but a format like > "ovs-vsctl set-fail-mode br0 secure" > The function of the two formats is equal. > Cloud you tell me where can find the format you given, I guess maybe there > are some other assets. > The content of "man ovs-vswitchd.conf.db" is too much, I haven't read them. > Hope what you will give is not the content of "man ovs-vswitchd.conf.db". > All "ovs-vsctl" commands are for database configuration. The "set-fail-mode" is like a shortcut the the "set bridge fail-mode=". And actually it is recorded in the man page, excerpt is given below: """ * [--if-exists] set table record column[:key]=value...* Sets the value of each specified column in the given record in table to value. For map columns, a key may optionally be specified, in which case the value associated with key in that column is changed (or added, if none exists), instead of the entire map. Without --if-exists, it is an error if record does not exist. With --if-exists, this command does nothing if record does not exist. [--if-exists] add table record column [key=]value... Adds the specified value or key-value pair to column in record in table. If column is a map, then key is required, otherwise it is prohibited. If key already exists in a map column, then the current value is not replaced (use the set command to replace an existing value). Without --if-exists, it is an error if record does not exist. With --if-exists, this command does nothing if record does not exist. [--if-exists] remove table record column value... [--if-exists] remove table record column key... [--if-exists] remove table record column key=value... Removes the specified values or key-value pairs from column in record in table. The first form applies to col‐ umns that are not maps: each specified value is removed from the column. The second and third forms apply to map columns: if only a key is specified, then any key-value pair with the given key is removed, regardless of its value; if a value is given then a pair is removed only if both key and value match. It is not an error if the column does not contain the specified key or value or pair. Without --if-exists, it is an error if record does not exist. With --if-exists, this command does nothing if record does not exist. [--if-exists] clear table record column... Sets each column in record in table to the empty set or empty map, as appropriate. This command applies only to columns that are allowed to be empty. Without --if-exists, it is an error if record does not exist. With --if-exists, this command does nothing if record does not exist. """ The "man ovs-vswitchd.conf.db" records all the fields that can be modified by the "vsctl set" command.
_______________________________________________ discuss mailing list discuss@openvswitch.org http://openvswitch.org/mailman/listinfo/discuss