tempest/doc/source/library/clients.rst
Ken'ichi Ohmichi aca816da20 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
2017-02-10 10:47:27 -08:00

1.0 KiB

Service Clients Usage

Tests make requests against APIs using service clients. Service clients are specializations of the RestClient class. The service clients that cover the APIs exposed by a service should be grouped in a service clients module. A service clients module is python module where all service clients are defined. If major API versions are available, submodules should be defined, one for each version.

The ClientsFactory class helps initializing all clients of a specific 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 management module

tempest.lib.services.clients

Compute service client modules

service_clients/compute_clients