[ovs-dev] [PATCH 2/2] rhel: Add an example to specify custom options

Timothy Redaelli tredaelli at redhat.com
Mon Feb 11 18:55:53 UTC 2019


Add an example to specify custom options of ovs-vswitchd and
ovsdb-server.
In the example, the log level for file and console destinations is set to dbg.

Signed-off-by: Timothy Redaelli <tredaelli at redhat.com>
---
 rhel/usr_share_openvswitch_scripts_systemd_sysconfig.template | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/rhel/usr_share_openvswitch_scripts_systemd_sysconfig.template b/rhel/usr_share_openvswitch_scripts_systemd_sysconfig.template
index 936445402..c467d02db 100644
--- a/rhel/usr_share_openvswitch_scripts_systemd_sysconfig.template
+++ b/rhel/usr_share_openvswitch_scripts_systemd_sysconfig.template
@@ -21,6 +21,10 @@
 #   --ovs-vswitchd-wrapper=valgrind
 #   --ovsdb-server-wrapper=valgrind
 #
+# Specify additional options, for example to start with debug logs:
+#   --ovs-vswitchd-options='-vconsole:dbg -vfile:dbg'
+#   --ovsdb-server-options='-vconsole:dbg -vfile:dbg'
+#
 OPTIONS=""
 
 # Uncomment and set the OVS User/Group value
-- 
2.20.1



More information about the dev mailing list