← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1770267] [NEW] Pecan based API framework not wiring correctly member actions

 

Public bug reported:

When using member action (PUT) to implement port binding activation, the
pecan based framework passes incorrectly the port_id inside a dictionary
as follows:

{'port_id': 'port-id string'}

whereas as the legacy webob API framework passes the the port id as a
string in the port_id argument.

This is the stack showing how the activate method is called by the pecan
framework:

http://paste.openstack.org/show/720714/

And this is the stack showing how the activate method is called by the
legacy framework:

http://paste.openstack.org/show/720713/

** Affects: neutron
     Importance: Low
     Assignee: Miguel Lavalle (minsel)
         Status: New

** Changed in: neutron
   Importance: Undecided => Low

** Changed in: neutron
     Assignee: (unassigned) => Miguel Lavalle (minsel)

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

Title:
  Pecan based API framework not wiring correctly member actions

Status in neutron:
  New

Bug description:
  When using member action (PUT) to implement port binding activation,
  the pecan based framework passes incorrectly the port_id inside a
  dictionary as follows:

  {'port_id': 'port-id string'}

  whereas as the legacy webob API framework passes the the port id as a
  string in the port_id argument.

  This is the stack showing how the activate method is called by the
  pecan framework:

  http://paste.openstack.org/show/720714/

  And this is the stack showing how the activate method is called by the
  legacy framework:

  http://paste.openstack.org/show/720713/

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