16 Commits

Author SHA1 Message Date
Martin Kopec
d76178e682 General doc updates
Added missing doc, for example for serial tests, fixed 404 links,
spellings, formatting and etc

Change-Id: I07a8cf9508d3cba33bd04afdc301bb7145153d59
2024-01-31 09:00:16 +01:00
ghanshyam
b20f7e62c6 Remove deprecated config options 'resources_prefix'
Config option 'resources_prefix' was deprecated. It is
used by only manila plugin which fix has been commited.

This commit removes this config option and hardcode the
resource prefix as 'tempest'

Change-Id: Idce7af97fe6647e3095b2b626fbacb3446694fbc
Depends-On: I9c140b3a9efabeced7fc26cb1f169ebe6789d88b
2018-01-21 07:29:55 +00:00
Jenkins
7dcb98f503 Merge "Make validation_resources a stable interface" 2017-09-14 19:07:08 +00:00
Andrea Frittoli
0477accd32 Make validation_resources a stable interface
Move the module to tempest.lib, add unit tests, release notes and
update imports.

Change-Id: I76b3b8e9a83bd83a6b5742b6d2ceb84642f653ad
2017-09-12 15:02:15 -06:00
Masayuki Igawa
a1c3af3350
[DOC] Fix "Title level inconsistent" warning
This commit fixes the warning "Title level inconsistent". And the module
API docs should be shown up.

Change-Id: Ie9a3656b0a58300d611352d054868440f0ffd387
2017-09-07 11:53:49 +09:00
shangxiaobj
284d311267 [Trivialfix]Fix typos in tempest
Fix all the typos found in tempest.

Change-Id: I9417ff7e0ab8a552c6d6acdeb968a9fe993b270a
2017-08-13 23:38:43 -07:00
Matthew Treinish
841b75e6b6
Add better docs on credential providers
This commit adds some better documentation with an example explaining
how to use the credential providers now in tempest/lib.

Change-Id: I9f6856645094d483f7a3f0f76a40568c28c4e9b1
2017-07-21 16:16:48 -04:00
Matthew Treinish
b19c55df4b
Migrate the preprov creds module to tempest lib
This commit migrates the preprovisioned credentials provider from
tempest/common into tempest/lib. As part of this 2 dependencies are
also migrated to lib: the InvalidTestResource exception class and the
tempest.common.fixed_network module.

Change-Id: Ib9e909aaaf81f7cb57e2382cec44598e918747b8
2017-07-21 16:14:41 -04:00
Matthew Treinish
c51b712dec
Migrate the dynamic creds module to tempest lib
This commit migrates the dynamic credentials provider from
tempest/common into tempest/lib.

Change-Id: Id8d60e4d7c22bc72c3e48bc768509ff0cc0c89d5
2017-07-21 16:14:40 -04:00
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
Frédéric Guillot
8160f08882 Fix typo in documentation
Change-Id: If8ff20ff77e5bbe1497faee45c9ef6401b1e5921
2016-11-25 10:41:04 -05:00
Andrea Frittoli (andreaf)
e07579c603 Migrate service_clients to tempest.lib
Migrate the service_clients module to tempest.lib.services.clients.
Migrate related unit tests as well.

The clients module atm imports plugin.py from Tempest which is not
allowed via hacking to avoid cirtular dependencies.
If there is no way around this, I will have to remove the self
registration of the service clients from plugins, and ask the
plugins to do the registration themselves - which is a pity. Ideas?

Change-Id: I40e3478f69af62a7cdc14fa65ed21dcfbbe10e72
2016-08-05 16:23:26 +01:00
Andrea Frittoli (andreaf)
3e82af7f6c Introduce scope in the auth API
Adding the ability to select the scope of the authentication.
When using identity v3, this makes it possible to use either
project scope or domain scope regardless of whether a project
is included or not in the Credentials object.

The interface to auth for most tests is the AuthProvider.
The scope is defined in the constructor of the AuthProvider,
and it can also be changed at a later time via 'set_scope'.

In most cases a set of credentials will use the same scope.
Test credentials will use project scope. Admin test credentials
may use domain scope on identity API alls, or project scope on
other APIs. Since clients are initialised with an auth provider
by the client manager, we extend the client manager interface to
include the scope. Tests and Tempest parts that require a domain
scoped token will instanciate the relevant client manager with
scope == 'domain', or set the scope to domain on the 'auth_provider'.

The default scope in the v3 auth provider is 'projet;, which me must
do for backward compatibility reasons (besides it's what most tests
expects. We also filter the list of attributes based on scope, so
that tests or service clients may request a different scope.

The original behaviour of the token client is unchanged:
all fields passed to it towards the API server. This
maintains backward compatibility, and leaves full control
for test that want to define what is sent in the token
request.

Closes-bug: #1475359
Change-Id: I6fad6dd48a4d306f69da27c6793de687bbf72add
2016-05-24 14:11:14 +00:00
ghanshyam
c3b0b8b499 Trivial: Fix some document comments in microversion
This is follow up patch to fix doc comments left in
Icbdcfb4cd5b7fb1029eec035b9e0024be59c8d1f

Change-Id: Iebdbfd62d1db4088e7e356aae700b74c17888415
2016-03-17 02:44:45 +00:00
Ghanshyam
1f47cf976b Migrated microversion testing framework to tempest/lib
Tempest implements the microversion testing support and
that framework and interfaces have been tested by implementing
the Compute 2.2 microversion as well as by their unit tests.

Those should be stable interfaces so that can be consumed by other
projects microversion testing either in tempest or outside tempest.

To make them as stable interface, this commit moving that framework and
its interfaces to tempest/lib folder.

Adding release notes and library doc for those interface.

Partially implements blueprint api-microversions-testing-support

Change-Id: Icbdcfb4cd5b7fb1029eec035b9e0024be59c8d1f
2016-03-11 08:17:15 +00:00
Matthew Treinish
55511d98f1
Add documentation for the library interface
This commit adds documentation for the library interface, formerly
known as tempest-lib, and the release versioning.

Partially implements bp tempest-lib-reintegration

Change-Id: I623222a17fe3563bbe767fa803e8f771a21687a1
2016-02-29 15:35:26 -05:00