blob: 2996dce42bcba8851550d1c3c38a8006f4c6174f [file] [log] [blame]
Sreeju Sreedhare3fefd92019-04-02 15:57:15 -07001###############################################################################
2#
3# This is the example/default ovs-ctl config file.
4#
5# ovs-ctl config files will be searched and read, by default, int he following
6# order:
7#
8# /opt/ovs/ovs-ctl-default.conf
9# ~/.ovs-ctl
10#
11# This behavior can be modified and change specifically on the command line:
12#
13# Change the location of the default config file:
14# > ovs-ctl --default-config-file=/path/to/file
15#
16# Disable the default config file:
17# > ovs-ctl --no-default
18#
19# Read these specific config files:
20# > ovs-ctl --config-file file1 file2 file3
21#
22# Note: The default config file reading behavior is equivalent to:
23#
24# > ovs-ctl --default /opt/ovs/ovs-ctl-default.conf --config-file ~/.ovs-ctl
25#
26# This is also equivalent to:
27# > ovs-ctl --no-default --config-file /opt/ovs/ovs-ctl-default.conf ~/.ovs-ctl
28#
29#
30###############################################################################
31
32#
33# Default options can be specified here
34#
35[Defaults]
36# Default all configurations to 1.4.0
37config:1.4.0
38
39#
40# Specific OVS configurations go here
41#
42[1.4.0]
43# ovs-1.4.0, configured and built into /opt/ovs/1.4.0
44# Can be selected with 'ovs-ctl.py --config 1.4.0'
45ovs_src_dir:/opt/ovs/src/openvswitch-1.4.0
46ovs_base_dir:/opt/ovs/1.4.0
47ovs_runtime_dir:/var/run/ovs/1.4.0
48
49
50[1.3.0]
51# ovs-1.3.0, configured and built into /opt/ovs/1.3.0
52# Can be selected with 'ovsctl.py --config 1.3.0'
53ovs_src_dir:/opt/ovs/src/openvswitch-1.3.0
54ovs_base_dir:/opt/ovs/1.3.0
55ovs_runtime_dir:/var/run/ovs/1.3.0
56
57[1.2.2]
58# ovs-1.2.2, configured and built into /opt/ovs/1.2.2
59# Can be selected with 'ovsctl.py --config 1.2.2'
60ovs_src_dir:/opt/ovs/src/openvswitch-1.2.2
61ovs_base_dir:/opt/ovs/1.2.2
62ovs_runtime_dir:/var/run/ovs/1.2.2
63
64#
65# In the above configurations, the locations of the tools
66# are derived by ovs-ctl relative to 'ovs_src_dir' and 'ovs_base_dir'
67#
68# Individual tools and locations can be specified directly in
69# the configuration (as well as the command line):
70#
71# Try:
72# 'ovs-ctl.py --no-default --config-file ovs-ctl-default.example.conf --config MyExample'
73#
74# In general, every command line option can be specified in a config file section.
75#
76# The precedence of options is:
77# 1. Command Line Options
78# 2. [The Config You Specified]
79# 3. [The Defaults sections]
80#
81
82[MyExampleConfig]
83ovs_vswitchd_schema:/path/to/vswitch/schema/file
84ovs_vswitchdL:/path/to/vswitchd
85ovs_vsctl:/path/to/vsctl
86ovs_ofctl:/path/to/ofctl
87ovsdb_tool:/path/to/ovsdb_tool
88ovsd_db_file:/path/to/ovs_db_file
89ovs_db_sock:/path/to/ovs_db_sock
90ovs_kmod:/path/to/ovs_kmod
91
92
93
94
95
96