Make openstack_clean be aware of the names and not only the IDs 21/17621/2
authorjose.lausuch <jose.lausuch@ericsson.com>
Wed, 27 Jul 2016 12:43:04 +0000 (14:43 +0200)
committerjose.lausuch <jose.lausuch@ericsson.com>
Wed, 27 Jul 2016 12:53:05 +0000 (14:53 +0200)
commit9f5c8f8b42be4791dc200307c6ebac3537081eae
tree5874b5db3592419077bee5a9afe7175bedb5921d
parent086f1b56e4194642328c5a6b86e46cb0ac17cfb3
Make openstack_clean be aware of the names and not only the IDs

Sometimes, when using the same container for a different deployment,
the IDs of the openstack resources are different but the names are
the same. This will avoid cleaning for example the user 'admin'
regardless of the ID it has.

JIRA: FUNCTEST-383

Change-Id: If27603f8f6d0cb7ad0aeba6e3c89ca19e2b8aed2
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
utils/openstack_clean.py