Here the resource for workload-stressor is created using a heat stack.
- pip install -r requirement.txt
- Modify OpenStack credential ( Make sure the account you are using has enough quota )
a dictioinary is the output of this resource which contains:
ip
: IP address of the endpointuser
: User of the endpointprivate_key
: Private key of the endpoint
- The
experiment_name
used to tag the data when it is later stored on MongoDB as metadata, thus it should be identical to the experiment name in resource componentexperiment_name
.
Sample configuration for experiment.yaml
resources:
- name: resource_stressor
generator: file:resource/stressor
params:
experiment_name: "csws_experiment"
OpenStack_auth_url: OPENSTACK_AUTH_URL
OpenStack_username: OPENSTACK_USERNAME
OpenStack_password: OPENSTACK_PASSWORD
OpenStack_tenant_name: OPENSTACK_TENANT_NAME
OpenStack_project_name: OPENSTACK_PROJECT_NAME
tag: "stressor1"
stressor_flavor: "kvm.m1.large"