Browse Source

NSX|V3+P: Fix ladbalancer utility

Change-Id: I923d5522ab29ec495174a6dd981f938ad742c9a9
changes/10/705610/1
asarfaty Adit Sarfaty 3 weeks ago
parent
commit
25672e375d
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      vmware_nsx/services/lbaas/nsx_v3/implementation/lb_utils.py

+ 1
- 1
vmware_nsx/services/lbaas/nsx_v3/implementation/lb_utils.py View File

@@ -53,7 +53,7 @@ def get_network_from_subnet(context, plugin, subnet_id):
def get_router_from_network(context, plugin, subnet_id):
subnet = plugin.get_subnet(context, subnet_id)
network_id = subnet['network_id']
ports = plugin._get_router_interface_ports_by_network(
ports = plugin._get_network_interface_ports(
context.elevated(), network_id)
if ports:
router = plugin.get_router(context.elevated(), ports[0]['device_id'])


Loading…
Cancel
Save