forked from openvswitch/ovs
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ovs-vsctl: Add --if-exists option to many database commands.
A few ovs-vsctl commands have accepted --if-exists options for some time, to make it possible to execute them in cases where it doesn't really matter if the records they touch exist. This commit adds this option to other commands. This is intended for initial use with "ovs-vsctl set interface <iface> ofport_request=<number>" commands in ovs-ctl for upgrades from OVS 1.9 to later versions. This makes a very small incompatible change to the ovs-vsctl "get" command: previously with --if-exists, only keys in map columns were allowed to be missing; now with --if-eixsts, also records are allowed to be missing. CC: Gurucharan Shetty <[email protected]> Signed-off-by: Ben Pfaff <[email protected]>
- Loading branch information
Showing
4 changed files
with
114 additions
and
38 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters