← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1760902] Re: Standard attributes are missing in segment response

 

Reviewed:  https://review.openstack.org/558318
Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=4d84c10ba4430752bf8c1227c770fb3c4f0a1618
Submitter: Zuul
Branch:    master

commit 4d84c10ba4430752bf8c1227c770fb3c4f0a1618
Author: Hongbin Lu <hongbin.lu@xxxxxxxxxx>
Date:   Mon Apr 2 23:11:38 2018 +0000

    Add standard attributes to segment resource
    
    Standard attributes (i.e. revision_number, created_at, updated_at)
    are missing in the segment resource. This is because the controller
    doesn't process extensions on rendering the response. This patch
    fixes it. In particular, this patch does the following:
    * Process extensions when making the segment dict. This allows
      other extensions to add attributes to segment response.
    * Make segment extension implement update_attributes_map.
    
    Tempest test: https://review.openstack.org/#/c/558609/
    
    APIImpact update api reference of segments
    
    Closes-Bug: #1760902
    Change-Id: I3c93818002c2d7753454547231ba08544b6fa1c0


** 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/1760902

Title:
  Standard attributes are missing in segment response

Status in neutron:
  Fix Released

Bug description:
  The response of segment resource doesn't contain standard attributes,
  i.e. created_at, updated_at, revision_number. These attributes should
  be visible in the response as other resources.

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


References