Browse Source

NSX|V3+P: Use elevated context on lb creation

Change-Id: Ia953d510d89cee5c540509ff6553af871cc790ea
changes/61/747561/1
asarfaty 1 month ago
committed by Adit Sarfaty
parent
commit
d392d88c76
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

@@ -51,7 +51,7 @@ def get_network_from_subnet(context, plugin, subnet_id):

@log_helpers.log_method_call
def get_router_from_network(context, plugin, subnet_id):
subnet = plugin.get_subnet(context, subnet_id)
subnet = plugin.get_subnet(context.elevated(), subnet_id)
network_id = subnet['network_id']
ports = plugin._get_network_interface_ports(
context.elevated(), network_id)


Loading…
Cancel
Save