The mechanism to do this is to create your own state in the neutron db.

** Changed in: neutron
       Status: New => Invalid

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

Title:
  [RFE] driver-specific data in ML2 Mechanism Driver

Status in neutron:
  Invalid

Bug description:
  Currently, precommit function and postcommit function in ML2 mechanism
  driver framework has no state transition mechanism which allows
  mechanism drivers to propagate the driver states from precommit to
  postcommit.

  For example, if I change some states in precommit, I cannot pass it to
  postcommit. A workaround is that I temporarily store the changed state
  in the Neutron DB or third-party DB in precommit stage and then read
  it in postcommit stage. This is not elegant and brings inconvenience
  to meet the requirements.

  We need a simple way for mechanism driver to pass user-defined
  (driver-specific) data or changed states from precommit stage to postcommit 
stage.

  The simplest way is to add a dict as object property in that plugin
  context.

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

-- 
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help   : https://help.launchpad.net/ListHelp

Reply via email to