diff options
author | Cédric Ollivier <cedric.ollivier@orange.com> | 2019-09-10 20:01:32 +0200 |
---|---|---|
committer | Cédric Ollivier <cedric.ollivier@orange.com> | 2019-09-10 22:18:17 +0200 |
commit | 8ffc8773c0b66123a2d24ba477e684ebebd2cc53 (patch) | |
tree | 2cb4775e4cbecf60edc7b64d5d4f86195d509504 | |
parent | 13e4d4c8585f2f402d3d0251b45fcee38624a9cb (diff) |
Precise tempest_conf.yaml to verify Airship
It sets all max microversions according to Ocata [1][2][3] and takes
ceph into account (OpenStack and Functest gates leverage on iSCSI [4]).
[1] https://docs.openstack.org/cinder/latest/contributor/api_microversion_history.html
[2] https://docs.openstack.org/nova/latest/reference/api-microversion-history.html
[3] https://docs.openstack.org/placement/latest/placement-api-microversion-history.html
[4] https://git.opnfv.org/functest/tree/functest/opnfv_tests/openstack/tempest/custom_tests/tempest_conf.yaml?h=stable%2Fhunter#n24
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Change-Id: Ic5a8a501d83fbefadcad24d58bbc5c1e3ffcd6ce
-rwxr-xr-x | tools/test.sh | 30 |
1 files changed, 29 insertions, 1 deletions
diff --git a/tools/test.sh b/tools/test.sh index 3bd16b7..b6a6b48 100755 --- a/tools/test.sh +++ b/tools/test.sh @@ -17,8 +17,32 @@ cat > env << EOF EXTERNAL_NETWORK=public EOF +cat > tempest_conf.yaml << EOF +--- +compute: + max_microversion: 2.42 +compute-feature-enabled: + shelve: false + vnc_console: false + cold_migration: false + block_migration_for_live_migration: false +identity-feature-enabled: + api_v2: false + api_v2_admin: false +image-feature-enabled: + api_v2: true + api_v1: false +placement: + max_microversion: 1.4 +volume: + max_microversion: 3.27 + storage_protocol: ceph +volume-feature-enabled: + backup: true +EOF + cat > openstack.creds << EOF -export OS_AUTH_URL=http://identity-airship.intel-pod17.opnfv.org:80/v3 +export OS_AUTH_URL=http://identity-airship.intel-pod17.opnfv.org/v3 export OS_USER_DOMAIN_NAME=default export OS_PROJECT_DOMAIN_NAME=default export OS_USERNAME=admin @@ -50,6 +74,7 @@ run_tests() { -v $(pwd)/openstack.creds:/home/opnfv/functest/conf/env_file \ -v ${FUNCTEST_CACHE}/images:/home/opnfv/functest/images \ -v ${FUNCTEST_CACHE}/results:/home/opnfv/functest/results \ + -v $(pwd)/tempest_conf.yaml:/usr/lib/python2.7/site-packages/functest/opnfv_tests/openstack/tempest/custom_tests/tempest_conf.yaml \ opnfv/functest-${1}:hunter } @@ -60,6 +85,9 @@ case "$1" in 'smoke') run_tests $1 ;; +'benchmarking') + run_tests $1 + ;; 'vnf') run_tests $1 ;; |