]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commitdiff
Fix flag name for l3 agent external network id
authorTakaaki Suzuki <suzuki@midokura.com>
Tue, 25 Sep 2012 06:32:33 +0000 (15:32 +0900)
committerTakaaki Suzuki <suzuki@midokura.com>
Wed, 26 Sep 2012 09:11:39 +0000 (18:11 +0900)
Bug #1056720

Change-Id: I744da7e1584d5230a23c4fc8b6fc258814babfa9

etc/l3_agent.ini
quantum/agent/l3_agent.py

index 5eb52ef3210e8cb20cc8e0cafbd3bccef6247f4e..586c6670447b3516e3516cc64b5be7b0bc49a0ca 100644 (file)
@@ -34,7 +34,7 @@ root_helper = sudo
 # value should be set to the UUID of that external network.  If empty,
 # the agent will enforce that only a single external networks exists and
 # use that external network id
-# gateway_external_net_id =
+# gateway_external_network_id =
 
 # Indicates that this L3 agent should also handle routers that do not have
 # an external network gateway configured.  This option should be True only
index 0630824dfa34c8af6b8589e97c8234724645e772..526a67610b31d17c73e6c353bc7755b218a3a366 100644 (file)
@@ -181,7 +181,7 @@ class L3NATAgent(object):
         params = {'router:external': True}
         ex_nets = self.qclient.list_networks(**params)['networks']
         if len(ex_nets) > 1:
-            raise Exception("must configure 'external_network_id' if "
+            raise Exception("must configure 'gateway_external_network_id' if "
                             "Quantum has more than one external network.")
         if len(ex_nets) == 0:
             return None