yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #72307
[Bug 1763347] [NEW] internal: cannot apply standard attributes to sub-resources
Public bug reported:
The code at [1] for extending the resource map with the standard
attributes for a resource declared in api_collections, does only work
for plain resources, but not for sub-resources (it produces a
{'resource': attribute_dict} dictionary, while a {'resource':
{'parameters': attribute_dict}} would be required by the code at [2].
This makes it impossible to add standard attributes to sub-resources.
[1] http://codesearch.openstack.org/?q=rs_map %3D
standard_attr.get_standard_attr_resource_model_map
[2]
http://git.openstack.org/cgit/openstack/neutron/tree/neutron/api/extensions.py#n349
** Affects: neutron
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1763347
Title:
internal: cannot apply standard attributes to sub-resources
Status in neutron:
New
Bug description:
The code at [1] for extending the resource map with the standard
attributes for a resource declared in api_collections, does only work
for plain resources, but not for sub-resources (it produces a
{'resource': attribute_dict} dictionary, while a {'resource':
{'parameters': attribute_dict}} would be required by the code at [2].
This makes it impossible to add standard attributes to sub-resources.
[1] http://codesearch.openstack.org/?q=rs_map %3D
standard_attr.get_standard_attr_resource_model_map
[2]
http://git.openstack.org/cgit/openstack/neutron/tree/neutron/api/extensions.py#n349
To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1763347/+subscriptions
Follow ups