← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1785539] [NEW] Some notification related to l3 flavor pass context.

 

Public bug reported:

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

** Affects: neutron
     Importance: Undecided
     Assignee: Wenran Xiao (wenran)
         Status: In Progress

** Changed in: neutron
     Assignee: (unassigned) => Wenran Xiao (wenran)

** Changed in: neutron
       Status: New => In Progress

-- 
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 notification related to l3 flavor pass context.

Status in neutron:
  In Progress

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


Follow ups