XenServer: Add knowledge of vswitch to xen-bugtool
authorJustin Pettit <jpettit@nicira.com>
Wed, 5 Aug 2009 23:02:19 +0000 (16:02 -0700)
committerJustin Pettit <jpettit@nicira.com>
Fri, 7 Aug 2009 01:04:37 +0000 (18:04 -0700)
commit16cd277e74b37072301c395c0067d1a17184e533
tree940df9229c5216f3d62daf4d354e89fa4ef63e5d
parente7bd7d78b1e1dbc2162f991374c7889c7d7bf60c
XenServer: Add knowledge of vswitch to xen-bugtool

The xen-bugtool tool gathers information that may be useful in debugging
problems.  This commit modifies that script to add support for vswitch.
Currently, the information we collect is:

    - /etc/ovs-vswitchd.conf
    - ovs-dpctl show
    - Cores in /var/xen/vswitch
    - ovs-ofctl show <bridges>
    - ovs-ofctl status <bridges>
    - ovs-ofctl dump-flows <bridges>
    - ovs-dpctl dump-flows <bridges>

This commit also modifies the way cores are handled.  They are now
enabled by default and placed in "/var/xen/vswitch".

Feature #1570
xenserver/README
xenserver/automake.mk
xenserver/etc_init.d_vswitch
xenserver/etc_sysconfig_vswitch.example
xenserver/usr_sbin_xen-bugtool [new file with mode: 0755]
xenserver/vswitch-xen.spec