Skip to content

mikelangelo-project/scotty-resource-cpu-hibench

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Stressor Resource Deployment

N|Solid

Overview

Here the resource for workload-stressor is created using a heat stack.

Prerequisite

  1. pip install -r requirement.txt
  2. Modify OpenStack credential ( Make sure the account you are using has enough quota )

Output

a dictioinary is the output of this resource which contains:

  • ip: IP address of the endpoint
  • user: User of the endpoint
  • private_key: Private key of the endpoint

Notes

  • 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 component experiment_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"

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages