Ullas, have you done robot heatbridge step after VF Module creation ? I believe that is supposed to add more info in AAI about the stack created. demo.sh <stack name> <service instance id> <VNF Type>
From: onap-discuss-boun...@lists.onap.org <onap-discuss-boun...@lists.onap.org> On Behalf Of SMOKOWSKI, STEVEN Sent: Friday, April 13, 2018 12:39 AM To: Ullas Kumar Kotrappa Yereseemi <ullaskuma...@infosys.com>; FORSYTH, JAMES <jf2...@att.com>; onap-discuss@lists.onap.org Cc: Syed Atif Husain <syed...@infosys.com> Subject: Re: [onap-discuss] AAI inventory update after onboarding / instantiation on openstack using SO API Not all heat outputs are generically added to A&AI. I believe only stack-id is today. SDNC does write some data in terms of ip-addresses though. I would check with them, or A&AI. I cannot answer this from SO. I do know we have thought about adding those generic outputs. Thanks -Steve From: Ullas Kumar Kotrappa Yereseemi <ullaskuma...@infosys.com<mailto:ullaskuma...@infosys.com>> Date: Thursday, April 12, 2018 at 2:39 PM To: "FORSYTH, JAMES" <jf2...@att.com<mailto:jf2...@att.com>>, "SMOKOWSKI, STEVEN" <ss8...@att.com<mailto:ss8...@att.com>>, "onap-discuss@lists.onap.org<mailto:onap-discuss@lists.onap.org>" <onap-discuss@lists.onap.org<mailto:onap-discuss@lists.onap.org>> Cc: Syed Atif Husain <syed...@infosys.com<mailto:syed...@infosys.com>> Subject: RE: [onap-discuss] AAI inventory update after onboarding / instantiation on openstack using SO API Hello All, As part of the SO API VNF Module creation, there is an async process . POST /mso/WorkflowMessage/VNFAResponse/939ba1f2-67c5-417b-803f-80fdf5289b8c-1522947354911 <vfModuleOutputs> <entry> <key>vVerifier_name</key> <value>Ex-vice_4_5_2018_VNF_MODULE_V1-vVerifier-32wmuzerbmk4</value> </entry> <entry> <key>vVerifier_ip</key> <value>10.50.1.107</value> </entry> </vfModuleOutputs> Can see the IP address of the VNF which was instantiated (below snapshot collected via TCP DUMPS) , but cannot get this information from AAI. Does this response gets added to AAI against VNF instance ? if so how can we get this? Also have tried named queries but did not get IP address of the instance. [cid:image001.png@01D3D2BB.97D851D0] Regards, Ullas Desk: +91 82141 89692 Mobile: +91 7338633314 From: Ullas Kumar Kotrappa Yereseemi Sent: Friday, April 6, 2018 4:08 PM To: FORSYTH, JAMES <jf2...@att.com<mailto:jf2...@att.com>>; SMOKOWSKI, STEVEN <ss8...@att.com<mailto:ss8...@att.com>>; onap-discuss@lists.onap.org<mailto:onap-discuss@lists.onap.org> Cc: Syed Atif Husain <syed...@infosys.com<mailto:syed...@infosys.com>> Subject: RE: [onap-discuss] AAI inventory update after onboarding / instantiation on openstack using SO API Hello Jimmy, Thanks for the details , that did gave some more information but still the information on the Host and IP of the VNF was not available as part of the AAI Call ( I tried the depth 3 and greater than 3 as well) . As part of the VNF Module Initialization call via SO. http://{ONAP_MSO}ecomp/mso/infra/serviceInstances/v4/{instance_id}/vnfs/{VNF_ID}vfModules<https://urldefense.proofpoint.com/v2/url?u=http-3A__-257bONAP-5FMSO-257decomp_mso_infra_serviceInstances_v4_-257binstance-5Fid-257d_vnfs_-257bVNF-5FID-257dvfModules&d=DwMGaQ&c=LFYZ-o9_HUMeMTSQicvjIg&r=shs6nPzThSiGJml9VXN0Eg&m=RB0GAG6Mow4-Lvs2-Mps-iNzZdv0nQsMtj9QjXqP0Wk&s=9T4dZ5FTrzEilqzIDfOa0yNJSEH99v-C4X7IXlRvzaQ&e=> The response for the above call for VNF creation was the instance ID. How can we get what information updated to AAI as part of the VNF Module creation API call. Regards, Ullas From: FORSYTH, JAMES [mailto:jf2...@att.com] Sent: Thursday, April 5, 2018 9:32 PM To: Ullas Kumar Kotrappa Yereseemi <ullaskuma...@infosys.com<mailto:ullaskuma...@infosys.com>>; SMOKOWSKI, STEVEN <ss8...@att.com<mailto:ss8...@att.com>>; onap-discuss@lists.onap.org<mailto:onap-discuss@lists.onap.org> Cc: Syed Atif Husain <syed...@infosys.com<mailto:syed...@infosys.com>> Subject: Re: [onap-discuss] AAI inventory update after onboarding / instantiation on openstack using SO API Hi, Ullas, If you want to see objects that are contained by the vnf, I suggest setting the depth= query parameter. By default depth is set to 0, meaning only fetch the given object and not objects that it contains. Example: https://{ONAP_AAI}/aai/v11/network/generic-vnfs/generic-vnf/b8f1c9ed-a14d-4a32-8f34-a4eefef559e4?depth=3<https://urldefense.proofpoint.com/v2/url?u=https-3A__-257bONAP-5FAAI-257d_aai_v11_network_generic-2Dvnfs_generic-2Dvnf_b8f1c9ed-2Da14d-2D4a32-2D8f34-2Da4eefef559e4-3Fdepth-3D3&d=DwMGaQ&c=LFYZ-o9_HUMeMTSQicvjIg&r=shs6nPzThSiGJml9VXN0Eg&m=RB0GAG6Mow4-Lvs2-Mps-iNzZdv0nQsMtj9QjXqP0Wk&s=ErzakZR9Vw0KXoCWvHXH6m-CaFa70JAXGtring3x8sA&e=> Thanks, jimmy From: <onap-discuss-boun...@lists.onap.org<mailto:onap-discuss-boun...@lists.onap.org>> on behalf of Ullas Kumar Kotrappa Yereseemi <ullaskuma...@infosys.com<mailto:ullaskuma...@infosys.com>> Date: Thursday, April 5, 2018 at 11:55 AM To: "SMOKOWSKI, STEVEN" <ss8...@att.com<mailto:ss8...@att.com>>, "onap-discuss@lists.onap.org<mailto:onap-discuss@lists.onap.org>" <onap-discuss@lists.onap.org<mailto:onap-discuss@lists.onap.org>> Cc: Syed Atif Husain <syed...@infosys.com<mailto:syed...@infosys.com>> Subject: Re: [onap-discuss] AAI inventory update after onboarding / instantiation on openstack using SO API Hello Steve, Thanks for the response. However, we could not get any details as part of the get VNF Details call. PFB the response we got after VNF was successfully instantiated on Openstack. Is there any other way to check what is updated on AAU as part of the service instantiation call from SO ? Request: https://{ONAP_AAI}/aai/v11/network/generic-vnfs/generic-vnf/b8f1c9ed-a14d-4a32-8f34-a4eefef559e4<https://urldefense.proofpoint.com/v2/url?u=https-3A__apac01.safelinks.protection.outlook.com_-3Furl-3Dhttps-253A-252F-252Furldefense.proofpoint.com-252Fv2-252Furl-253Fu-253Dhttps-2D3A-5F-5F-2D257bONAP-2D5FAAI-2D257d-5Faai-5Fv11-5Fnetwork-5Fgeneric-2D2Dvnfs-5Fgeneric-2D2Dvnf-5Fb8f1c9ed-2D2Da14d-2D2D4a32-2D2D8f34-2D2Da4eefef559e4-2526d-253DDwMGaQ-2526c-253DLFYZ-2Do9-5FHUMeMTSQicvjIg-2526r-253DOej6QUk5p2KdqNEWySpOHA-2526m-253DOjdOpF1IalmuM8s-5FvN4v2rk8UZSi86EkhEx0S2WbYsQ-2526s-253DXqDm4jKVlo5wZO-5F0E9aBXhHKyA75Wv17Pmm7fQckAJE-2526e-253D-26data-3D01-257C01-257CUllasKumar-5FY-2540infosys.com-257Cf72a8af3057e448535a108d59b0eb5e8-257C63ce7d592f3e42cda8ccbe764cff5eb6-257C1-26sdata-3Dbt1ZWyDiOd7XcZdfYbW1vjbSz5mPwjoP3ht0-252FijzV9k-253D-26reserved-3D0&d=DwMGaQ&c=LFYZ-o9_HUMeMTSQicvjIg&r=shs6nPzThSiGJml9VXN0Eg&m=RB0GAG6Mow4-Lvs2-Mps-iNzZdv0nQsMtj9QjXqP0Wk&s=jL68x7EhM2huB9rHrduIc65n6-0_e52vWUImkCQHsig&e=> { "vnf-id": "b8f1c9ed-a14d-4a32-8f34-a4eefef559e4", "vnf-name": "ExfoVverfierServcie_3_4_2018_VNF_V2", "vnf-type": "ExfoVverfierServcie_2_4_18/Exo_vVerfier_2_4_18 0", "service-id": "test", "prov-status": "PREPROV", "orchestration-status": "Created", "in-maint": false, "is-closed-loop-disabled": false, "resource-version": "1522748583099", "model-invariant-id": "1ef558e3-925e-4073-9d96-5719c461a354", "model-version-id": "e82b6e95-69d7-4d4e-886a-d46abc2791d0", "model-customization-id": "c315d678-c31a-483a-b2a5-d60bb56e95d4", "nf-type": "", "nf-function": "", "nf-role": "", "nf-naming-code": "", "relationship-list": { "relationship": [ { "related-to": "service-instance", "related-link": "/aai/v11/business/customers/customer/Demonstration/service-subscriptions/service-subscription/vCPE/service-instances/service-instance/ef4633b2-9212-4c22-8bdf-137a816e4e29", "relationship-data": [ { "relationship-key": "customer.global-customer-id", "relationship-value": "Demonstration" }, { "relationship-key": "service-subscription.service-type", "relationship-value": "vCPE" }, { "relationship-key": "service-instance.service-instance-id", "relationship-value": "ef4633b2-9212-4c22-8bdf-137a816e4e29" } ], "related-to-property": [ { "property-key": "service-instance.service-instance-name", "property-value": "ExfoVverfierServcie_3_4_2018_V2" } ] } ] } } Regards, Ullas From: SMOKOWSKI, STEVEN [mailto:ss8...@att.com] Sent: Thursday, April 5, 2018 8:00 PM To: Ullas Kumar Kotrappa Yereseemi <ullaskuma...@infosys.com<mailto:ullaskuma...@infosys.com>>; onap-discuss@lists.onap.org<mailto:onap-discuss@lists.onap.org> Cc: Syed Atif Husain <syed...@infosys.com<mailto:syed...@infosys.com>> Subject: Re: [onap-discuss] AAI inventory update after onboarding / instantiation on openstack using SO API 1. A&AI should be updated, with the details. Inventory should always be fetched from there. Thanks -Steve From: <onap-discuss-boun...@lists.onap.org<mailto:onap-discuss-boun...@lists.onap.org>> on behalf of Ullas Kumar Kotrappa Yereseemi <ullaskuma...@infosys.com<mailto:ullaskuma...@infosys.com>> Date: Thursday, April 5, 2018 at 10:27 AM To: "onap-discuss@lists.onap.org<mailto:onap-discuss@lists.onap.org>" <onap-discuss@lists.onap.org<mailto:onap-discuss@lists.onap.org>> Cc: Syed Atif Husain <syed...@infosys.com<mailto:syed...@infosys.com>> Subject: [onap-discuss] AAI inventory update after onboarding / instantiation on openstack using SO API Hello Team, We are working on getting the VNF’s on boarded on to Openstack via the ONAP SO API’s. The VNF was successfully instantiated but when we query AAI using the https://{ONAP_AAI}/aai/v11/network/generic-vnfs/generic-vnf/{VNF-Instance-id}<https://apac01.safelinks.protection.outlook.com/?url=https%3A%2F%2Furldefense.proofpoint.com%2Fv2%2Furl%3Fu%3Dhttps-3A__apac01.safelinks.protection.outlook.com_-3Furl-3Dhttps-253A-252F-252Furldefense.proofpoint.com-252Fv2-252Furl-253Fu-253Dhttps-2D3A-5F-5F-2D257bONAP-2D5FAAI-2D257d-5Faai-5Fv11-5Fnetwork-5Fgeneric-2D2Dvnfs-5Fgeneric-2D2Dvnf-5F-2D257bVNF-2D2DInstance-2D2Did-2D257d-2526d-253DDwMFAg-2526c-253DLFYZ-2Do9-5FHUMeMTSQicvjIg-2526r-253Dshs6nPzThSiGJml9VXN0Eg-2526m-253DF0SEvp0Dy-2Dt6ZP60zsj7TpkDJAFi9wWC0hdV-5FHGVsxA-2526s-253DnfYXEH9HfNA1QTxcNutU9w2Pgsd3QEsHg0FaKrU5vXo-2526e-253D-26data-3D01-257C01-257CUllasKumar-5FY-2540infosys.com-257C0a4c18cd58304662e2ca08d59b01c573-257C63ce7d592f3e42cda8ccbe764cff5eb6-257C1-26sdata-3DF7Z85Xwcq4-252BmdbDhLVIinr3KCMfRSmCvwsvLEufOQhE-253D-26reserved-3D0%26d%3DDwMGaQ%26c%3DLFYZ-o9_HUMeMTSQicvjIg%26r%3DOej6QUk5p2KdqNEWySpOHA%26m%3DOjdOpF1IalmuM8s_vN4v2rk8UZSi86EkhEx0S2WbYsQ%26s%3D08Isq6OGUHUOHv2BLO5PH74GzhYqx6mBmIn1pWhHvwY%26e%3D&data=01%7C01%7CUllasKumar_Y%40infosys.com%7Cf72a8af3057e448535a108d59b0eb5e8%7C63ce7d592f3e42cda8ccbe764cff5eb6%7C1&sdata=U1uCtHjvPnmKlIZm3niooaqxCEHubcKV5Soir0NO0uw%3D&reserved=0>, the response is very basic and does not provide any information related to hosts, IP allocated etc. So few questions on this: 1. Does AAI gets updated with VNF host details once VNF Module is created via SO API’s ? 2. If AAI is not implicitly updated via the SO API Instantiation journey. Is there any way to force it or update the data . Regards, Ullas ============================================================================================================================ Disclaimer: This message and the information contained herein is proprietary and confidential and subject to the Tech Mahindra policy statement, you may review the policy at http://www.techmahindra.com/Disclaimer.html <http://www.techmahindra.com/Disclaimer.html> externally http://tim.techmahindra.com/tim/disclaimer.html <http://tim.techmahindra.com/tim/disclaimer.html> internally within TechMahindra. ============================================================================================================================
_______________________________________________ onap-discuss mailing list onap-discuss@lists.onap.org https://lists.onap.org/mailman/listinfo/onap-discuss