]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commitdiff
PortOpt cleanups
authorGary Kotton <gkotton@vmware.com>
Sun, 1 Nov 2015 08:46:13 +0000 (01:46 -0700)
committerGary Kotton <gkotton@vmware.com>
Tue, 3 Nov 2015 07:48:03 +0000 (23:48 -0800)
Commit 44d73d1ad3073958c8d5cce933deedc7e6ea5f83 added support
for oslo.config 2.6.

Commit 4d2cb851b7b7d6399163ca9f624f656a3e41ac34 added this to Neutron.

The patch adds a few missing items.

Change-Id: Id36515e28458c354ddb6fe3656f182d17df08f8a

etc/neutron/plugins/ml2/openvswitch_agent.ini
neutron/plugins/ml2/drivers/openvswitch/agent/common/config.py

index ad096871f678e46c2d547457e9b295e99ef277af..28c4d2c2ef329b26f0943bc306c9075415573b35 100644 (file)
@@ -62,7 +62,7 @@
 # Used only for 'native' driver.
 # of_listen_address = 127.0.0.1
 #
-# (IntOpt)
+# (PortOpt)
 # Port to listen on for OpenFlow connections.
 # Used only for 'native' driver.
 # of_listen_port = 6633
 # Example: tunnel_types = vxlan
 # Example: tunnel_types = vxlan, gre
 
-# (IntOpt) The port number to utilize if tunnel_types includes 'vxlan'. By
+# (PortOpt) The port number to utilize if tunnel_types includes 'vxlan'. By
 # default, this will make use of the Open vSwitch default value of '4789' if
 # not specified.
 #
index edc51326b95705f20dcb9379e784105c1ce4d57c..2d732334de7d77ac3eab9b2b458e3960b1c48a2b 100644 (file)
@@ -58,7 +58,7 @@ ovs_opts = [
                      "Used only for 'native' driver.")),
     cfg.PortOpt('of_listen_port', default=6633,
                 help=_("Port to listen on for OpenFlow connections. "
-                      "Used only for 'native' driver.")),
+                       "Used only for 'native' driver.")),
     cfg.IntOpt('of_connect_timeout', default=30,
                help=_("Timeout in seconds to wait for "
                       "the local switch connecting the controller. "