Code Review
/
parser.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Support python3 uploaded to pypi websit
[parser.git]
/
tosca2heat
/
heat-translator
/
translator
/
hot
/
tosca
/
tosca_block_storage.py
diff --git
a/tosca2heat/heat-translator/translator/hot/tosca/tosca_block_storage.py
b/tosca2heat/heat-translator/translator/hot/tosca/tosca_block_storage.py
index
924ff9d
..
27c1033
100644
(file)
--- a/
tosca2heat/heat-translator/translator/hot/tosca/tosca_block_storage.py
+++ b/
tosca2heat/heat-translator/translator/hot/tosca/tosca_block_storage.py
@@
-29,9
+29,10
@@
class ToscaBlockStorage(HotResource):
toscatype = 'tosca.nodes.BlockStorage'
toscatype = 'tosca.nodes.BlockStorage'
- def __init__(self, nodetemplate):
+ def __init__(self, nodetemplate
, csar_dir=None
):
super(ToscaBlockStorage, self).__init__(nodetemplate,
super(ToscaBlockStorage, self).__init__(nodetemplate,
- type='OS::Cinder::Volume')
+ type='OS::Cinder::Volume',
+ csar_dir=csar_dir)
pass
def handle_properties(self):
pass
def handle_properties(self):