Akihiro Motoki 75c34838ef Use oslo.context class method to construct context object
oslo_context.Context.from_environ provides a more generic way
to contruct a context object from request environment.
We can support more new attributes supported in keystonemiddleware
without changing our code.

Partial-Bug: #1674349
Closes-Bug: #1621073

In the unit test, context.tenant_name is replaced to context.project_name
as it will be the recommended way to access project name now.
Note that equivalency of project_name and tenant_name will be ensured
by a depending neutron-lib patch [1], so this change affects nobody.

[1] https://review.openstack.org/#/c/448537/

Depends-On: Ieec57d9ea8d95e55499a17e2c04da5e3e78a1557
Change-Id: Ie48aa843ca8c852b1e93e760d2e3e8aaa38aed56
2017-03-23 09:02:46 +00:00
2016-06-28 22:46:19 +02:00
2017-03-15 07:25:35 +00:00
2017-03-15 04:27:42 +00:00
2017-03-07 13:32:04 -05:00
2016-10-17 17:06:19 +05:30
2014-05-16 13:40:04 -04:00
2017-02-09 01:07:07 +00:00
2017-03-08 15:20:50 +00:00
2016-11-25 15:35:21 +01:00
2017-02-25 06:29:55 +00:00
2017-03-04 11:19:58 +00:00
2017-03-07 13:32:04 -05:00

Team and repository tags

image

Welcome!

To learn more about neutron:

Get in touch via email. Use [Neutron] in your subject.

To learn how to contribute:

CONTRIBUTING.rst

Description
OpenStack Networking (Neutron)
Readme 1,023 MiB
Languages
Python 99.7%
Shell 0.3%