doc: all_tenants query option incorrectly identified as non-admin
The all_tenants option was incorrectly described as being available to general users. Change-Id: I739da63b3d5460ff1ef8dcafd21d58829a3a4852
This commit is contained in:
@@ -129,14 +129,18 @@ Nova allows both general user and administrator to filter the server
|
|||||||
query result by using query options.
|
query result by using query options.
|
||||||
|
|
||||||
For general user, ``reservation_id``, ``name``, ``status``, ``image``,
|
For general user, ``reservation_id``, ``name``, ``status``, ``image``,
|
||||||
``flavor``, ``ip``, ``changes-since``, ``all_tenants``,
|
``flavor``, ``ip``, ``changes-since``, ``ip6 (microversion 2.5)`` are
|
||||||
``ip6 (microversion 2.5)`` are supported options to be used. The other
|
supported options to be used. The other options will be ignored by nova
|
||||||
options will be ignored by nova silently only with a debug log.
|
silently only with a debug log.
|
||||||
|
|
||||||
|
For administrator, there are more fields can be used. The ``all_tenants``
|
||||||
|
option allows the servers owned by all tenants to be reported (otherwise
|
||||||
|
only the servers associated with the calling tenant are included in
|
||||||
|
the response). Additionally, the filter is applied to the database schema
|
||||||
|
definition of ``class Instance``, e.g there is a field named 'locked' in
|
||||||
|
the schema then the filter can use 'locked' as search options to filter
|
||||||
|
servers.
|
||||||
|
|
||||||
For administrator, there are more fields can be used.
|
|
||||||
Usually the filter is operated on the database schema definition of
|
|
||||||
``class Instance``, e.g there is a field named 'locked' in the schema
|
|
||||||
then the filter can use 'locked' as search options to filter servers.
|
|
||||||
Also, there are some special options such as ``changes-since`` can
|
Also, there are some special options such as ``changes-since`` can
|
||||||
be used and interpreted by nova.
|
be used and interpreted by nova.
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user