diff options
author | Matthew Treinish <mtreinish@kortar.org> | 2015-04-10 11:59:11 -0400 |
---|---|---|
committer | Matthew Treinish <mtreinish@kortar.org> | 2015-04-14 11:05:42 -0400 |
commit | f83f35c9e25e2bdbe9cee06972bde1a6aedc6dc7 (patch) | |
tree | d92c48825c079fef104177dcc01e2c91f6aa13ad /etc/accounts.yaml.sample | |
parent | a47c3edc2d22e693a7c3d214658021c869d3bfae (diff) | |
download | tempest-f83f35c9e25e2bdbe9cee06972bde1a6aedc6dc7.tar.gz |
Add network support to the accounts providers
This commits adds support for specifying the network to use with a
user/tenant into the accounts.yaml file. You can only specify a single
network which will be the network used for all that requires a
pre-existing network. This also means regardless of which cred provider
is configured the fixed_network can assume a TestResource object will
be returned from a get_creds call. As part of this change a common
method to return the full network dict from a just a network name is
abstracted out into tempest.common.fixed_network module since this
same method is needed to have the accounts file provide a network by
name.
Partially-implements: bp test-accounts-continued
Change-Id: I6f5ac1239d18f2935847b385a08de608f40fdda5
Diffstat (limited to 'etc/accounts.yaml.sample')
-rw-r--r-- | etc/accounts.yaml.sample | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/etc/accounts.yaml.sample b/etc/accounts.yaml.sample index 64ff8a76c..31ceb3325 100644 --- a/etc/accounts.yaml.sample +++ b/etc/accounts.yaml.sample @@ -33,3 +33,5 @@ password: 'test_password' types: - 'admin' + resources: + network: 'public' |