Skip to content

Instantly share code, notes, and snippets.

@sfoolish
Created May 28, 2016 15:25
Show Gist options
  • Save sfoolish/86bf71302ada9b94040f19413cabf9f6 to your computer and use it in GitHub Desktop.
Save sfoolish/86bf71302ada9b94040f19413cabf9f6 to your computer and use it in GitHub Desktop.
# pull and run yardstick continer
docker pull opnfv/yardstick
docker run -it opnfv/yardstick bash
# export compass credential
export OS_PASSWORD=console
export OS_TENANT_NAME=admin
export OS_AUTH_URL=http://172.16.1.222:35357/v2.0
export OS_USERNAME=admin
export OS_VOLUME_API_VERSION=2
export EXTERNAL_NETWORK=ext-net
# load cirros image
glance image-create --name "cirros-0.3.3" \
--file /home/opnfv/images/cirros-0.3.3-x86_64-disk.img \
--disk-format qcow2 --container-format bare
# run ping sample test
yardstick -d task start /home/opnfv/repos/yardstick/samples/ping.yaml
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment