Fix rally cinder volume attach scenarios
authorJuha Kosonen <juha.kosonen@nokia.com>
Tue, 6 Feb 2018 11:50:05 +0000 (13:50 +0200)
committerJuha Kosonen <juha.kosonen@nokia.com>
Tue, 6 Feb 2018 11:50:05 +0000 (13:50 +0200)
Add network id to following scenarios:

CinderVolumes.create_snapshot_and_attach_volume
CinderVolumes.create_nested_snapshots_and_attach_volume

JIRA: FUNCTEST-929

Change-Id: If95babebf9ea6205684494395bdfd72d5203f4bf
Signed-off-by: Juha Kosonen <juha.kosonen@nokia.com>
functest/opnfv_tests/openstack/rally/scenario/full/opnfv-cinder.yaml

index 87fae11..f36d0b2 100644 (file)
@@ -84,6 +84,9 @@
         size:
           max: 1
           min: 1
+        create_vm_params:
+            nics:
+              - net-id: {{ netid }}
       context:
         {% call user_context(tenants_amount, users_amount, use_existing_users) %}
         quotas:
         size:
           min: 1
           max: 5
+        create_vm_params:
+            nics:
+              - net-id: {{ netid }}
       context:
         {% call user_context(tenants_amount, users_amount, use_existing_users) %}
         quotas: