# delete the port. Ideally we'd notify the caller of the
# fact that an error occurred.
LOG.error(_LE("mechanism_manager.delete_port_postcommit failed for"
- " port %s"), id)
- self.notifier.port_delete(context, id)
+ " port %s"), port['id'])
+ self.notifier.port_delete(context, port['id'])
self.notify_security_groups_member_updated(context, port)
- def get_bound_port_context(self, plugin_context, port_id, host=None):
+ def get_bound_port_context(self, plugin_context, port_id, host=None,
+ cached_networks=None):
session = plugin_context.session
with session.begin(subtransactions=True):
try: