Correct the wrong calling 'getExternalNetworkIdForRouter'

In 'io.murano.system.NetworkExplorer', there is a
'get_external_network_id_for_network' method calling
'getExternalNetworkIdForRouter' to get external network id for specific
router interface, which should be 'get_external_network_id_for_router'

Change-Id: Id2046106e274b8f6682703659ab8e27233d49209
Closes-Bug: #1638923
This commit is contained in:
zhurong 2017-01-06 10:30:54 +08:00
parent 2e52f3d1ca
commit 2eb086769f
1 changed files with 1 additions and 1 deletions

View File

@ -151,7 +151,7 @@ class NetworkExplorer(object):
# For each router this network is connected to
# check if the router has external_gateway set
for router_port in router_ports:
ext_net_id = self.getExternalNetworkIdForRouter(
ext_net_id = self.get_external_network_id_for_router(
router_port.get('device_id'))
if ext_net_id:
return ext_net_id