Konstantin The VNF Validation Program (ONAP ICE) project: https://wiki.onap.org/display/DW/ICE<https://urldefense.proofpoint.com/v2/url?u=https-3A__wiki.onap.org_display_DW_ICE&d=DwMFaQ&c=LFYZ-o9_HUMeMTSQicvjIg&r=yLYuNW5w2gOecrwMfo7-lQ&m=7xunPQW6IEPVAMj8UqQm8anp5etqdhcPCM-l5ste0m4&s=a-ESmRXB75Bd2-8dByEDQDOabEqP-aipZQwmZP_kgX4&e=> goal is to validate Heat for the ONAP environment. Based on personal experience, the YAML validator is SDC appears more strict than OpenStack. Heat with non-compliant YAML (e.g., a tab character) can be spun up manually with OpenStack but will fail SDC onboarding. It is probably some similar issue that is causing the error Validate file aliagnment - heat validator cannot parse templates The other two issues are most likely caused by the Heat not being fully compliant with the requirements in the “VNF Heat Template Requirements for OpenEcomp”. I am familiar with that document. If you send me the Heat, I will take a quick look. No promises, though.
Regards, Alan From: Konstantin Dunaev [mailto:[email protected]] Sent: Thursday, June 01, 2017 7:48 AM To: WEINSTOCK, ALAN M <[email protected]> Cc: ROSE, DANIEL V <[email protected]>; [email protected] Subject: Re: [onap-discuss] is there any heat validator tool? Hi Alan, I believe that "error report" was produced by SDC on-boarding process. The Heat template itself is just fine, I can use on my vanila OpenSTack environment just fine. But at the customer location, they seem to use the ONAP environment with some specific requirements to parameters and naming conventions and I'm missing the tool to validate it before sending. I can share the Heat files, no secret here, but as I said - I need to way to validate it for usage in ONAP environment. If you're able to help me here -I'd be really appreciate! Best, Konstantin On Wed, May 31, 2017 at 10:58 PM, WEINSTOCK, ALAN M <[email protected]<mailto:[email protected]>> wrote: Konstantin, Daniel Maybe more the domain of the VNF Validation Program (ONAP ICE) project? The VNF Validation Program (ONAP ICE) project is now ready for review: https://wiki.onap.org/display/DW/ICE<https://urldefense.proofpoint.com/v2/url?u=https-3A__wiki.onap.org_display_DW_ICE&d=DwMFaQ&c=LFYZ-o9_HUMeMTSQicvjIg&r=yLYuNW5w2gOecrwMfo7-lQ&m=7xunPQW6IEPVAMj8UqQm8anp5etqdhcPCM-l5ste0m4&s=a-ESmRXB75Bd2-8dByEDQDOabEqP-aipZQwmZP_kgX4&e=> Konstantin – 2 YAML validation tools you can try are below. We have used the first one to find “hidden” tab characters. http://yaml-online-parser.appspot.com/<https://urldefense.proofpoint.com/v2/url?u=http-3A__yaml-2Donline-2Dparser.appspot.com_&d=DwMFaQ&c=LFYZ-o9_HUMeMTSQicvjIg&r=yLYuNW5w2gOecrwMfo7-lQ&m=7xunPQW6IEPVAMj8UqQm8anp5etqdhcPCM-l5ste0m4&s=PU-0PKFhuA18EXjMiYSpMtpgR3hpqZ5wZ5f1dpgRi2Q&e=> http://www.yamllint.com/<https://urldefense.proofpoint.com/v2/url?u=http-3A__www.yamllint.com_&d=DwMFaQ&c=LFYZ-o9_HUMeMTSQicvjIg&r=yLYuNW5w2gOecrwMfo7-lQ&m=7xunPQW6IEPVAMj8UqQm8anp5etqdhcPCM-l5ste0m4&s=5g0tgcRarzQ-r2-Gn94-wAIeD73MN0sRyEcbHIoX8mo&e=> How were these “error messages” generated? Were they part of the SDC on-boarding process? MSO? vf_module_name is optional in MSO. ----------------------------------- Validate file aliagnment - heat validator cannot parse templates. ECOMP parameters missing - vf_module_name, vnf_name, and vnf_id Parameter missing vm_type - any parameter associated with a VM must have a vm_type assigned. .... ------------------------------- Would you be willing to share your Heat template? Regards, Alan From: [email protected]<mailto:[email protected]> [mailto:[email protected]<mailto:[email protected]>] On Behalf Of ROSE, DANIEL V Sent: Wednesday, May 31, 2017 10:44 AM To: Konstantin Dunaev <[email protected]<mailto:[email protected]>>; [email protected]<mailto:[email protected]> Subject: Re: [onap-discuss] is there any heat validator tool? ***Security Advisory: This Message Originated Outside of AT&T *** Reference http://cso.att.com/EmailSecurity/IDSP.html for more information. Konstantin, Such a thing would probably be the domain of https://wiki.onap.org/display/DW/VNF+SDK<https://urldefense.proofpoint.com/v2/url?u=https-3A__wiki.onap.org_display_DW_VNF-2BSDK&d=DwMGaQ&c=LFYZ-o9_HUMeMTSQicvjIg&r=yLYuNW5w2gOecrwMfo7-lQ&m=PZ8kvYPmkQJt0jU1yZ9d7ymdbyZZTQ7duHiyg0Ren5k&s=rU4JIoEJiz2uI5T5s1GwUzHk5-1M7njt8y69v9ZJ_WM&e=> project but it doesn’t exist today. Thanks, Daniel Rose ECOMP / ONAP com.att.ecomp 732-420-7308<tel:(732)%20420-7308> From: [email protected]<mailto:[email protected]> [mailto:[email protected]] On Behalf Of Konstantin Dunaev Sent: Wednesday, May 31, 2017 9:29 AM To: [email protected]<mailto:[email protected]> Subject: [onap-discuss] is there any heat validator tool? Hello ONAP Community, we are using “VNF Heat Template Requirements for OpenEcomp” to prepare a Heat template, but we don't have running ONAP environment and I can't validate my files. We're in the process to install it, but it requires time and resources and make take longe time. Is there any "offline" validation tool, which we can use to verify/validate Heat templates before we send them to ONAP environment (running at the customer site). When we sent our current Heat files, the customer responded back with the information: ----------------------------------- Validate file aliagnment - heat validator cannot parse templates. ECOMP parameters missing - vf_module_name, vnf_name, and vnf_id Parameter missing vm_type - any parameter associated with a VM must have a vm_type assigned. .... ------------------------------- I could find and correct some problems with naming, but not sure if I see them all. Best regards, Konstantin
_______________________________________________ onap-discuss mailing list [email protected] https://lists.onap.org/mailman/listinfo/onap-discuss
