Enable sphinx on servers_client

servers_client is most useful client for testing, but the docstring was
not enabled on the site. So this patch makes it enabled.

Change-Id: I031de923deab74bc0f84cff52f470ab233b7dbba
This commit is contained in:
Ken'ichi Ohmichi 2017-01-27 15:12:17 -08:00
parent 88d84e951b
commit aca816da20
3 changed files with 21 additions and 3 deletions

View File

@ -16,9 +16,18 @@ service client module from a set of shared parameters.
The ``ServiceClients`` class provides a convenient way to get access to all
available service clients initialized with a provided set of credentials.
------------------
The clients module
------------------
-----------------------------
The clients management module
-----------------------------
.. automodule:: tempest.lib.services.clients
:members:
------------------------------
Compute service client modules
------------------------------
.. toctree::
:maxdepth: 2
service_clients/compute_clients

View File

@ -0,0 +1,7 @@
.. _servers_client:
Compute Client Usage
====================
.. automodule:: tempest.lib.services.compute.servers_client
:members:

View File

@ -30,6 +30,8 @@ from tempest.lib.services.compute import base_compute_client
class ServersClient(base_compute_client.BaseComputeClient):
"""Service client for the resource /servers"""
schema_versions_info = [
{'min': None, 'max': '2.2', 'schema': schema},
{'min': '2.3', 'max': '2.8', 'schema': schemav23},