yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #74875
[Bug 1785539] Re: Some notifications related to l3 flavor pass context.
Reviewed: https://review.openstack.org/588434
Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=ae81d403f7b8508fe581647b5853c702dd2331a2
Submitter: Zuul
Branch: master
commit ae81d403f7b8508fe581647b5853c702dd2331a2
Author: Wenran Xiao <xiaowenran@xxxxxxxxxxxxxxx>
Date: Fri Aug 3 11:40:20 2018 +0800
Pass context in l3 flavor notifications
There are some notifications pass context in l3 flavor
notifications, and add context for consistency.
Change-Id: I01ced41201b61c624e675375b7bcd9589b2553e0
Closes-bug: #1785539
** Changed in: neutron
Status: In Progress => Fix Released
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1785539
Title:
Some notifications related to l3 flavor pass context.
Status in neutron:
Fix Released
Bug description:
Problem:
I want to get the notification of floating ip delete, so I have
subscribe like this:
registry.subscribe(self._after_floatingip_delete,
resources.FLOATING_IP,
events.AFTER_DELETE)
The part of neutron like this:
def _delete_floatingip(self, context, id):
...
registry.notify(resources.FLOATING_IP, events.AFTER_DELETE,
self, **floatingip_dict)
...
I found the notification in _delete_floatingip has passed context. And
some other notifications related to l3 flavor also pass context.
Affected Neutron version:
master
To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1785539/+subscriptions
References