Can't store multiple deployment flavours data in nested_tosca_templates_with_topology
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
TOSCA Parser |
Fix Released
|
Undecided
|
Ayumu Ueha |
Bug Description
Bug Description:
When user tries to load CSAR file with multiple flavours (eg: simple, complex [attached zip file]) of VNFD, it only stores one object in nested_
Following is the format of CSAR file.
csar
|
Definitions
|
etsi_
etsi_
helloworld
helloworld
helloworld
helloworld
TOSCA-Metadata
|
TOSCA.meta
It should be multiple objects in nested_
(nested_
Observation:
The reason why tosca-parser adds only one nested tosca template is because of method ``_is_sub_
Hi tosca-parser teams!
I'm working with tacker project.
Original bug ticket is https:/ /bugs.launchpad .net/tacker/ +bug/1881219.
This problem seems to occur by tosca-parser's bug.
It seems to work fine if I remove `not nodetemplate. sub_mapping_ tosca_template` from the if expression in method `_is_sub_ mapped_ node`.
So I will push a patch fix as above, and could you check this details and patch contents.
Thanks!