People might want to run functional tests with SSL, but without
certificates that can be verified.
Change-Id: Id9151178d8c5e62247d55058a3f78fe17075aebe
Closes-Bug: #1545697
Make manilaclient support API URLs and actions rename after port of
extensions to core API.
Depends-on: I82f00114db985b4b3bf4db0a64191559508ac600
Implements bp ext-to-core
Change-Id: I44f71ca094f230f3c22ade241884a1b23865c81a
Add read-write tests for access_rule.
Add functions 'get_access', 'list_access', 'access_allow',
'access_deny' and 'wait_for_access_rule_status' to
manilaclient.tests.functional.client.ManilaCLIClient.
Partially-Implements bp rw-functional-tests
Change-Id: Id1a5698a124bad8d68e093faa32b1ad5cccd67c7
Add base client methods for shares and use them in rw functional tests.
Partially implements bp rw-functional-tests
Change-Id: Ibc611ed5c54d2635f36018f3590ca56f4f2eb7dd
The Oslo libraries have moved all of their code out of the 'oslo'
namespace package into per-library packages. The namespace package was
retained during kilo for backwards compatibility, but will be removed by
the liberty-2 milestone. This change removes the use of the namespace
package, replacing it with the new package names.
The patches in the libraries will be put on hold until application
patches have landed, or L2, whichever comes first. At that point, new
versions of the libraries without namespace packages will be released as
a major version update.
Please merge this patch, or an equivalent, before L2 to avoid problems
with those library releases.
Blueprint: remove-namespace-packages
https://blueprints.launchpad.net/oslo-incubator/+spec/remove-namespace-packages
Change-Id: Ib86c36f81f6fdbee64d88dd0b1d126bcc16649ac
Add base client methods for share types and use them in rw functional tests.
This commit covers case of 'public' share types.
Partially implements bp rw-functional-tests
Change-Id: Ia35dbe7f42ada319853642b893bc5c2fa2db4175
Add gate hook to contrib/ci dir to be able to configure functional tests job.
pre_test_hook just imports devstack extension for manila project to the
devstack project.
post_test_hook configures config file for manilaclient based on devstack
installation and runs related tox job.
Also fix default config file path within config module.
Partially implements bp functional-tests
Change-Id: Ibf90af083b9a8e0ec646e1bff676893528ff1914
Add generic functionality for functional tests using tempest-lib and
create related tox jobs.
Run of functional tests requires:
1) Access to deployed OpenStack with running, at least, Keystone and Manila
services.
2) Defined config options to be able to execute requests to Manila,
Manilaclient should know auth related information like username, password,
tenant_name, etc...
3) Run of functional tests searches for following optional env vars to be set:
'OS_MANILACLIENT_CONFIG_FILE' - name of conf file, default 'manilaclient.conf'
'OS_MANILACLIENT_CONFIG_DIR' - path to conf dir,
default '%project_dir%/etc/manilaclient'
'OS_MANILA_EXEC_DIR' - path to dir with manilaclient executable,
default '%project_dir%/.tox/functional/bin'
4) Config sample can be generated by following new tox job:
$ tox -egenconfig
it will create sample in
"%project_dir%/etc/manilaclient/manilaclient.conf.sample"
then just rename it removing ".sample" part and set option values.
To run functional tests use following new tox job:
$ tox -efunctional
To run only some specific tests use following:
$ tox -efunctional manilaclient.tests.functional.foo.bar
Partially implements blueprint functional-tests
Change-Id: I95a4e441d2143e51c54ec4fb47a069a91ed77dd7