projects
/
osm
/
vim-emu.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
More verbose HEAT parser outputs
[osm/vim-emu.git]
/
src
/
emuvim
/
api
/
openstack
/
heat_parser.py
diff --git
a/src/emuvim/api/openstack/heat_parser.py
b/src/emuvim/api/openstack/heat_parser.py
index
a926c10
..
672a76b
100755
(executable)
--- a/
src/emuvim/api/openstack/heat_parser.py
+++ b/
src/emuvim/api/openstack/heat_parser.py
@@
-64,7
+64,10
@@
class HeatParser:
if len(self.bufferResource) > 0:
print(str(len(self.bufferResource)) +
if len(self.bufferResource) > 0:
print(str(len(self.bufferResource)) +
- ' classes could not be created, because the dependencies could not be found.')
+ ' classes of the HOT could not be created, because the dependencies could not be found.')
+ print("the problem classes are:")
+ for br in self.bufferResource:
+ print("class: %s" % str(br))
return False
return True
return False
return True
@@
-125,7
+128,7
@@
class HeatParser:
else:
port = stack.ports[port_name]
else:
port = stack.ports[port_name]
- if
resource['properties']['network']['get_resource']
in stack.nets:
+ if
str(resource['properties']['network']['get_resource'])
in stack.nets:
net = stack.nets[resource['properties']['network']['get_resource']]
if net.subnet_id is not None:
port.net_name = net.name
net = stack.nets[resource['properties']['network']['get_resource']]
if net.subnet_id is not None:
port.net_name = net.name