I have already created the region-1 under cloud-1.

Please see the cloud-list here:

[cid:[email protected]]

Can you please share the sample REST API, you have used for testing. As I am 
not sure whether I am missing something in the PUT request body. Thank you


Regards
Kanagaraj M

***************************************************************************************
本邮件及其附件含有华为公司的保密信息,仅限于发送给上面地址中列出的个人或群组。禁止任何其他人以任何形式使用(包括但不限于全部或部分地泄露、复制、或散发)本邮件中的信息。如果您错收了本邮件,请您立即电话或邮件通知发件人并删除本邮件!**************************************************************************************

***************************************************************************************
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]]
Sent: Friday, September 08, 2017 3:26 PM
To: Kanagaraj Manickam
Cc: [email protected]
Subject: Re: [onap-discuss] [ESR] create VIM is failing


I think you can read the error info from  "Invalid input performing %1 on 
%2:uri and payload keys don't match". You need have a cloud region which 
cloud-owner=cloud-1 and region-region-id=region-1 first.



BR,

LiZi




原始邮件
发件人: <[email protected]<mailto:[email protected]>>;
收件人: <[email protected]<mailto:[email protected]>>;
日 期 :2017年09月08日 17:16
主 题 :[onap-discuss] [ESR] create VIM is failing


Hi Lizi,

I am trying to create the VIM using below REST API and is failing. Can you 
please help here? Thanks.

PUT on 
https://192.168.17.24:8447/aai/v11/cloud-infrastructure/cloud-regions/cloud-region/cloud-1/region-1/esr-system-info-list/esr-system-info/example-esr-system-info-id-val-20232

with

{
                "esr-system-info-id": "example-esr-system-info-id-val-20232",
                "system-name": "example-system-name-val-92940",
                "type": "example-type-val-33245",
                "vendor": "example-vendor-val-77902",
                "version": "example-version-val-87277",
                "service-url": "example-service-url-val-12527",
                "user-name": "example-user-name-val-60354",
                "password": "example-password-val-31803",
                "system-type": "example-system-type-val-11116",
                "protocal": "example-protocal-val-6365",
                "ssl-cacert": "example-ssl-cacert-val-58319",
                "ssl-insecure": true,
                "ip-address": "example-ip-address-val-6226",
                "port": "example-port-val-35849",
                "cloud-domain": "example-cloud-domain-val-73076",
                "default-tenant": "example-default-tenant-val-4344"
            }

Response:

{
    "requestError": {
        "serviceException": {
            "messageId": "SVC3000",
            "text": "Invalid input performing %1 on %2 (msg=%3) (ec=%4)",
            "variables": [
                "PUT",
                
"v11/cloud-infrastructure/cloud-regions/cloud-region/cloud-1/region-1/esr-system-info-list/esr-system-info/example-esr-system-info-id-val-20232",
                "Invalid input performing %1 on %2:uri and payload keys don't 
match",
                "ERR.5.2.3000"
            ]
        }
    }
}


Regards
Kanagaraj M




_______________________________________________
onap-discuss mailing list
[email protected]
https://lists.onap.org/mailman/listinfo/onap-discuss

Reply via email to