← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1592238] Re: [RFE] ml2: needs a way for MD to pass data from precommit to postcommit

 

Passthrough information between pre and post phases through method
calling leads to tight coupling by design and I think we should refrain
from doing so, especially if there are no guarantees that the state is
not becoming stale between method invocations. The thing is, if you need
to do such a thing, maybe the two method should really be one, but I can
see in the use case above why require the split.

I think you're better off retrieving state in some other fashion, for
instance by looking data up passed on what is given to you from the
context.

** Changed in: neutron
       Status: In Progress => Won't Fix

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1592238

Title:
  [RFE] ml2: needs a way for MD to pass data from precommit to
  postcommit

Status in neutron:
  Won't Fix

Bug description:
  it would be nice to have a proper mechanism to pass some MD specific data
  from precommit to postcommit.

  use case:
  https://review.openstack.org/#/c/293376/41/dragonflow/neutron/ml2/mech_driver.py@168

To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1592238/+subscriptions


References