debian: Move OVSDB schema and ovsdb-tool to openvswitch-switch.
authorBen Pfaff <blp@nicira.com>
Tue, 26 Jul 2011 16:46:38 +0000 (09:46 -0700)
committerBen Pfaff <blp@nicira.com>
Wed, 27 Jul 2011 00:14:36 +0000 (17:14 -0700)
ovs-vswitchd in the openvswitch-switch package is tightly coupled to its
database schema.  During development, it's possible to change the schema
without changing the Open vSwitch version number, which makes it possible
for the openvswitch-switch and openvswitch-common packages to get out of
sync: openvswitch-switch requires the same version of openvswitch-common,
but if the version number doesn't get updated that has no effect.

Actually putting the schema and ovs-vswitchd (its primary user) in the
same package prevents them from getting out-of-sync.  This commit also
moves ovsdb-tool because that program often works directly with OVSDB
schemas and so there's not much point having it around without a schema to
work with.

debian/openvswitch-common.install
debian/openvswitch-switch.install

index 7448747..758c59c 100644 (file)
@@ -4,7 +4,5 @@ usr/bin/ovs-ofctl
 usr/bin/ovs-parse-leaks
 usr/bin/ovs-pki
 usr/bin/ovsdb-client
-usr/bin/ovsdb-tool
 usr/sbin/ovs-bugtool
 usr/share/openvswitch/scripts/ovs-bugtool-tc-class-show
-usr/share/openvswitch/vswitch.ovsschema
index 4fa87bd..308c382 100644 (file)
@@ -3,8 +3,10 @@ usr/bin/ovs-pcap
 usr/bin/ovs-tcpundump
 usr/bin/ovs-vlan-test
 usr/bin/ovs-vsctl
+usr/bin/ovsdb-tool
 usr/sbin/ovs-vswitchd
 usr/sbin/ovsdb-server
 usr/share/openvswitch/scripts/ovs-ctl
 usr/share/openvswitch/scripts/ovs-lib.sh
 usr/share/openvswitch/scripts/ovs-save
+usr/share/openvswitch/vswitch.ovsschema