browbeat/rally/rally-plugins/manila/create-share-boot-vm-mount-share-write-delete-vm-share.yml
Asma Syed Hameed a217af06f7 Create a NFS share and Access it from the VM
This Scenario:
        - create NFS share
        - launch VM
        - Attach provider network (StorageNFS) to VM
        - authorize VM's ip (StorageNFS) to access the share
        - mount the share inside the VM
        - write to share
        - delete VM
        - delete share

In the browbeat-config.yaml, the user needs to provide the
network id of the provider network(StorageNFS network)
and external network.

Change-Id: I6febed2168a1a5e38569500ddb4dbcfa5b1c097b
2022-03-11 07:52:06 +00:00

49 lines
1.3 KiB
YAML

{% set image_name = image_name or "centos7" %}
{% set flavor_name = flavor_name or "m1.small" %}
{% set sla_max_avg_duration = sla_max_avg_duration or 60 %}
{% set sla_max_failure = sla_max_failure or 0 %}
{% set sla_max_seconds = sla_max_seconds or 60 %}
---
BrowbeatPlugin.create_share_boot_vm_access_share:
-
args:
size: 1
share_type: {{share_type}}
flavor:
name: {{flavor_name}}
image:
name: {{image_name}}
username: {{user}}
provider_net_id: "{{ provider_net_id }}"
ext_net_id: "{{ ext_net_id }}"
router_create_args: {}
network_create_args: {}
subnet_create_args: {}
runner:
type: "constant"
times: {{times}}
concurrency: {{concurrency}}
context:
quotas:
manila:
shares: -1
gigabytes: -1
nova:
instances: -1
cores: -1
ram: -1
neutron:
network: -1
port: -1
router: -1
subnet: -1
floatingip: -1
users:
tenants: 1
users_per_tenant: 1
sla:
max_avg_duration: {{ sla_max_avg_duration }}
max_seconds_per_iteration: {{ sla_max_seconds }}
failure_rate:
max: {{ sla_max_failure }}