Cleanup default file locations and XenServer packaging
authorJustin Pettit <jpettit@nicira.com>
Fri, 26 Mar 2010 05:38:13 +0000 (22:38 -0700)
committerJustin Pettit <jpettit@nicira.com>
Fri, 26 Mar 2010 21:40:31 +0000 (14:40 -0700)
commitbc39196036f8e33d15274855087f0c47be2095ee
tree5102d7683bf3b113ba0a73de3487ec6f86e38be2
parent16f2ae571fc7d21f13c9ddbe4e948d8f35552ae5
Cleanup default file locations and XenServer packaging

This commit cleans up the locations of a number of files and directories
used.  These include:

    - Config file lives in /etc/openvswitch/conf.db
    - Logs go into /var/log/openvswitch
    - ovsdb-server socket is /var/run/openvswitch/db.sock
    - Schema goes into /usr/share/openvswitch/vswitch.ovsschema
    - PID files go in /var/run/openvswitch

For XenServer, these additional changes are made:

    - Cores go in /var/xen/openvswitch
    - OVS binaries run in /var/xen/openvswitch

In addition, it attempts to cleanup the XenServer packaging.  This
includes referring to the project as "openvswitch" as opposed to the
somewhat presumptuous "vswitch".

Note: Changes to the Debian packaging will be forthcoming.
24 files changed:
INSTALL.Linux
INSTALL.SSL
INSTALL.XenServer
INSTALL.bridge
debian/openvswitch-switch.init
lib/dirs.h
lib/unixctl.c
m4/openvswitch.m4
utilities/ovs-vsctl.8.in
utilities/ovs-vsctl.c
xenserver/README
xenserver/automake.mk
xenserver/etc_init.d_openvswitch [moved from xenserver/etc_init.d_vswitch with 85% similarity]
xenserver/etc_init.d_openvswitch-xapi-update [moved from xenserver/etc_init.d_vswitch-xapi-update with 100% similarity]
xenserver/etc_logrotate.d_openvswitch [moved from xenserver/etc_logrotate.d_vswitch with 72% similarity]
xenserver/etc_profile.d_openvswitch.sh [moved from xenserver/etc_profile.d_vswitch.sh with 77% similarity]
xenserver/etc_xapi.d_plugins_openvswitch-cfg-update [moved from xenserver/etc_xapi.d_plugins_vswitch-cfg-update with 93% similarity]
xenserver/etc_xensource_scripts_vif
xenserver/openvswitch-xen.spec [moved from xenserver/vswitch-xen.spec with 64% similarity]
xenserver/usr_lib_xsconsole_plugins-base_XSFeatureVSwitch.py
xenserver/usr_sbin_brctl
xenserver/usr_sbin_xen-bugtool
xenserver/usr_share_openvswitch_scripts_refresh-network-uuids [moved from xenserver/usr_share_vswitch_scripts_refresh-network-uuids with 100% similarity]
xenserver/usr_share_openvswitch_scripts_sysconfig.template [moved from xenserver/usr_share_vswitch_scripts_sysconfig.template with 92% similarity]