Chengli, Thanks. The reason I asked about yang is that we generate swagger from the yang model and of course in APPC/SDNC a yang model would auto-generate the REST API.
I found references to OSM’s yang model but they dont seem to be compatible with the Open-O swagger definitions. Is swagger.json the only model for the data (containers in yang and rpc’s) ? Brian From: Chengli Wang [mailto:wangchen...@chinamobile.com] Sent: Monday, May 08, 2017 9:48 PM To: CHAPNICK, AVI <avi.chap...@amdocs.com> Cc: FREEMAN, BRIAN D <bf1...@att.com>; onap-discuss@lists.onap.org Subject: Re: [onap-discuss] Reference to VFC repo ? Hi Brain and Avi, I suggest to look through the APIs of lcm(lifecycle management) and res(resource management) sub-components from NFVO project if you would like to understand the data models. linked here, lcm APIs: https://gerrit.open-o.org/r/gitweb?p=nfvo.git;a=blob;f=lcm/lcm/ns/swagger.json;h=2664027efb1642e3955feb66c04958f4e2c8cca1;hb=refs/heads/master<https://urldefense.proofpoint.com/v2/url?u=https-3A__gerrit.open-2Do.org_r_gitweb-3Fp-3Dnfvo.git-3Ba-3Dblob-3Bf-3Dlcm_lcm_ns_swagger.json-3Bh-3D2664027efb1642e3955feb66c04958f4e2c8cca1-3Bhb-3Drefs_heads_master&d=DwMFaQ&c=LFYZ-o9_HUMeMTSQicvjIg&r=e3d1ehx3DI5AoMgDmi2Fzw&m=Dm6KN8sUwAsWDVe25ZQ4mWzH3uMKtnK0Yoi_DYcExJA&s=0565N3Yqk14ryySdsTUYc2Dk6KJQnMVX24N_W9gwrHw&e=> res APIs: https://gerrit.open-o.org/r/gitweb?p=nfvo.git;a=blob;f=resmanagement/ResmanagementService/service/src/main/resources/swagger.json;h=6273c04704cff12cd9cb5f6479c622e7c03ab5b4;hb=refs/heads/master<https://urldefense.proofpoint.com/v2/url?u=https-3A__gerrit.open-2Do.org_r_gitweb-3Fp-3Dnfvo.git-3Ba-3Dblob-3Bf-3Dresmanagement_ResmanagementService_service_src_main_resources_swagger.json-3Bh-3D6273c04704cff12cd9cb5f6479c622e7c03ab5b4-3Bhb-3Drefs_heads_master&d=DwMFaQ&c=LFYZ-o9_HUMeMTSQicvjIg&r=e3d1ehx3DI5AoMgDmi2Fzw&m=Dm6KN8sUwAsWDVe25ZQ4mWzH3uMKtnK0Yoi_DYcExJA&s=n-aCZd2B4GJ95DXrWk28Qsy6_gevqVoBgq6cCfmCSfo&e=> Just like Avi mentioned, OPEN-O use swagger to manage APIs of each micro-services exposed outside, we don’t use yang models. Don’t hesitate to let me know if you have any questions. Regards, Chengli On 8 May 2017, at 12:36, Avi Chapnick <avi.chap...@amdocs.com<mailto:avi.chap...@amdocs.com>> wrote: Hi Brian, When I started investigating VF-C , I assumed that the project to start looking at it was open-O NFVO project And the main entry point is nfvo/lcm/lcm/ns/ns_instant.py Regarding the model I don’t think there is yang like schema , it uses JSON based string payload which get validated by code I would like to get confirmation from open-o guys whether this is the correct entry point. Thanks, Avi, From: onap-discuss-boun...@lists.onap.org<mailto:onap-discuss-boun...@lists.onap.org> [mailto:onap-discuss-boun...@lists.onap.org] On Behalf Of FREEMAN, BRIAN D Sent: Monday, May 8, 2017 7:20 PM To: onap-discuss@lists.onap.org<mailto:onap-discuss@lists.onap.org> Subject: [onap-discuss] Reference to VFC repo ? I’m trying to understand the VF-C data model. Is this the right repo in Open-O (gvnfm-vnfmgr) ? There is a swagger.json for the interface – does anyone have a yang model that corresponds to it ? Brian https://gerrit.open-o.org/r/gitweb?p=gvnfm-vnfmgr.git;a=blob;f=mgr/mgr/swagger/swagger.json;h=552d26f230985c4407352b02c8841bf7d439a6bc;hb=HEAD<https://urldefense.proofpoint.com/v2/url?u=https-3A__gerrit.open-2Do.org_r_gitweb-3Fp-3Dgvnfm-2Dvnfmgr.git-3Ba-3Dblob-3Bf-3Dmgr_mgr_swagger_swagger.json-3Bh-3D552d26f230985c4407352b02c8841bf7d439a6bc-3Bhb-3DHEAD&d=DwMFaQ&c=LFYZ-o9_HUMeMTSQicvjIg&r=e3d1ehx3DI5AoMgDmi2Fzw&m=Dm6KN8sUwAsWDVe25ZQ4mWzH3uMKtnK0Yoi_DYcExJA&s=eWOWw7rENbFYnbBu4E-18G-Fs56Kzi0izZfVNLQZ0Jg&e=> This message and the information contained herein is proprietary and confidential and subject to the Amdocs policy statement, you may review at https://www.amdocs.com/about/email-disclaimer<https://urldefense.proofpoint.com/v2/url?u=https-3A__www.amdocs.com_about_email-2Ddisclaimer&d=DwMFaQ&c=LFYZ-o9_HUMeMTSQicvjIg&r=e3d1ehx3DI5AoMgDmi2Fzw&m=Dm6KN8sUwAsWDVe25ZQ4mWzH3uMKtnK0Yoi_DYcExJA&s=JbcOb7T76mrxjg0l5T-Ar3W32of8jnyUEI4gxUn5OiM&e=> _______________________________________________ onap-discuss mailing list onap-discuss@lists.onap.org<mailto:onap-discuss@lists.onap.org> https://lists.onap.org/mailman/listinfo/onap-discuss<https://urldefense.proofpoint.com/v2/url?u=https-3A__lists.onap.org_mailman_listinfo_onap-2Ddiscuss&d=DwMFaQ&c=LFYZ-o9_HUMeMTSQicvjIg&r=e3d1ehx3DI5AoMgDmi2Fzw&m=Dm6KN8sUwAsWDVe25ZQ4mWzH3uMKtnK0Yoi_DYcExJA&s=ZsiDpBVdl0COOHOksbtDX_F8ZrUSN2NYYzg694RQxFI&e=>
_______________________________________________ onap-discuss mailing list onap-discuss@lists.onap.org https://lists.onap.org/mailman/listinfo/onap-discuss