summaryrefslogtreecommitdiffstats
path: root/docker/healthcheck
diff options
context:
space:
mode:
authorCédric Ollivier <cedric.ollivier@orange.com>2018-06-18 14:18:59 +0200
committerCédric Ollivier <cedric.ollivier@orange.com>2018-06-21 05:40:46 +0200
commit0f6c31a434873068e6c3bfecf31930536bf59d2f (patch)
treeda7c50f3882183734b4fda2c3144745f836b0b2c /docker/healthcheck
parent979161874ba837f55a53aba391966c52433123e6 (diff)
Publish singlevm scenarios
They ease creating all ressources to execute command in a new VM reachable via ssh. This scenarios should be reused by other more advanced ones (shaker, vping, cinder, etc.). Change-Id: If23866827c64a7afbdd8ff596dbc33710ee4ee20 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Diffstat (limited to 'docker/healthcheck')
-rw-r--r--docker/healthcheck/testcases.yaml92
1 files changed, 62 insertions, 30 deletions
diff --git a/docker/healthcheck/testcases.yaml b/docker/healthcheck/testcases.yaml
index 14d353dc1..9fb64700d 100644
--- a/docker/healthcheck/testcases.yaml
+++ b/docker/healthcheck/testcases.yaml
@@ -28,68 +28,100 @@ tiers:
class: 'ConnectionCheck'
-
- case_name: api_check
+ case_name: tenantnetwork1
project_name: functest
criteria: 100
blocking: true
description: >-
- This test case verifies the retrieval of OpenStack clients:
- Keystone, Glance, Neutron and Nova and may perform some
- simple queries. When the config value of
- snaps.use_keystone is True, functest must have access to
- the cloud's private network.
+ It creates and configures all tenant network ressources
+ required by advanced testcases (subnet, network and
+ router).
dependencies:
installer: ''
- scenario: '^((?!lxd).)*$'
+ scenario: ''
run:
- module: 'functest.opnfv_tests.openstack.snaps.api_check'
- class: 'ApiCheck'
+ module: 'functest.core.tenantnetwork'
+ class: 'TenantNetwork1'
-
- case_name: snaps_health_check
+ case_name: tenantnetwork2
project_name: functest
criteria: 100
blocking: true
description: >-
- This test case creates executes the SimpleHealthCheck
- Python test class which creates an, image, flavor, network,
- and Cirros VM instance and observes the console output to
- validate the single port obtains the correct IP address.
+ It creates new user/project before creating and configuring
+ all tenant network ressources required by a testcase
+ (subnet, network and router).
dependencies:
installer: ''
- scenario: '^((?!lxd).)*$'
+ scenario: ''
run:
- module: 'functest.opnfv_tests.openstack.snaps.health_check'
- class: 'HealthCheck'
+ module: 'functest.core.tenantnetwork'
+ class: 'TenantNetwork2'
-
- case_name: tenantnetwork1
+ case_name: singlevm1
project_name: functest
criteria: 100
- blocking: false
+ blocking: true
description: >-
- It creates and configures all tenant network ressources
- required by advanced testcases (subnet, network and
- router).
+ It inherits from TenantNetwork1 which creates all network
+ resources and completes it by booting a VM attached to that
+ network.
dependencies:
installer: ''
scenario: ''
run:
- module: 'functest.core.tenantnetwork'
- class: 'TenantNetwork1'
+ module: 'functest.core.singlevm'
+ class: 'SingleVm1'
-
- case_name: tenantnetwork2
+ case_name: singlevm2
project_name: functest
criteria: 100
- blocking: false
+ blocking: true
description: >-
It creates new user/project before creating and configuring
- all tenant network ressources required by a testcase
- (subnet, network and router).
+ all tenant network ressources and vms required by advanced
+ testcases.
dependencies:
installer: ''
scenario: ''
run:
- module: 'functest.core.tenantnetwork'
- class: 'TenantNetwork2'
+ module: 'functest.core.singlevm'
+ class: 'SingleVm2'
+
+ -
+ case_name: api_check
+ project_name: functest
+ criteria: 100
+ blocking: true
+ description: >-
+ This test case verifies the retrieval of OpenStack clients:
+ Keystone, Glance, Neutron and Nova and may perform some
+ simple queries. When the config value of
+ snaps.use_keystone is True, functest must have access to
+ the cloud's private network.
+ dependencies:
+ installer: ''
+ scenario: '^((?!lxd).)*$'
+ run:
+ module: 'functest.opnfv_tests.openstack.snaps.api_check'
+ class: 'ApiCheck'
+
+ -
+ case_name: snaps_health_check
+ project_name: functest
+ criteria: 100
+ blocking: true
+ description: >-
+ This test case creates executes the SimpleHealthCheck
+ Python test class which creates an, image, flavor, network,
+ and Cirros VM instance and observes the console output to
+ validate the single port obtains the correct IP address.
+ dependencies:
+ installer: ''
+ scenario: '^((?!lxd).)*$'
+ run:
+ module: 'functest.opnfv_tests.openstack.snaps.health_check'
+ class: 'HealthCheck'