The current PDF is not sufficient enough. We have already discussed this one month ago in CNTT RI and OPNFV TSC.
You can reference CNTT RI Chp05 for the installer description file we are creating. From my understanding, that is the list of thing we need to cover in PDF 2.0. My colleague Chenliang has worked out an yaml file according to chp05. https://wiki.opnfv.org/display/CIRV/CNTT+RI+installer+description+file I think we can begin our discussion on this yaml file and see if this is sufficient for not only AS but also other installers as well. If so, we can have it as PDF 2.0 and define the follow up testing and CI tool chain accordingly. 发件人: opnfv-tech-discuss@lists.opnfv.org <opnfv-tech-discuss@lists.opnfv.org> 代表 daniel.balsi...@swisscom.com 发送时间: 2020年1月15日 17:29 收件人: ms7...@att.com; opnfv-tech-discuss@lists.opnfv.org; georg.k...@ericsson.com 主题: Re: [opnfv-tech-discuss] OPNFV PDF to Airship Manifest transformation Hacking! Thank you Georg I think you identified the most important point. Can anyone confirm that the PDF has all the required information for creating a valid AS treasuremap ? I do not think this is the case. Or asked the other way round: Which information in AS treasuremap is not in any of the OPNFV descriptor files (PDF/IDF/Scenario) yet ? KR D _____ From: opnfv-tech-discuss@lists.opnfv.org <mailto:opnfv-tech-discuss@lists.opnfv.org> <opnfv-tech-discuss@lists.opnfv.org> on behalf of Georg Kunz via Lists.Opnfv.Org <georg.kunz=ericsson....@lists.opnfv.org <mailto:georg.kunz=ericsson....@lists.opnfv.org> > Sent: Wednesday, January 15, 2020 9:15 AM To: SHOSTAK, MARK <ms7...@att.com <mailto:ms7...@att.com> >; opnfv-tech-discuss@lists.opnfv.org <mailto:opnfv-tech-discuss@lists.opnfv.org> <opnfv-tech-discuss@lists.opnfv.org <mailto:opnfv-tech-discuss@lists.opnfv.org> > Cc: opnfv-tech-discuss@lists.opnfv.org <mailto:opnfv-tech-discuss@lists.opnfv.org> <opnfv-tech-discuss@lists.opnfv.org <mailto:opnfv-tech-discuss@lists.opnfv.org> > Subject: Re: [opnfv-tech-discuss] OPNFV PDF to Airship Manifest transformation Hacking! Hi Mark, Indeed, the magic is in the templates. I linked to the entire set of templates [1] in my previous email. The template files are structured according to the file and directory structure in treasuremap. As a concrete example, the nodes.j2 file [2] is a templated version of the nodes.yaml file of the treasuremap repo, describing the bare-metal nodes of a particular site. Admittedly, the Akraino input config file was designed with the requirements of Airship in mind, i.e., it includes all information needed to render the templates. As the PDF on the other hand contains a different set of information, the main question of the gaps between the PDF and the Airship manifests remains. But this is independent of the implementation of the translation mechanism. [1] https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgerrit.akr aino.org%2Fr%2Fgitweb%3Fp%3Dyaml_builds.git%3Ba%3Dtree%3Bf%3Dsite_type%2Fsri ov-a13%2Ftemplates%3Bh%3D61daa1b4b4d3c2adbc6c7301cd26a75406624e6f%3Bhb%3Dref s%2Fheads%2Fmaster <https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgerrit.ak raino.org%2Fr%2Fgitweb%3Fp%3Dyaml_builds.git%3Ba%3Dtree%3Bf%3Dsite_type%2Fsr iov-a13%2Ftemplates%3Bh%3D61daa1b4b4d3c2adbc6c7301cd26a75406624e6f%3Bhb%3Dre fs%2Fheads%2Fmaster&data=02%7C01%7CDaniel.Balsiger%40swisscom.com%7C170f f26dad9b436f008608d799933b46%7C364e5b87c1c7420d9beec35d19b557a1%7C1%7C0%7C63 7146729937022136&sdata=iaTPEtj%2BZyneiKQi3EecvmMp%2FEGPZzyxsreV8jV2rJA%3 D&reserved=0> &data=02%7C01%7CDaniel.Balsiger%40swisscom.com%7C170ff26dad9b436f008608d 799933b46%7C364e5b87c1c7420d9beec35d19b557a1%7C1%7C0%7C637146729937022136&am p;sdata=iaTPEtj%2BZyneiKQi3EecvmMp%2FEGPZzyxsreV8jV2rJA%3D&reserved=0 [2] https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgerrit.akr aino.org%2Fr%2Fgitweb%3Fp%3Dyaml_builds.git%3Ba%3Dblob%3Bf%3Dsite_type%2Fsri ov-a13%2Ftemplates%2Fbaremetal%2Fnodes.j2%3Bh%3Ddf0ab54e820a7c4734c889c0c596 afbd61c723b4%3Bhb%3Drefs%2Fheads%2Fmaster <https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgerrit.ak raino.org%2Fr%2Fgitweb%3Fp%3Dyaml_builds.git%3Ba%3Dblob%3Bf%3Dsite_type%2Fsr iov-a13%2Ftemplates%2Fbaremetal%2Fnodes.j2%3Bh%3Ddf0ab54e820a7c4734c889c0c59 6afbd61c723b4%3Bhb%3Drefs%2Fheads%2Fmaster&data=02%7C01%7CDaniel.Balsige r%40swisscom.com%7C170ff26dad9b436f008608d799933b46%7C364e5b87c1c7420d9beec3 5d19b557a1%7C1%7C0%7C637146729937022136&sdata=KbDisC5i8T5AEbfgEnXgVHh%2F 2ljEcc7Yl2d0pZoEEro%3D&reserved=0> &data=02%7C01%7CDaniel.Balsiger%40swisscom.com%7C170ff26dad9b436f008608d 799933b46%7C364e5b87c1c7420d9beec35d19b557a1%7C1%7C0%7C637146729937022136&am p;sdata=KbDisC5i8T5AEbfgEnXgVHh%2F2ljEcc7Yl2d0pZoEEro%3D&reserved=0 Best regards Georg -----Original Message----- From: SHOSTAK, MARK <ms7...@att.com <mailto:ms7...@att.com> > Sent: Tuesday, January 14, 2020 10:15 PM To: Georg Kunz <georg.k...@ericsson.com <mailto:georg.k...@ericsson.com> >; opnfv-tech-discuss@lists.opnfv.org <mailto:opnfv-tech-discuss@lists.opnfv.org> Subject: RE: [opnfv-tech-discuss] OPNFV PDF to Airship Manifest transformation Hacking! Thanks Georg, that's interesting. It's a very short script, so I'm guessing the magic is in the template files, which I have yet to find. Do you have any links to the templates or some other documentation/wiki/whatever? Have others looked at this script? Any thoughts? Thanks, -Mark -----Original Message----- From: Georg Kunz [mailto:georg.k...@ericsson.com] Sent: Tuesday, January 14, 2020 09:20 To: SHOSTAK, MARK <ms7...@att.com <mailto:ms7...@att.com> >; opnfv-tech-discuss@lists.opnfv.org <mailto:opnfv-tech-discuss@lists.opnfv.org> Subject: RE: [opnfv-tech-discuss] OPNFV PDF to Airship Manifest transformation Hacking! Hi Marc, all, As I mentioned in yesterday's session, I'd like to make you aware of translation tooling that was created in the context of the Akraino Network Cloud blueprint work. Specifically, jinja2 templates [1] and a small copy tool [2] are used to create valid Airship input manifests based on an Akraino-specific input file [3]. Consider this to be a proposal for discussion. I am also happy to quickly walk you through this tomorrow, tomorrow or during an upcoming online meeting, if there is interest. [1] https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Furldefense .proofpoint.com%2Fv2%2Furl%3Fu%3Dhttps-3A__gerrit.akraino.org_r_gitweb-3Fp-3 Dyaml-5Fbuilds.git-3Ba-3Dtree-3Bf-3Dsite-5Ftype_sriov-2Da13_templates-3Bh-3D 61daa1b4b4d3c2adbc6c7301cd26a75406624e6f-3Bhb-3Drefs_heads_master%26d%3DDwIF Ag%26c%3DLFYZ-o9_HUMeMTSQicvjIg%26r%3DjpZpdbY46Bqv_Ghv8dHXcbwtfXtibdpcqKx0s1 QrMGM%26m%3DCOjkFPF3Yx4WSmVSl5GcbXANi_m_TvChqgclHnmUIdg%26s%3DdAAlZT9wHpyTqe JJcrSdKavJlT76wkDyFHaRb-vtM2A%26e&data=02%7C01%7CDaniel.Balsiger%40swiss com.com%7C170ff26dad9b436f008608d799933b46%7C364e5b87c1c7420d9beec35d19b557a 1%7C1%7C0%7C637146729937022136&sdata=Be2M9%2BRdNPpNVfEasY9dWL0Ha%2BJ%2BY SQSeE7lKKE2Sxg%3D&reserved=0= [2] https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Furldefense .proofpoint.com%2Fv2%2Furl%3Fu%3Dhttps-3A__gerrit.akraino.org_r_gitweb-3Fp-3 Dyaml-5Fbuilds.git-3Ba-3Dblob-3Bf-3Dscripts_jcopy.py-3Bh-3Db48c5fd33373e482d d35fffb42b9d1d9d7798d51-3Bhb-3Drefs_heads_master%26d%3DDwIFAg%26c%3DLFYZ-o9_ HUMeMTSQicvjIg%26r%3DjpZpdbY46Bqv_Ghv8dHXcbwtfXtibdpcqKx0s1QrMGM%26m%3DCOjkF PF3Yx4WSmVSl5GcbXANi_m_TvChqgclHnmUIdg%26s%3DsXwxNIzMKbu6SyWwi0DTd_nhf6aG2AR LOfx0dw2QAQA%26e&data=02%7C01%7CDaniel.Balsiger%40swisscom.com%7C170ff26 dad9b436f008608d799933b46%7C364e5b87c1c7420d9beec35d19b557a1%7C1%7C0%7C63714 6729937022136&sdata=IOTapJI0OX096yiuobbmAwsf%2BuXs9oPXuYGARjDIan4%3D& ;reserved=0= [3] https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Furldefense .proofpoint.com%2Fv2%2Furl%3Fu%3Dhttps-3A__gerrit.akraino.org_r_gitweb-3Fp-3 Dyaml-5Fbuilds.git-3Ba-3Dblob-3Bf-3Ddellgen10-2Dsriov-2Da13.yaml-3Bh-3D76afc a21cd6218205547a4ab09c382367e8ad965-3Bhb-3Drefs_heads_master%26d%3DDwIFAg%26 c%3DLFYZ-o9_HUMeMTSQicvjIg%26r%3DjpZpdbY46Bqv_Ghv8dHXcbwtfXtibdpcqKx0s1QrMGM %26m%3DCOjkFPF3Yx4WSmVSl5GcbXANi_m_TvChqgclHnmUIdg%26s%3DjBzvztgYJ_u9GT95tyo dgwkM_zXvKpgyAY9FELEHKtY%26e&data=02%7C01%7CDaniel.Balsiger%40swisscom.c om%7C170ff26dad9b436f008608d799933b46%7C364e5b87c1c7420d9beec35d19b557a1%7C1 %7C0%7C637146729937022136&sdata=Hshn%2Bt9jU1D4RDaU7pp7ZX%2B5CEX8ZMbQPyXh QhEW76k%3D&reserved=0= Best regards Georg -----Original Message----- From: opnfv-tech-discuss@lists.opnfv.org <mailto:opnfv-tech-discuss@lists.opnfv.org> <opnfv-tech-discuss@lists.opnfv.org <mailto:opnfv-tech-discuss@lists.opnfv.org> > On Behalf Of SHOSTAK, MARK via Lists.Opnfv.Org Sent: Tuesday, January 14, 2020 4:40 AM To: opnfv-tech-discuss@lists.opnfv.org <mailto:opnfv-tech-discuss@lists.opnfv.org> Cc: opnfv-tech-discuss@lists.opnfv.org <mailto:opnfv-tech-discuss@lists.opnfv.org> Subject: Re: [opnfv-tech-discuss] OPNFV PDF to Airship Manifest transformation Hacking! Team, Re: Meeting for Tuesday 14/1 - I wasn't able to find any slots open for the day. However, if people are interested, I can cut my lunch short or we can brown-bag it, and meet at 13:00 CEST/local time // we get 90 mins from 12:30 to 14:00 for lunch. Re: Manifest files on wiki - I added some links to the PDF->AS1.0 wiki (https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Furldefens e.proofpoint.com%2Fv2%2Furl%3Fu%3Dhttps-3A__protect2.fireeye.com_v1_url-3Fk- 3D5dd25fc9-2D015b858e-2D5dd21f52-2D0cc47ad93c18-2D003583a7258f4a7e-26q-3D1-2 6e-3D8bf56d22-2D9e74-2D45a9-2D8874-2D6d137c5a32ff-26u-3Dhttps-253A-252F-252F wiki.lfnetworking.org-252Fdisplay-252FLN-252FChallenge-25253A-252BOPNFV-252B PDF-252Bto-252BAirship-252BManifest-252BTransformation%26d%3DDwIFAg%26c%3DLF YZ-o9_HUMeMTSQicvjIg%26r%3DjpZpdbY46Bqv_Ghv8dHXcbwtfXtibdpcqKx0s1QrMGM%26m%3 DCOjkFPF3Yx4WSmVSl5GcbXANi_m_TvChqgclHnmUIdg%26s%3DJESBWn3fuc_yH7XnVlflFT0nb SamFEfqvJhjUb7_IJc%26e&data=02%7C01%7CDaniel.Balsiger%40swisscom.com%7C1 70ff26dad9b436f008608d799933b46%7C364e5b87c1c7420d9beec35d19b557a1%7C1%7C0%7 C637146729937032090&sdata=GcSNO3p8nXx%2Bsxq%2F8i%2B9GQs0Ay9%2Fmbd16UudrE SXaiE%3D&reserved=0= ) to the actual pod manifest files (Github) as well as the generic Treasuremap files. I was able to dig out the YAML files someone posted on the wiki, in the pod directory tree. If you look at these files for a pod, it will acclimate you the directory structure, as well as the general schema format (spoiler alert: it's YAML). Re: Next steps - Does someone want to take the first crack at a shell/structure that reads the source PDF file and emits the target files? I'm thinking we can then start building it out with the permutations/mappings. Feel free to reply regarding a brown-bag meeting, as well as any other comments/questions. Thanks! Mark Shostak -----Original Message----- From: opnfv-tech-discuss@lists.opnfv.org <mailto:opnfv-tech-discuss@lists.opnfv.org> [mailto:opnfv-tech-discuss@lists.opnfv.org] On Behalf Of MORTON JR., AL Sent: Monday, January 13, 2020 7:22 AM To: opnfv-tech-discuss@lists.opnfv.org <mailto:opnfv-tech-discuss@lists.opnfv.org> Subject: [opnfv-tech-discuss] OPNFV PDF to Airship Manifest transformation Hacking! This thread is for coordination another/working/Hacking Session *During the DDF week* on the subject above. See Slides and Attendance list (please add your name) at https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Furldefense .proofpoint.com%2Fv2%2Furl%3Fu%3Dhttps-3A__wiki.lfnetworking.org_display_LN_ Challenge-253A-2BOPNFV-2BPDF-2Bto-2BAirship-2BManifest-2BTransformation%26d% 3DDwIFAg%26c%3DLFYZ-o9_HUMeMTSQicvjIg%26r%3Df17OXAYKHTCrGSIbODPLiw%26m%3D1mw zwW_GR1WUmDmssXGrZ_kb0YHISuFGXbgA6kSBsGo%26s%3DxEwRpJqVEJqFxu5Etd6VJvrz4yObb 5nArvg8F-O-x1w%26e&data=02%7C01%7CDaniel.Balsiger%40swisscom.com%7C170ff 26dad9b436f008608d799933b46%7C364e5b87c1c7420d9beec35d19b557a1%7C1%7C0%7C637 146729937032090&sdata=2xqLyjmOlr98g3znZWqPd5vs37eCYDVNeqTAY5MuXD8%3D& ;reserved=0= Thanks! Al, for Mark Shostak
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#23837): https://lists.opnfv.org/g/opnfv-tech-discuss/message/23837 Mute This Topic: https://lists.opnfv.org/mt/69714158/21656 Group Owner: opnfv-tech-discuss+ow...@lists.opnfv.org Unsubscribe: https://lists.opnfv.org/g/opnfv-tech-discuss/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-