diff options
author | Delia Popescu <delia.popescu@enea.com> | 2018-05-10 12:13:08 +0300 |
---|---|---|
committer | Delia Popescu <delia.popescu@enea.com> | 2018-05-25 16:50:47 +0300 |
commit | 1e31574dfe4c803a7fab05827ab163f3bb7f2ec7 (patch) | |
tree | acc71961da1d4350e6277de664ec71f2035e9907 /functest/ci | |
parent | ac8e3d4d9f7fe99021f41ee9c86370e7d9866d65 (diff) |
Add cinder_test testcase
Create 2 instances with Floating IPs
Attach data volume to instance 1
Write data on the volume
Detach volume from instance 1
Attach volume to instance 2
Read data from volume
JIRA: FUNCTEST-908
Change-Id: I10efdfb3b7f9d7e6ab5c6a538052437585d52fb0
Signed-off-by: Delia Popescu <delia.popescu@enea.com>
Diffstat (limited to 'functest/ci')
-rw-r--r-- | functest/ci/config_functest.yaml | 19 | ||||
-rw-r--r-- | functest/ci/testcases.yaml | 18 |
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 |