projects
/
osm
/
devops.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Bug 2081: Store Snapcraft Crdentials as Secret
[osm/devops.git]
/
systest
/
lib
/
vim
/
vim.py
diff --git
a/systest/lib/vim/vim.py
b/systest/lib/vim/vim.py
index
f3d1753
..
0ac9525
100644
(file)
--- a/
systest/lib/vim/vim.py
+++ b/
systest/lib/vim/vim.py
@@
-23,4
+23,7
@@
class Vim():
try:
osm.get_api().vim.get(self.vim_name)
except ClientException:
try:
osm.get_api().vim.get(self.vim_name)
except ClientException:
- osm.get_api().vim.create(self.vim_name,openstack.get_access())
+ if vmware._os_access['vim-url'] and vmware._os_access['vim-type'] == 'vmware':
+ osm.get_api().vim.create(self.vim_name,vmware.get_access())
+ else:
+ osm.get_api().vim.create(self.vim_name,openstack.get_access())