aboutsummaryrefslogtreecommitdiff
path: root/utilities
diff options
context:
space:
mode:
authorBen Pfaff <blp@nicira.com>2011-07-07 13:19:31 -0700
committerBen Pfaff <blp@nicira.com>2011-07-13 12:44:50 -0700
commit516d7492d827f7dafa229d65a0d0a8d982cfdf43 (patch)
tree3b3dfc982d5ad9bb66be6304e90b0d05613dfcd3 /utilities
parent7a35bf89e26ca0834cb3d4c09be2e0e75d30803a (diff)
ovs-bugtool: Include conf.db backups in bugtool output.
When an upgrade or downgrade fails due to OVSDB issues, it is useful to have the old versions of the database available.
Diffstat (limited to 'utilities')
-rw-r--r--utilities/bugtool/automake.mk1
-rw-r--r--utilities/bugtool/plugins/system-logs/openvswitch.xml21
2 files changed, 22 insertions, 0 deletions
diff --git a/utilities/bugtool/automake.mk b/utilities/bugtool/automake.mk
index 1d4f94e1..7d8d136e 100644
--- a/utilities/bugtool/automake.mk
+++ b/utilities/bugtool/automake.mk
@@ -6,6 +6,7 @@ bugtool_plugins = \
utilities/bugtool/plugins/kernel-info/openvswitch.xml \
utilities/bugtool/plugins/network-status/openvswitch.xml \
utilities/bugtool/plugins/system-configuration.xml \
+ utilities/bugtool/plugins/system-logs/openvswitch.xml \
utilities/bugtool/plugins/system-configuration/openvswitch.xml
bugtool_scripts = \
diff --git a/utilities/bugtool/plugins/system-logs/openvswitch.xml b/utilities/bugtool/plugins/system-logs/openvswitch.xml
new file mode 100644
index 00000000..a54e897b
--- /dev/null
+++ b/utilities/bugtool/plugins/system-logs/openvswitch.xml
@@ -0,0 +1,21 @@
+<!--
+ This library is free software; you can redistribute it and/or modify
+ it under the terms of version 2.1 of the GNU Lesser General Public
+ License as published by the Free Software Foundation.
+
+ This library is distributed in the hope that it will be useful, but
+ WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ Lesser General Public License for more details.
+
+ You should have received a copy of the GNU Lesser General Public
+ License along with this library; if not, write to the Free Software
+ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
+ USA.
+
+ Copyright (C) 2011 Nicira Networks.
+-->
+
+<collect>
+ <directory label="ovsdb-backups" pattern=".*/conf.db.backup[0-9][^/]*$">/etc/openvswitch</directory>
+</collect>