NSX-V3 Use admin context for VPN port creation
Change-Id: I4d4c0df44a95bc4c263667d2809ff85ccacfc016
This commit is contained in:
parent
9ce4e29a3e
commit
dc1d46dca2
@ -749,7 +749,7 @@ class NSXv3IPsecVpnDriver(service_drivers.VpnDriver):
|
||||
try:
|
||||
self.validator.validate_vpnservice(context, vpnservice)
|
||||
local_address = self._get_service_local_address(
|
||||
context, vpnservice)
|
||||
context.elevated(), vpnservice)
|
||||
except Exception:
|
||||
with excutils.save_and_reraise_exception():
|
||||
# Rolling back change on the neutron
|
||||
|
Loading…
Reference in New Issue
Block a user