VnfAdapterRestV1.groovy
Thanks -Steve From: <[email protected]> on behalf of "Multanen, Eric W" <[email protected]> Reply-To: "[email protected]" <[email protected]>, "[email protected]" <[email protected]> Date: Tuesday, March 12, 2019 at 4:17 PM To: "[email protected]" <[email protected]>, "SMOKOWSKI, STEVEN" <[email protected]>, "'Ahmad, Munir'" <[email protected]>, 'Byung-Woo Jun' <[email protected]>, 'Seshu m' <[email protected]>, 'Subhash Kumar Singh' <[email protected]>, "Williams, Marcus" <[email protected]>, "'Muszkieta, Lukasz (Nokia - PL/Wroclaw)'" <[email protected]>, 'Milind Jalwadi' <[email protected]>, "'[email protected]'" <[email protected]>, "BLANDFORD, SCOTT" <[email protected]>, "[email protected]" <[email protected]> Subject: Re: [onap-discuss] [SO] adding cloud owner to the SO VNF adapter call Which files are those? From: [email protected] [mailto:[email protected]] On Behalf Of Steve Smokowski Sent: Tuesday, March 12, 2019 12:57 PM To: Multanen, Eric W <[email protected]>; '[email protected]' <[email protected]>; 'Ahmad, Munir' <[email protected]>; 'Byung-Woo Jun' <[email protected]>; 'Seshu m' <[email protected]>; 'Subhash Kumar Singh' <[email protected]>; Williams, Marcus <[email protected]>; 'Muszkieta, Lukasz (Nokia - PL/Wroclaw)' <[email protected]>; 'Milind Jalwadi' <[email protected]>; '[email protected]' <[email protected]>; BLANDFORD, SCOTT <[email protected]>; [email protected] Subject: Re: [onap-discuss] [SO] adding cloud owner to the SO VNF adapter call It looks fine to me, are you going to update the files building the requests as well? Thanks -Steve From: "Multanen, Eric W" <[email protected]<mailto:[email protected]>> Date: Tuesday, March 12, 2019 at 3:55 PM To: "'[email protected]'" <[email protected]<mailto:[email protected]>>, "SMOKOWSKI, STEVEN" <[email protected]<mailto:[email protected]>>, "'Ahmad, Munir'" <[email protected]<mailto:[email protected]>>, 'Byung-Woo Jun' <[email protected]<mailto:[email protected]>>, 'Seshu m' <[email protected]<mailto:[email protected]>>, 'Subhash Kumar Singh' <[email protected]<mailto:[email protected]>>, "Williams, Marcus" <[email protected]<mailto:[email protected]>>, "'Muszkieta, Lukasz (Nokia - PL/Wroclaw)'" <[email protected]<mailto:[email protected]>>, 'Milind Jalwadi' <[email protected]<mailto:[email protected]>>, "'[email protected]'" <[email protected]<mailto:[email protected]>>, "BLANDFORD, SCOTT" <[email protected]<mailto:[email protected]>>, "[email protected]<mailto:[email protected]>" <[email protected]<mailto:[email protected]>> Subject: [SO] adding cloud owner to the SO VNF adapter call Hi SO people, The SO-Multicloud API uses CloudOwner and CloudRegionId. E.g. POST http://msb-iag.onap:80/api/multicloud-titaniumcloud/v1/<https://urldefense.proofpoint.com/v2/url?u=http-3A__msb-2Diag.onap-3A80_api_multicloud-2Dtitaniumcloud_v1_&d=DwQFAg&c=LFYZ-o9_HUMeMTSQicvjIg&r=shs6nPzThSiGJml9VXN0Eg&m=aKYaN1Ut1d3ZjWhcxB0tsY7JFvGTxCNnejxzgWWACGs&s=Yvex44gZdiAT2s2dUTu6hv9-Cax4mnC-GM0STAgwXnc&e=>CloudOwner/ONAP-POD-01-Rail-06/infra_workload The approach we took in Casablanca was to add a Cloud_Site and Identity row in the SO DB for each Multicloud cloud owner/region. I notice that the BPMN layer already looks up the CloudRegion from AAI and knows what the CloudOwner is, but this is not passed to the VNF adapter layer. It seems to me that if the CloudOwner was passed to the VNF adapter, then it could help make the code and operation cleaner and easier to understand (eventually). I put together a quick patch (not a complete patch) to take a look at what adding CloudOwner would look like: https://gerrit.onap.org/r/82063<https://urldefense.proofpoint.com/v2/url?u=https-3A__gerrit.onap.org_r_82063&d=DwMFAg&c=LFYZ-o9_HUMeMTSQicvjIg&r=shs6nPzThSiGJml9VXN0Eg&m=aKYaN1Ut1d3ZjWhcxB0tsY7JFvGTxCNnejxzgWWACGs&s=0bhR1iczb4PfaPdPxWJJgZaD_RtPkZfzCorAVjrS9-k&e=> What are the concerns about making a change like this? Are there any alternative solutions? Thanks, Eric -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#15995): https://lists.onap.org/g/onap-discuss/message/15995 Mute This Topic: https://lists.onap.org/mt/30405813/21656 Group Owner: [email protected] Unsubscribe: https://lists.onap.org/g/onap-discuss/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
