Hi All,
We tried to test use the configure api, we have followed the
below link for api documentation. After creating the config template and
uploading , also creation the values for the profile mentioning the template
name, how this will be applied to the instance already running. Which api has
to be triggered for updating the config change values we mapped to the profile.
That information we are not able to find. Kindly help us.
URL: https://wiki.onap.org/display/DW/MultiCloud+K8s-Plugin-service+API
Thanks,
Sivakumar S
+49-1712324127
From: Vamshi Namilikonda <[email protected]>
Date: Thursday, 18. June 2020 at 10:39
To: Rajewski Łukasz - Hurt <[email protected]>, "Addepalli, Srinivasa
R" <[email protected]>, "[email protected]"
<[email protected]>, "Sood, Ritu" <[email protected]>,
"[email protected]" <[email protected]>
Cc: KHICHANE Abderaouf TGI/OLN <[email protected]>, Sivakumar _
<[email protected]>
Subject: RE: [onap-discuss] k8splugin - Configuration API
Looping Sivakumar ++
From: Rajewski Łukasz - Hurt <[email protected]>
Sent: Tuesday, June 16, 2020 4:41 PM
To: Vamshi Namilikonda <[email protected]>; Addepalli, Srinivasa R
<[email protected]>; [email protected]; Sood, Ritu
<[email protected]>; [email protected]
Cc: KHICHANE Abderaouf TGI/OLN <[email protected]>
Subject: RE: [onap-discuss] k8splugin - Configuration API
Ok, great. So does it work? If yes, could you please send some working examples
how to configure properly template and config instance?
Regards,
[Logo Orange]
Łukasz Rajewski, R&D Expert
Orange Labs Poland, Advanced Network Solutions Agency
Mob.: +48 519 310 854
Orange Polska, Obrzeżna 7, 02-691 Warsaw
www.orange.pl<https://ind01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.orange.pl%2F&data=02%7C01%7C%7Cd63224cb568b468828ae08d813631869%7Cedf442f5b9944c86a131b42b03a16c95%7C0%7C0%7C637280663612667112&sdata=n2NKIqatLw19gmpFWhEe%2BKG4InknvlimIOBu%2BEQPXDo%3D&reserved=0>
From: Vamshi Namilikonda [mailto:[email protected]]
Sent: Tuesday, June 16, 2020 1:09 PM
To: Rajewski Łukasz - Hurt; Addepalli, Srinivasa R;
[email protected]<mailto:[email protected]>; Sood, Ritu;
[email protected]<mailto:[email protected]>
Cc: KHICHANE Abderaouf TGI/OLN
Subject: RE: [onap-discuss] k8splugin - Configuration API
Yes Lukasz we’ve tried that, it is resolved. We need to update wiki page in few
areas. We’re noting down improvements for wiki page in parallel. We will update.
Thank you
From: Rajewski Łukasz - Hurt
<[email protected]<mailto:[email protected]>>
Sent: Tuesday, June 16, 2020 4:35 PM
To: Addepalli, Srinivasa R
<[email protected]<mailto:[email protected]>>;
[email protected]<mailto:[email protected]>; Vamshi
Namilikonda <[email protected]<mailto:[email protected]>>;
Sood, Ritu <[email protected]<mailto:[email protected]>>;
[email protected]<mailto:[email protected]>
Cc: KHICHANE Abderaouf TGI/OLN
<[email protected]<mailto:[email protected]>>
Subject: RE: [onap-discuss] k8splugin - Configuration API
Try please also to include “template-name” parameter in the post
https://github.com/onap/multicloud-k8s/blob/master/src/k8splugin/internal/rb/config_template.go<https://ind01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fonap%2Fmulticloud-k8s%2Fblob%2Fmaster%2Fsrc%2Fk8splugin%2Finternal%2Frb%2Fconfig_template.go&data=02%7C01%7C%7Cd63224cb568b468828ae08d813631869%7Cedf442f5b9944c86a131b42b03a16c95%7C0%7C0%7C637280663612677110&sdata=s47T4R%2F%2FFNVEaP3OGA9xRZmGsIhYMpnvyz3JeCRl67s%3D&reserved=0>
Regards,
[Logo Orange]
Łukasz Rajewski, R&D Expert
Orange Labs Poland, Advanced Network Solutions Agency
Mob.: +48 519 310 854
Orange Polska, Obrzeżna 7, 02-691 Warsaw
www.orange.pl<https://ind01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.orange.pl%2F&data=02%7C01%7C%7Cd63224cb568b468828ae08d813631869%7Cedf442f5b9944c86a131b42b03a16c95%7C0%7C0%7C637280663612677110&sdata=wNczM8Vyc5Y%2F5FRNFzWySxcWqA54yWEtgJOrSDSvxb0%3D&reserved=0>
From: Rajewski Łukasz - Hurt
Sent: Tuesday, June 16, 2020 12:34 PM
To: 'Addepalli, Srinivasa R';
[email protected]<mailto:[email protected]>;
[email protected]<mailto:[email protected]>; Sood, Ritu;
[email protected]<mailto:[email protected]>
Cc: KHICHANE Abderaouf TGI/OLN
([email protected]<mailto:[email protected]>)
Subject: RE: [onap-discuss] k8splugin - Configuration API
Hi,
First of all, I would try to call plugin API directly. Second, I would remove
trailing slash. Below some hints how to use it.
https://github.com/onap/multicloud-k8s/blob/master/src/k8splugin/api/api.go<https://ind01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fonap%2Fmulticloud-k8s%2Fblob%2Fmaster%2Fsrc%2Fk8splugin%2Fapi%2Fapi.go&data=02%7C01%7C%7Cd63224cb568b468828ae08d813631869%7Cedf442f5b9944c86a131b42b03a16c95%7C0%7C0%7C637280663612687100&sdata=7o3wQ1kdWz4dhQhPYFus6t%2Bm%2ByiGqgVdi%2BufyTMh3xw%3D&reserved=0>
https://github.com/onap/multicloud-k8s/blob/master/src/k8splugin/api/configtemplatehandler.go<https://ind01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fonap%2Fmulticloud-k8s%2Fblob%2Fmaster%2Fsrc%2Fk8splugin%2Fapi%2Fconfigtemplatehandler.go&data=02%7C01%7C%7Cd63224cb568b468828ae08d813631869%7Cedf442f5b9944c86a131b42b03a16c95%7C0%7C0%7C637280663612687100&sdata=mKEglLrV2wrxXqyuMxCn9kDwkNOEZf0seg2Nr%2FTYOr8%3D&reserved=0>
Regards,
[Logo Orange]
Łukasz Rajewski, R&D Expert
Orange Labs Poland, Advanced Network Solutions Agency
Mob.: +48 519 310 854
Orange Polska, Obrzeżna 7, 02-691 Warsaw
www.orange.pl<https://ind01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.orange.pl%2F&data=02%7C01%7C%7Cd63224cb568b468828ae08d813631869%7Cedf442f5b9944c86a131b42b03a16c95%7C0%7C0%7C637280663612697100&sdata=EX0N6UGUyh04Oh9pSnx4aEGRGy2I9vNaDLXw1fW8UHI%3D&reserved=0>
From: Addepalli, Srinivasa R [mailto:[email protected]]
Sent: Monday, June 15, 2020 11:09 PM
To: [email protected]<mailto:[email protected]>;
[email protected]<mailto:[email protected]>; Sood, Ritu;
Rajewski Łukasz - Hurt; [email protected]<mailto:[email protected]>
Subject: RE: [onap-discuss] k8splugin - Configuration API
Just an observation
Since I see ‘server’ responding is ‘openresty’, it appears that MSB itself is
returning error. Something to check on MSB integration.
Thanks
Srini
From: [email protected]<mailto:[email protected]>
<[email protected]<mailto:[email protected]>> On Behalf Of
Vamshi K Namilikonda via lists.onap.org
Sent: Monday, June 15, 2020 11:56 AM
To: [email protected]<mailto:[email protected]>; Sood, Ritu
<[email protected]<mailto:[email protected]>>; Rajewski Łukasz - Hurt
<[email protected]<mailto:[email protected]>>;
[email protected]<mailto:[email protected]>
Subject: [onap-discuss] k8splugin - Configuration API
Hi Ritu & K8splugin team,
We’ve tried using Configuration API from Frankfurt using the instructions given
the below wiki page, it’s giving 404 error. Could you please suggest, are we
doing something wrong here. Same behavior is observed in ElAlto branch of code
as well. Thank you
https://wiki.onap.org/display/DW/MultiCloud+K8s-Plugin-service+API#MultiCloudK8sPluginserviceAPI-ConfigurationAPI<https://ind01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwiki.onap.org%2Fdisplay%2FDW%2FMultiCloud%2BK8s-Plugin-service%2BAPI%23MultiCloudK8sPluginserviceAPI-ConfigurationAPI&data=02%7C01%7C%7Cd63224cb568b468828ae08d813631869%7Cedf442f5b9944c86a131b42b03a16c95%7C0%7C0%7C637280663612697100&sdata=d6fi34g6AMuWdbWoUNR0VilJOgZGls8dwIwzueZCQU8%3D&reserved=0>
curl -i -k -d @create_config_template.json -X POST
https://<ip>30283/api/multicloud-k8s/v1/v1/rb/definition/test-rbdef/v1/config-template/<https://%3cip%3e30283/api/multicloud-k8s/v1/v1/rb/definition/test-rbdef/v1/config-template/>
HTTP/1.1 404 Not Found
Server: openresty
Date: Mon, 15 Jun 2020 18:39:22 GMT
Content-Type: text/plain; charset=utf-8
Content-Length: 19
Connection: keep-alive
X-Content-Type-Options: nosniff
404 page not found
cat create_config_template.json
{
"name": "vault-consul-dev-2",
"description": "testing vault_check Day 2 config configuration"
}
curl -i -k GET
https://10.211.1.20:30283/api/multicloud-k8s/v1/v1/rb/definition/test-rbdef<https://ind01.safelinks.protection.outlook.com/?url=https%3A%2F%2F10.211.1.20%3A30283%2Fapi%2Fmulticloud-k8s%2Fv1%2Fv1%2Frb%2Fdefinition%2Ftest-rbdef&data=02%7C01%7C%7Cd63224cb568b468828ae08d813631869%7Cedf442f5b9944c86a131b42b03a16c95%7C0%7C0%7C637280663612707093&sdata=V82HJcgC9xDxzV1IOZPFeWyO86cmR1P5tEVcd3e5O1M%3D&reserved=0>
HTTP/1.1 200 OK
[{"rb-name":"test-rbdef","rb-version":"v1","chart-name":"vault-consul-dev","description":"testing
resource bundle definition api","labels":{}}]
Vamshi Namilikonda | Network Services | Tech Mahindra
• Desk: +91 20 66018100 x 3942 Mobile: +91 9848639561
[cid:[email protected]]Connected World and Connected Experiences
============================================================================================================================
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 externally
http://tim.techmahindra.com/tim/disclaimer.html internally within TechMahindra.
============================================================================================================================
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#21417): https://lists.onap.org/g/onap-discuss/message/21417
Mute This Topic: https://lists.onap.org/mt/74901579/21656
Group Owner: [email protected]
Unsubscribe: https://lists.onap.org/g/onap-discuss/unsub
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-