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.
Reviewed: https:/ /review. openstack. org/558318 /git.openstack. org/cgit/ openstack/ neutron/ commit/ ?id=4d84c10ba44 30752bf8c1227c7 70fb3c4f0a1618
Committed: https:/
Submitter: Zuul
Branch: master
commit 4d84c10ba443075 2bf8c1227c770fb 3c4f0a1618
Author: Hongbin Lu <email address hidden>
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) attributes_ map.
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_
Tempest test: https:/ /review. openstack. org/#/c/ 558609/
APIImpact update api reference of segments
Closes-Bug: #1760902 753454547231ba0 8544b6fa1c0
Change-Id: I3c93818002c2d7