Prior to this change a DB model with standard
attributes could declare that it was mapping to
an API resource, but not declare a mapping to a
sub-resources (see bug 1763347).
This change allows DB models with standard attributes
to advertise that they map API *sub*-resources, and
modifies the code that extends DB resources to support
these specific declarations.
Reviewed: https:/ /review. openstack. org/560907 /git.openstack. org/cgit/ openstack/ neutron/ commit/ ?id=5179896e771 c8c4789c605bad3 e2ef188808e831
Committed: https:/
Submitter: Zuul
Branch: master
commit 5179896e771c8c4 789c605bad3e2ef 188808e831
Author: Thomas Morin <email address hidden>
Date: Thu Apr 12 15:07:20 2018 +0200
Allow sub-resources to have standard attributes
Prior to this change a DB model with standard
attributes could declare that it was mapping to
an API resource, but not declare a mapping to a
sub-resources (see bug 1763347).
This change allows DB models with standard attributes
to advertise that they map API *sub*-resources, and
modifies the code that extends DB resources to support
these specific declarations.
Closes-Bug: 1763347 366076d51ce6586 fb3008dc6b1
Needed-By: I77ce46c0f33e2a
Change-Id: I7630aab5e4f38d 0fba862adc2426d 4a7ca04a679