]> git.proxmox.com Git - ovs.git/blame - xenserver/README
ovs-bugtool: Add ovs-appctl dpif commands to debug bundle.
[ovs.git] / xenserver / README
CommitLineData
bc391960 1This directory contains files for seamless integration of Open vSwitch on
064af421
BP
2Citrix XenServer hosts managed by the Citrix management tools.
3
02892690
BP
4Files in this directory are licensed on a file-by-file basis. Please
5refer to each file for details.
064af421 6
299915ea
JP
7Most of the files in this directory are installed on a XenServer system
8under the same name; underscores are replaced by slashes. The files are:
064af421 9
bc391960 10 etc_init.d_openvswitch
064af421 11
bc391960 12 Initializes Open vSwitch at boot and shuts it down at shutdown.
064af421 13
bc391960 14 etc_init.d_openvswitch-xapi-update
064af421 15
bc391960 16 Init script to ensure openvswitch-cfg-update is called for the
064af421
BP
17 current host at boot.
18
bc391960 19 etc_logrotate.d_openvswitch
064af421 20
bc391960
JP
21 Ensures that logs in /var/log/openvswitch are rotated
22 periodically and that appropriate daemons reopen their log
23 files at that point.
064af421 24
bc391960 25 etc_profile.d_openvswitch.sh
064af421 26
bc391960 27 Open vSwitch-related shell functions for the administrator's
064af421
BP
28 convenience.
29
bc391960 30 etc_xapi.d_plugins_openvswitch-cfg-update
064af421
BP
31
32 xapi plugin script to update the cache of configuration items
bc391960 33 in the ovs-vswitchd configuration that are managed in the
064af421
BP
34 xapi database when integrated with Citrix management tools.
35
36 etc_xensource_scripts_vif
37
bc391960
JP
38 Open vSwitch-aware replacement for Citrix script of the same name.
39
40 openvswitch-xen.spec
41
42 spec file for building RPMs to install on a XenServer host.
064af421
BP
43
44 opt_xensource_libexec_interface-reconfigure
299915ea
JP
45 opt_xensource_libexec_InterfaceReconfigureBridge.py
46 opt_xensource_libexec_InterfaceReconfigure.py
47 opt_xensource_libexec_InterfaceReconfigureVswitch.py
064af421 48
299915ea
JP
49 Open vSwitch-aware replacements for Citrix script of the same
50 names.
51
52 usr_lib_xsconsole_plugins-base_XSFeatureVSwitch.py
53
54 xsconsole plugin to configure the pool-wide configuration keys
55 used to control Open vSwitch when integrated with Citrix
56 management tools.
064af421 57
a49fe70c 58 usr_share_openvswitch_scripts_ovs-xapi-sync
df09921d
JP
59
60 Daemon to monitor the external_ids columns of the Bridge and
a49fe70c
JP
61 Interface OVSDB tables for changes that require interrogating
62 XAPI.
df09921d 63
bc391960 64 usr_share_openvswitch_scripts_sysconfig.template
692c92e0 65
6c88547d 66 Template for Open vSwitch's /etc/sysconfig/openvswitch
bc391960 67 configuration file.
692c92e0 68
299915ea
JP
69Open vSwitch installs a number of xen-bugtool extensions in
70/etc/xensource/bugtool to gather additional information useful for
71debugging. The sources for the extensions are in
72../utilities/bugtool/plugins:
5ea61afe 73
299915ea 74 kernel-info/openvswitch.xml
5ea61afe 75
299915ea
JP
76 Collect kernel information relevant to Open vSwitch, such as
77 slabinfo.
5ea61afe 78
299915ea 79 network-status/openvswitch.xml
5ea61afe 80
299915ea
JP
81 Collect networking information relevant to Open vSwitch. Runs
82 the following scripts, which are described below:
92dbd5c9 83
299915ea
JP
84 * ovs-bugtool-cfm-show
85 * ovs-bugtool-lcap-show
86 * ovs-bugtool-ovsdb-dump
87 * ovs-bugtool-tc-class-show
271c896e 88 * ovs-bugtool-bond-show
9933c207
GS
89 * ovs-bugtool-ovs-ofctl-show
90 * ovs-bugtool-ovs-ofctl-dump-flows
740f68d7 91 * ovs-bugtool-ovs-appctl-dpif
92dbd5c9 92
299915ea 93 system-configuration/openvswitch.xml
064af421 94
299915ea 95 Collect system configuration information relevant to Open vSwitch,
a2af1e9d
AS
96 including timezone. Runs the following script which is described
97 below:
98
99 * ovs-bugtool-daemons-ver
299915ea
JP
100
101 system-configuration.xml
102
103 Collect system configuration data. This category is configured
104 to collect up to 1Mb of data, take up to 60 seconds to collect
105 data, run every time and is hidden from display in XenCenter.
106
107A number of scripts are installed in /usr/share/openvswitch/scripts to
108assist Open vSwitch's xen-bugtool extensions. The sources for the
109scripts are located in ../utilities/bugtool:
110
111 ovs-bugtool-cfm-show
112
113 Script to dump detailed CFM information for all enabled interfaces.
114
115 ovs-bugtool-lacp-show
116
117 Script to dump detailed LACP information for all enabled ports.
118
119 ovs-bugtool-ovsdb-dump
120
121 Script to dump contents of Open vSwitch configuration database
122 in comma-separated value format.
123
124 ovs-bugtool-tc-class-show
125
126 Script to dump tc class configuration for all network interfaces.
064af421 127
9933c207
GS
128 ovs-bugtool-ovs-ofctl-show
129
130 Script to dump information about flow tables and ports of each bridge.
131
132 ovs-bugtool-ovs-ofctl-dump-flows
133
134 Script to dump openflow flows of each bridge.
135
740f68d7
GS
136 ovs-bugtool-ovs-appctl-dpif
137
138 Script to collect a summary of configured datapaths and datapath flows.
139
a2af1e9d
AS
140 ovs-bugtool-daemons-ver
141
142 Script to dump version information for all Open vSwitch daemons.
143
064af421 144----------------------------------------------------------------------
e0edde6f 145Copyright (C) 2009, 2010, 2011 Nicira, Inc.
064af421
BP
146
147Copying and distribution of this file, with or without modification,
148are permitted in any medium without royalty provided the copyright
149notice and this notice are preserved. This file is offered as-is,
150without warranty of any kind.