projects
/
openvswitch
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ovsdb: Check for changed columns only once per transaction commit.
[openvswitch]
/
debian
/
openvswitch-switch.init
diff --git
a/debian/openvswitch-switch.init
b/debian/openvswitch-switch.init
index 1f65b693db0e5d5160658fc87aaee155c3ced891..7ce9a64508ebbbfe7736669b45415255665c1dc3 100755
(executable)
--- a/
debian/openvswitch-switch.init
+++ b/
debian/openvswitch-switch.init
@@
-209,7
+209,12
@@
case "$1" in
# Create configuration database.
ovsdb-tool -vANY:console:emer \
create /etc/openvswitch-switch/conf \
# Create configuration database.
ovsdb-tool -vANY:console:emer \
create /etc/openvswitch-switch/conf \
- /usr/share/openvswitch/vswitch-idl.ovsschema
+ /usr/share/openvswitch/vswitch.ovsschema
+ else
+ # Upgrade or downgrade schema and compact database.
+ ovsdb-tool -vANY:console:emer \
+ convert /etc/openvswitch-switch/conf \
+ /usr/share/openvswitch/vswitch.ovsschema
fi
if test "$ENABLE_MONITOR" = y; then
fi
if test "$ENABLE_MONITOR" = y; then