Fix flag name for l3 agent external network id

Bug #1056720

Change-Id: I744da7e1584d5230a23c4fc8b6fc258814babfa9
This commit is contained in:
Takaaki Suzuki 2012-09-25 15:32:33 +09:00
parent 6194ab2bec
commit 70e684fd90
2 changed files with 2 additions and 2 deletions

View 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

View 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