nova/nova/api/openstack
jichenjc 6abb88befe Check flavor type before add tenant access
Currently we allow tenant access for public flavor, however,
we can't query it after that because flavor is public.
This patch adds check for add access function to raise exception
if the flavor is public.

Also, a nit change is use methods introduced in
793bcc07b9 to get flavor.

APIImpact: Adds new 2.7 API microversion due to new error condition
           in flavor access API
Implements blueprint check-flavor-type-before-add-tenant
Closes-Bug: #1361476

Change-Id: I461175e9969a0dd5b2b7ef75ea7d9f36f3a306d0
2015-07-24 15:36:29 +03:00
..
compute Check flavor type before add tenant access 2015-07-24 15:36:29 +03:00
__init__.py Deprecate the osapi_v3.enabled option 2015-07-16 10:30:05 -07:00
api_version_request.py Check flavor type before add tenant access 2015-07-24 15:36:29 +03:00
auth.py create noauth2 2015-03-04 08:09:01 -05:00
common.py Merge "Validate int using utils.validate_integer method" 2015-07-20 12:26:33 +00:00
extensions.py Replace dict.iteritems() with six.iteritems(dict) 2015-05-22 11:33:18 -07:00
rest_api_version_history.rst Check flavor type before add tenant access 2015-07-24 15:36:29 +03:00
urlmap.py Enable python34 tests for nova/tests/unit/objects/test*.py 2015-07-01 20:29:42 +00:00
versioned_method.py Implement microversion support on api methods 2014-12-05 09:54:41 +08:00
wsgi.py Merge "Replace unicode with six.text_type" 2015-05-21 00:47:36 +00:00