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>; 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://urldefense.proofpoint.com/v2/url?u=https-3A__gerrit.akraino.org_r_gitweb-3Fp-3Dyaml-5Fbuilds.git-3Ba-3Dtree-3Bf-3Dsite-5Ftype_sriov-2Da13_templates-3Bh-3D61daa1b4b4d3c2adbc6c7301cd26a75406624e6f-3Bhb-3Drefs_heads_master&d=DwIFAg&c=LFYZ-o9_HUMeMTSQicvjIg&r=jpZpdbY46Bqv_Ghv8dHXcbwtfXtibdpcqKx0s1QrMGM&m=COjkFPF3Yx4WSmVSl5GcbXANi_m_TvChqgclHnmUIdg&s=dAAlZT9wHpyTqeJJcrSdKavJlT76wkDyFHaRb-vtM2A&e= [2] https://urldefense.proofpoint.com/v2/url?u=https-3A__gerrit.akraino.org_r_gitweb-3Fp-3Dyaml-5Fbuilds.git-3Ba-3Dblob-3Bf-3Dscripts_jcopy.py-3Bh-3Db48c5fd33373e482dd35fffb42b9d1d9d7798d51-3Bhb-3Drefs_heads_master&d=DwIFAg&c=LFYZ-o9_HUMeMTSQicvjIg&r=jpZpdbY46Bqv_Ghv8dHXcbwtfXtibdpcqKx0s1QrMGM&m=COjkFPF3Yx4WSmVSl5GcbXANi_m_TvChqgclHnmUIdg&s=sXwxNIzMKbu6SyWwi0DTd_nhf6aG2ARLOfx0dw2QAQA&e= [3] https://urldefense.proofpoint.com/v2/url?u=https-3A__gerrit.akraino.org_r_gitweb-3Fp-3Dyaml-5Fbuilds.git-3Ba-3Dblob-3Bf-3Ddellgen10-2Dsriov-2Da13.yaml-3Bh-3D76afca21cd6218205547a4ab09c382367e8ad965-3Bhb-3Drefs_heads_master&d=DwIFAg&c=LFYZ-o9_HUMeMTSQicvjIg&r=jpZpdbY46Bqv_Ghv8dHXcbwtfXtibdpcqKx0s1QrMGM&m=COjkFPF3Yx4WSmVSl5GcbXANi_m_TvChqgclHnmUIdg&s=jBzvztgYJ_u9GT95tyodgwkM_zXvKpgyAY9FELEHKtY&e= Best regards Georg -----Original Message----- From: opnfv-tech-discuss@lists.opnfv.org <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 Cc: 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://urldefense.proofpoint.com/v2/url?u=https-3A__protect2.fireeye.com_v1_url-3Fk-3D5dd25fc9-2D015b858e-2D5dd21f52-2D0cc47ad93c18-2D003583a7258f4a7e-26q-3D1-26e-3D8bf56d22-2D9e74-2D45a9-2D8874-2D6d137c5a32ff-26u-3Dhttps-253A-252F-252Fwiki.lfnetworking.org-252Fdisplay-252FLN-252FChallenge-25253A-252BOPNFV-252BPDF-252Bto-252BAirship-252BManifest-252BTransformation&d=DwIFAg&c=LFYZ-o9_HUMeMTSQicvjIg&r=jpZpdbY46Bqv_Ghv8dHXcbwtfXtibdpcqKx0s1QrMGM&m=COjkFPF3Yx4WSmVSl5GcbXANi_m_TvChqgclHnmUIdg&s=JESBWn3fuc_yH7XnVlflFT0nbSamFEfqvJhjUb7_IJc&e= ) 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] On Behalf Of MORTON JR., AL Sent: Monday, January 13, 2020 7:22 AM To: 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://urldefense.proofpoint.com/v2/url?u=https-3A__wiki.lfnetworking.org_display_LN_Challenge-253A-2BOPNFV-2BPDF-2Bto-2BAirship-2BManifest-2BTransformation&d=DwIFAg&c=LFYZ-o9_HUMeMTSQicvjIg&r=f17OXAYKHTCrGSIbODPLiw&m=1mwzwW_GR1WUmDmssXGrZ_kb0YHISuFGXbgA6kSBsGo&s=xEwRpJqVEJqFxu5Etd6VJvrz4yObb5nArvg8F-O-x1w&e= Thanks! Al, for Mark Shostak
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#23834): https://lists.opnfv.org/g/opnfv-tech-discuss/message/23834 Mute This Topic: https://lists.opnfv.org/mt/69674430/21656 Group Owner: opnfv-tech-discuss+ow...@lists.opnfv.org Unsubscribe: https://lists.opnfv.org/g/opnfv-tech-discuss/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-