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













原始邮件



发件人: <bin.y...@windriver.com>;
收件人: <suraj.bi...@nokia.com>; <onap-discuss@lists.onap.org>;李滋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


 


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:suraj.bi...@nokia.com] 
 Sent: Tuesday, January 16, 2018 10:23 AM
 To: Yang, Bin; onap-discuss@lists.onap.org; li.z...@zte.com.cn
 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:bin.y...@windriver.com] 
 Sent: Monday, January 15, 2018 7:29 PM
 To: Bisht, Suraj (Nokia - US/Irving) <suraj.bi...@nokia.com>; 
onap-discuss@lists.onap.org; li.z...@zte.com.cn
 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: onap-discuss-boun...@lists.onap.org 
[mailto:onap-discuss-boun...@lists.onap.org] On Behalf Of Bisht, Suraj (Nokia - 
US/Irving)
 Sent: Tuesday, January 16, 2018 7:15 AM
 To: onap-discuss@lists.onap.org
 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


 


{


"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
onap-discuss@lists.onap.org
https://lists.onap.org/mailman/listinfo/onap-discuss

Reply via email to