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]] On Behalf Of Bisht, Suraj (Nokia - 
US/Irving)
Sent: Tuesday, January 16, 2018 7:15 AM
To: [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

Reply via email to