Browse Source

Ed & Cameron | Add accounts.yaml and update readme

changes/85/139985/1
Ed Thome 4 years ago
parent
commit
b7be41a8d7
2 changed files with 13 additions and 1 deletions
  1. 2
    1
      README.md
  2. 11
    0
      tempest/accounts.yaml

+ 2
- 1
README.md View File

@@ -97,6 +97,7 @@ The driver should now be loaded. The contents of the repository is mapped to `/o
97 97
 
98 98
 ###Using tempest/tempest.conf to run tempest tests
99 99
 1. Clone the tempest repo from https://github.com/openstack/tempest
100
-2. `ln -s tempest/tempest.conf <path to tempest repo>/etc/tempest.conf`
100
+2. `ln -s ~/nova/nova/virt/ec2/tempest/tempest.conf <path to tempest repo>/etc/tempest.conf`
101
+3. `ln -s ~/nova/nova/virt/ec2/tempest/accounts.yaml <path to tempest repo>/etc/accounts.yaml`
101 102
 
102 103
 \* 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.

+ 11
- 0
tempest/accounts.yaml View File

@@ -0,0 +1,11 @@
1
+# The number of accounts required can be estimated as CONCURRENCY x 2
2
+# Valid fields for credentials are defined in the descendants of
3
+# auth.Credentials - see KeystoneV[2|3]Credentials.CONF_ATTRIBUTES
4
+
5
+- username: 'macho_man_randy_savage'
6
+  tenant_name: 'tempest'
7
+  password: 'test_password'
8
+
9
+- username: 'hulk_hogan'
10
+  tenant_name: 'tempest'
11
+  password: 'test_password'

Loading…
Cancel
Save