debugging templates
This commit is contained in:
parent
e6ec14dfe7
commit
4f0bc72cc1
1 changed files with 6 additions and 0 deletions
|
@ -212,12 +212,18 @@ class OpenNebulaManager():
|
||||||
return template_pool
|
return template_pool
|
||||||
|
|
||||||
def get_templates(self):
|
def get_templates(self):
|
||||||
|
print("TEMPLATES")
|
||||||
|
print(self._get_template_pool())
|
||||||
|
|
||||||
try:
|
try:
|
||||||
public_templates = [
|
public_templates = [
|
||||||
template
|
template
|
||||||
for template in self._get_template_pool()
|
for template in self._get_template_pool()
|
||||||
if 'public-' in template.name
|
if 'public-' in template.name
|
||||||
]
|
]
|
||||||
|
print("TEMPLATES")
|
||||||
|
print(public_templates)
|
||||||
|
|
||||||
return public_templates
|
return public_templates
|
||||||
except ConnectionRefusedError:
|
except ConnectionRefusedError:
|
||||||
return []
|
return []
|
||||||
|
|
Loading…
Reference in a new issue