aboutsummaryrefslogtreecommitdiffstats
path: root/functest/ci
diff options
context:
space:
mode:
authorCedric Ollivier <cedric.ollivier@orange.com>2018-05-26 19:56:26 +0000
committerGerrit Code Review <gerrit@opnfv.org>2018-05-26 19:56:26 +0000
commit9a78b4eb52ff9847971c14f6f92b43cb48a73f3d (patch)
treec813a1787619aaeadecfb38ce8f8501c2997eb53 /functest/ci
parent46d61dac3e306249e729f45d25e33c3b4d7986e9 (diff)
parent1e31574dfe4c803a7fab05827ab163f3bb7f2ec7 (diff)
Merge "Add cinder_test testcase"
Diffstat (limited to 'functest/ci')
-rw-r--r--functest/ci/config_functest.yaml19
-rw-r--r--functest/ci/testcases.yaml18
2 files changed, 37 insertions, 0 deletions
diff --git a/functest/ci/config_functest.yaml b/functest/ci/config_functest.yaml
index 2cdec4500..3e49d612a 100644
--- a/functest/ci/config_functest.yaml
+++ b/functest/ci/config_functest.yaml
@@ -80,6 +80,7 @@ snaps:
# port: {proxy_port}
# ssh_proxy_cmd: {OpenSSH -o ProxyCommand value}
+
vping:
ping_timeout: 200
vm_flavor: m1.tiny # adapt to your environment
@@ -103,6 +104,24 @@ vping:
vm_ssh_connect_timeout: 60
cleanup_objects: 'True'
+cinder:
+ vm_name_1: opnfv-cinder-1
+ vm_name_2: opnfv-cinder-2
+ image_name: functest-cinder
+ private_net_name: cinder-net
+ private_subnet_name: cinder-subnet
+ private_subnet_cidr: 192.168.130.0/24
+ router_name: cinder-router
+ sg_name: cinder-sg
+ sg_desc: Security group for CinderCheck test case
+ keypair_name: cinder-keypair
+ keypair_priv_file: /tmp/CinderCheck-keypair
+ keypair_pub_file: /tmp/CinderCheck-keypair.pub
+ vm_boot_timeout: 180
+ vm_delete_timeout: 100
+ vm_ssh_connect_timeout: 60
+ cleanup_objects: 'True'
+
odl_sfc:
image_base_url: "http://artifacts.opnfv.org/sfc/images"
image_name: sfc_nsh_danube
diff --git a/functest/ci/testcases.yaml b/functest/ci/testcases.yaml
index 2b348d587..b3e05f082 100644
--- a/functest/ci/testcases.yaml
+++ b/functest/ci/testcases.yaml
@@ -69,6 +69,7 @@ tiers:
description: >-
Set of basic Functional tests to validate the OPNFV scenarios.
testcases:
+
-
case_name: vping_ssh
project_name: functest
@@ -102,6 +103,23 @@ tiers:
class: 'VPingUserdata'
-
+ case_name: cinder_test
+ project_name: functest
+ criteria: 100
+ blocking: false
+ description: >-
+ This test case verifies: 1) Attach volume and to 1
+ instance; 2) Write data on volume 3) Detach volume
+ from instance 1, attach it on instance 2 3) Read volume
+ data
+ dependencies:
+ installer: ''
+ scenario: '^((?!lxd).)*$'
+ run:
+ module: 'functest.opnfv_tests.openstack.cinder.cinder_test'
+ class: 'CinderCheck'
+
+ -
case_name: tempest_smoke_serial
project_name: functest
criteria: 100