Bug
1155051
This is a follow-up patch which fixes a problem with elevated
context not being passed to subroutines.
Change-Id: Ic270d8e48075b6b58117970ab870c3fb3962d93b
if ports:
if (do_create and
not self._find_metadata_port(ctx_elevated, ports)):
- self._create_metadata_access_network(context,
+ self._create_metadata_access_network(ctx_elevated,
router_id)
elif len(ports) == 1:
# The only port left is the metadata port
- self._destroy_metadata_access_network(context,
+ self._destroy_metadata_access_network(ctx_elevated,
router_id,
ports)
else: