]> git.apps.os.sepia.ceph.com Git - teuthology.git/commit
libcloud: add allow_sizes and allow_networks 1270/head
authorKyr Shatskyy <kyrylo.shatskyy@gmail.com>
Wed, 27 Mar 2019 16:01:58 +0000 (17:01 +0100)
committerKyr Shatskyy <kyrylo.shatskyy@gmail.com>
Thu, 28 Mar 2019 16:04:08 +0000 (17:04 +0100)
commit631e2d161afb3f1f87c1cd1c4dfae433a0fc59a7
tree651ff4b393e3afc0bed4500c4f48d87c59ff8b33
parent58ffaa0edabd083c4cc247bc8d4146da9317cc13
libcloud: add allow_sizes and allow_networks

In order to simplify selection of flavors and networks
there is added support for allow_sizes and allow_networks
records for each provider configuration.

Both supports either single regular expression or a list
of regular expressions.
Also exclude_sizes supports lists now as well.

Signed-off-by: Kyr Shatskyy <kyrylo.shatskyy@gmail.com>
teuthology/provision/cloud/openstack.py
teuthology/provision/cloud/test/test_openstack.py