From b7be41a8d77b392be3b58ea920980860b53d38c2 Mon Sep 17 00:00:00 2001 From: Ed Thome Date: Fri, 21 Nov 2014 15:43:33 -0600 Subject: [PATCH] Ed & Cameron | Add accounts.yaml and update readme --- README.md | 3 ++- tempest/accounts.yaml | 11 +++++++++++ 2 files changed, 13 insertions(+), 1 deletion(-) create mode 100644 tempest/accounts.yaml diff --git a/README.md b/README.md index 6d6f611..b3c00b7 100644 --- a/README.md +++ b/README.md @@ -97,6 +97,7 @@ The driver should now be loaded. The contents of the repository is mapped to `/o ###Using tempest/tempest.conf to run tempest tests 1. Clone the tempest repo from https://github.com/openstack/tempest -2. `ln -s tempest/tempest.conf /etc/tempest.conf` +2. `ln -s ~/nova/nova/virt/ec2/tempest/tempest.conf /etc/tempest.conf` +3. `ln -s ~/nova/nova/virt/ec2/tempest/accounts.yaml /etc/accounts.yaml` \* In Amazon’s EC2 there is no concept of suspend and resume on instances. Therefore, we simply stop EC2 instances when suspended and start the instances when resumed, we do the same on pause and un-pause. diff --git a/tempest/accounts.yaml b/tempest/accounts.yaml new file mode 100644 index 0000000..c97c62c --- /dev/null +++ b/tempest/accounts.yaml @@ -0,0 +1,11 @@ +# The number of accounts required can be estimated as CONCURRENCY x 2 +# Valid fields for credentials are defined in the descendants of +# auth.Credentials - see KeystoneV[2|3]Credentials.CONF_ATTRIBUTES + +- username: 'macho_man_randy_savage' + tenant_name: 'tempest' + password: 'test_password' + +- username: 'hulk_hogan' + tenant_name: 'tempest' + password: 'test_password'