You may find alternate way of registering VIM thru ONAP CLI. Vim-register command would help here. http://onap.readthedocs.io/en/latest/submodules/cli.git/docs/cmd_help.html#vim-register
Regards Kanagaraj M ------------------------------------- Be transparent! Win together !! 本邮件及其附件含有华为公司的保密信息,仅限于发送给上面地址中列出的个人或群组。禁止任何其他人以任何形式使用(包括但不限于全部或部分地泄露、复制、或散发)本邮件中的信息。如果您错收了本邮件,请您立即电话或邮件通知发件人并删除本邮件! This e-mail and its attachments contain confidential information from HUAWEI, which is intended only for the person or entity whose address is listed above. Any use of the information contained herein in any way (including, but not limited to, total or partial disclosure, reproduction, or dissemination) by persons other than the intended recipient(s) is prohibited. If you receive this e-mail in error, please notify the sender by phone or email immediately and delete it! From: [email protected] [mailto:[email protected]] On Behalf Of [email protected] Sent: Tuesday, January 16, 2018 8:56 AM To: [email protected] Cc: [email protected] Subject: Re: [onap-discuss] VIM registration for Multi-VIM Please refer to this doc http://onap.readthedocs.io/en/latest/submodules/aai/esr-server.git/docs/platform/installation.html BR, LiZi 原始邮件 发件人: <[email protected]<mailto:[email protected]>>; 收件人:李滋00164331; <[email protected]<mailto:[email protected]>>; 抄送人: <[email protected]<mailto:[email protected]>>; 日 期 :2018年01月16日 11:22 主 题 :RE: [onap-discuss] VIM registration for Multi-VIM Hi Lizi, Is there any UI or command to check VIM connectivity status? Thanks, Suraj From: Bisht, Suraj (Nokia - US/Irving) Sent: Monday, January 15, 2018 9:19 PM To: '[email protected]' <[email protected]<mailto:[email protected]>>; [email protected]<mailto:[email protected]> Cc: [email protected]<mailto:[email protected]> Subject: RE: [onap-discuss] VIM registration for Multi-VIM Thanks it worked Suraj From: [email protected]<mailto:[email protected]> [mailto:[email protected]] Sent: Monday, January 15, 2018 9:06 PM To: [email protected]<mailto:[email protected]>; Bisht, Suraj (Nokia - US/Irving) <[email protected]<mailto:[email protected]>> Cc: [email protected]<mailto:[email protected]> Subject: RE: [onap-discuss] VIM registration for Multi-VIM Thanks, Bin. Hi Suraj, Would you try this json bellow? For the api from esr-server, the vimAuthInfo should be vimAuthInfos, and it's an object list. { "cloudOwner": "ZTE1", "cloudRegionId": "region-one1", "cloudType": "openstack", "cloudRegionVersion": "v1.0", "ownerDefinedType": "owner-defined-type", "cloudZone": "cloud zone", "complexName": "complex name", "cloudExtraInfo": "cloud-extra-info", "vimAuthInfos": [ { "userName": "admin", "password": "admin", "authUrl": "http://10.74.151.22:5000/v2.0", "sslCacert": "ssl-cacert", "sslInsecure": true, "cloudDomain": "cloud-domain" } ] } Regards, LiZi 原始邮件 发件人: <[email protected]<mailto:[email protected]>>; 收件人: <[email protected]<mailto:[email protected]>>; <[email protected]<mailto:[email protected]>>;李滋00164331; 日 期 :2018年01月16日 10:50 主 题 :RE: [onap-discuss] VIM registration for Multi-VIM Hi Suraj, Do you have to register the VIM instance with rest API call? If not , I suggest you simply do that via the ESR portal: http://<xxx-multi-service>/iui/aai-esr-gui/extsys/vim/vimView.html<http://%3cxxx-multi-service%3e/iui/aai-esr-gui/extsys/vim/vimView.html> you can use ocata or windriver to cloud region version. Best Regards, Bin Yang, Solution Readiness Team, Wind River Direct +86,10,84777126 Mobile +86,13811391682 Fax +86,10,64398189 Skype: yangbincs993 From: Bisht, Suraj (Nokia - US/Irving) [mailto:[email protected]] Sent: Tuesday, January 16, 2018 10:23 AM To: Yang, Bin; [email protected]<mailto:[email protected]>; [email protected]<mailto:[email protected]> Subject: RE: [onap-discuss] VIM registration for Multi-VIM Hi Bin, Thanks for quick response, I tried “ocata” with "sslInsecure" true as well as false but got same error response. We are adding openstack Newton VIM without SSL. Kindly let me know what can be possible error in request and share link containing updated API detail { "cloudOwner": "Nokia", "cloudRegionId": "regionOne", "cloudType": "openstack", "cloudRegionVersion": "ocata", "ownerDefinedType": "owner-defined-type", "cloudZone": "cloud zone", "complexName": "complex name", "cloudExtraInfo": "cloud-extra-info", "vimAuthInfo": { "userName": "admin", "password": "admin", "authUrl": "http://1.1.1.1:5000/v2.0", "sslCacert": "ssl-cacert", "sslInsecure": true, "cloudDomain": "cloud-domain" } } Response { "code": 400, "message": "Unable to process JSON", "details": null } Thanks, Suraj From: Yang, Bin [mailto:[email protected]] Sent: Monday, January 15, 2018 7:29 PM To: Bisht, Suraj (Nokia - US/Irving) <[email protected]<mailto:[email protected]>>; [email protected]<mailto:[email protected]>; [email protected]<mailto:[email protected]> Subject: RE: [onap-discuss] VIM registration for Multi-VIM Hi Suraj, It seems you are trying to register VIM instance via ESR API. So I add Li Zi the PTL of ESR in loop. One possible issue with your request might be the value for “cloudRegionVersion”. With “cloudType” being openstack, you can only set the “cloudRegionVersion” to be “ocata” or “titanium_cloud” because they are the only VIM type supported by deployed multicloud services in ONAP platform Amsterdam release. You’d better set "sslInsecure" to be true as well. Best Regards, Bin Yang, Solution Readiness Team, Wind River Direct +86,10,84777126 Mobile +86,13811391682 Fax +86,10,64398189 Skype: yangbincs993 From: [email protected]<mailto:[email protected]> [mailto:[email protected]] On Behalf Of Bisht, Suraj (Nokia - US/Irving) Sent: Tuesday, January 16, 2018 7:15 AM To: [email protected]<mailto:[email protected]> Subject: [onap-discuss] VIM registration for Multi-VIM Hi, We are trying to add additional VIM for VNF deployment using following link and getting error. Kindly help us in resolving this issue and confirm if Multi-VIM functionality fully working in Amsterdam release (1.2.0-snapshot) https://wiki.onap.org/pages/viewpage.action?pageId=11930343#A&AI:ExternalSystemOperationAPIDefinition-VIMregistration Request http://<multi-service>/api/aai-esr-server/v1/vims<http://%3cmulti-service%3e/api/aai-esr-server/v1/vims> { "cloudOwner": "Nokia", "cloudRegionId": "regionOne", "cloudType": "openstack", "cloudRegionVersion": "v1.0", "ownerDefinedType": "owner-defined-type", "cloudZone": "cloud zone", "complexName": "complex name", "cloudExtraInfo": "cloud-extra-info", "vimAuthInfo": { "userName": "admin", "password": "admin", "authUrl": "http://1.1.1.1:5000/v2.0", "sslCacert": "ssl-cacert", "sslInsecure": false, "cloudDomain": "cloud-domain" } } Headers Accept: application/json Content-Type: application/json X-FromAppId: AAI Authorization: Basic QUFJOkFBSQ== Response { "code": 400, "message": "Unable to process JSON", "details": null } GET commands working fine. Request received by esr_server and server sending above error. Thanks, Suraj
_______________________________________________ onap-discuss mailing list [email protected] https://lists.onap.org/mailman/listinfo/onap-discuss
