First, you should not need to do both the pip install tosca-parser and the python setup.py install of tosca-parser. Theoretically it should work but since you are instaling with pip into the system python (with sudo) and running setup.py as your user there could be conflicts at runtime.
You might want to try using a virtualenv and just install using pip.
Second, you are trying to parse a template that has NFV nodes in it but does not use the NFV template version, so the parser cannot find the definitions of the NFV objects.
You need to change the template version to: "tosca_simple_profile_for_nfv_1_0_0" so the parser can find the definitions for the NFV nodes.
Hi David:
First, you should not need to do both the pip install tosca-parser and the python setup.py install of tosca-parser. Theoretically it should work but since you are instaling with pip into the system python (with sudo) and running setup.py as your user there could be conflicts at runtime.
You might want to try using a virtualenv and just install using pip.
Second, you are trying to parse a template that has NFV nodes in it but does not use the NFV template version, so the parser cannot find the definitions of the NFV objects.
You need to change the template version to: "tosca_ simple_ profile_ for_nfv_ 1_0_0" so the parser can find the definitions for the NFV nodes.
Hope this helps
Bob