projects
/
openvswitch
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ovsdb-idl: Fix atomicity of writes that don't change a column's value.
[openvswitch]
/
xenserver
/
etc_xapi.d_plugins_openvswitch-cfg-update
diff --git
a/xenserver/etc_xapi.d_plugins_openvswitch-cfg-update
b/xenserver/etc_xapi.d_plugins_openvswitch-cfg-update
index e1c854610ea679fb27a07cde81e697648ad4839c..f001d2f61706cdac56863870cfb48a6b960de582 100755
(executable)
--- a/
xenserver/etc_xapi.d_plugins_openvswitch-cfg-update
+++ b/
xenserver/etc_xapi.d_plugins_openvswitch-cfg-update
@@
-99,7
+99,8
@@
def update(session, args):
if not xapi_dib:
xapi_dib = ''
if not xapi_dib:
xapi_dib = ''
- ovs_dib = vswitchCfgQuery(['get', 'Bridge', bridge,
+ ovs_dib = vswitchCfgQuery(['--', '--if-exists', 'get', 'Bridge',
+ bridge,
'other_config:disable-in-band']).strip('"')
# Do nothing if setting is invalid, and warn the user.
'other_config:disable-in-band']).strip('"')
# Do nothing if setting is invalid, and warn the user.