Skip to content

Commit

Permalink
Fix flag name for l3 agent external network id
Browse files Browse the repository at this point in the history
Bug #1056720

Change-Id: I744da7e1584d5230a23c4fc8b6fc258814babfa9
  • Loading branch information
Takaaki Suzuki committed Sep 26, 2012
1 parent 6194ab2 commit 70e684f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion etc/l3_agent.ini
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion quantum/agent/l3_agent.py
Expand Up @@ -181,7 +181,7 @@ def _fetch_external_net_id(self):
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
Expand Down

0 comments on commit 70e684f

Please sign in to comment.