[openstack-dev] [neutron] neutron-lib impact: attribute functions and constants now in neutron-lib

Boden Russell bodenvmw at gmail.com
Tue May 30 13:15:18 UTC 2017


If your project uses neutron.api.v2.attributes please read on.

A bulk of neutron.api.v2.attributes has been rehomed into neutron-lib
[1][2] and we've begun consuming these changes in neutron and stadium
projects.

Today we are working to consume:
- The core resource/collection name constants [3] such as NETWORK,
NETWORKS, etc..
- Many of the "helper functions" from attributes [4].

Subsequent patches will work to consume to remainder of attributes
including the global resource attribute map.


Suggested actions:
- If your project uses any of the core resource/collection constants
from attributes and is not included in [3], please move your imports
over and use neutron-lib.
- If your project uses any of the helper functions from attributes,
please move your code over to neutron-lib's implementation. Best I can
tell [4] covers all uses, but perhaps I missed something.

Feel free to catch me on #openstack-neutron as 'boden' if you have any
questions.

Thanks

[1] https://review.openstack.org/#/c/394244/
[2] https://review.openstack.org/#/c/449277/
[3]
https://review.openstack.org/#/q/message:%22use+core+resource+attribute+constants%22
[4] https://review.openstack.org/#/q/message:%22use+attribute+functions%22



More information about the OpenStack-dev mailing list