nova/doc/api_samples/os-flavor-access
Santiago Baldassin daedfffd95 Do not add current tenant to private flavor access
Avoid adding the current tenant to the flavor access list when
a private flavor is created. In ordeir to add tenants to the
flavor access list we should use the add_tenant api.

Tempest has to be updated accordingly:
https://review.openstack.org/81551

Documentation has to be updated as well:
https://review.openstack.org/82175

Partially (just for the V2 API rather than V2 and V3)
reverts commit 6ba248635b

Fixes unittest which was added in the original commit so it checks
for the behaviour we have now rather than the behaviour after the
backwards incompatible change which is being reverted.

Change-Id: I731081b6df0d96df1bc1763d214d28c62bbbb51c
Closes-Bug: #1286297
2014-03-25 12:17:17 +10:30
..
flavor-access-add-tenant-req.json Adds API Sample tests for FlavorAccess extension. 2013-02-14 16:25:42 -05:00
flavor-access-add-tenant-req.xml Adds API Sample tests for FlavorAccess extension. 2013-02-14 16:25:42 -05:00
flavor-access-add-tenant-resp.json Do not add current tenant to private flavor access 2014-03-25 12:17:17 +10:30
flavor-access-add-tenant-resp.xml Do not add current tenant to private flavor access 2014-03-25 12:17:17 +10:30
flavor-access-create-req.json Adds API Sample tests for FlavorAccess extension. 2013-02-14 16:25:42 -05:00
flavor-access-create-req.xml Adds API Sample tests for FlavorAccess extension. 2013-02-14 16:25:42 -05:00
flavor-access-create-resp.json Adds API Sample tests for FlavorAccess extension. 2013-02-14 16:25:42 -05:00
flavor-access-create-resp.xml Adds API Sample tests for FlavorAccess extension. 2013-02-14 16:25:42 -05:00
flavor-access-detail-resp.json 'm1.tiny' now has root_gb=1 2013-05-16 23:18:22 +00:00
flavor-access-detail-resp.xml 'm1.tiny' now has root_gb=1 2013-05-16 23:18:22 +00:00
flavor-access-list-resp.json Do not add current tenant to private flavor access 2014-03-25 12:17:17 +10:30
flavor-access-list-resp.xml Do not add current tenant to private flavor access 2014-03-25 12:17:17 +10:30
flavor-access-remove-tenant-req.json Adds API Sample tests for FlavorAccess extension. 2013-02-14 16:25:42 -05:00
flavor-access-remove-tenant-req.xml Adds API Sample tests for FlavorAccess extension. 2013-02-14 16:25:42 -05:00
flavor-access-remove-tenant-resp.json Do not add current tenant to private flavor access 2014-03-25 12:17:17 +10:30
flavor-access-remove-tenant-resp.xml Do not add current tenant to private flavor access 2014-03-25 12:17:17 +10:30
flavor-access-show-resp.json 'm1.tiny' now has root_gb=1 2013-05-16 23:18:22 +00:00
flavor-access-show-resp.xml 'm1.tiny' now has root_gb=1 2013-05-16 23:18:22 +00:00