]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commitdiff
Trivial fix in l3 agent
authorDongcan Ye <hellochosen@gmail.com>
Mon, 9 Nov 2015 04:53:28 +0000 (12:53 +0800)
committerDongcan Ye <hellochosen@gmail.com>
Mon, 9 Nov 2015 10:20:23 +0000 (18:20 +0800)
Remove unnecessary blank line and keep consistence about
blank space in l3 config.

Change-Id: Ia69393db85aacabad266f056995c15f043f32bfb

neutron/agent/l3/config.py
neutron/agent/l3/namespace_manager.py

index ef794f572551ceec98196b1ee9e0af009a352ed0..69c605546c335c21164082e3118623d38008082f 100644 (file)
@@ -43,16 +43,14 @@ OPTS = [
                       "in the M release.")),
     cfg.PortOpt('metadata_port',
                 default=9697,
-                help=_("TCP Port used by Neutron metadata namespace "
-                       "proxy.")),
+                help=_("TCP Port used by Neutron metadata namespace proxy.")),
     cfg.IntOpt('send_arp_for_ha',
                default=3,
                help=_("Send this many gratuitous ARPs for HA setup, if "
                       "less than or equal to 0, the feature is disabled")),
     cfg.StrOpt('router_id', default='',
-               help=_("If namespaces is disabled, the l3 agent can only"
-                      " configure a router that has the matching router "
-                      "ID.")),
+               help=_("If namespaces is disabled, the l3 agent can only "
+                      "configure a router that has the matching router ID.")),
     cfg.BoolOpt('handle_internal_only_routers',
                 default=True,
                 help=_("Agent should implement routers with no gateway")),
index 24e665533f871ace5b3c45c1704a9d7f7142d331..0b9f42ac11db3b43d6ae2ca1149463390f2b2591 100644 (file)
@@ -117,7 +117,6 @@ class NamespaceManager(object):
         """Get a set of all namespaces on host managed by this manager."""
         try:
             root_ip = ip_lib.IPWrapper()
-
             namespaces = root_ip.get_namespaces()
             return set(ns for ns in namespaces if self.is_managed(ns))
         except RuntimeError: