Here's the output when I try it on my AAI, as shown in the snapshot below, and I attach the whole request in the json file above.
{
"vce": [
{
"vnf-id": "amist-vce-1",
"vnf-name": "amist123vbc-name",
"vnf-name2": "amist123vbc-name2",
"vnf-type": "esx-vce",
"prov-status": "PRE-PROV",
"equipment-role": "VCE",
"heat-stack-id": "amist123vbc",
"ipv4-oam-address": "4.2.3.4",
"resource-version": "1509722281183"
}
]
}
[cid:[email protected]]
Abdelmuhaimen Seaudi
Orange Labs Egypt
Email: [email protected]<mailto:[email protected]>
Mobile: +2012 84644 733
From: [email protected]
[mailto:[email protected]] On Behalf Of
[email protected]
Sent: Tuesday, December 26, 2017 2:34 PM
To: Huang, Haibin; Abhishek Shekhar; [email protected]
Subject: Re: [onap-discuss] How to import AAI certificate
Try replacing "https://10.96.0.34:8443/aai/v11/networks/vces" with
"https://10.96.0.34:8443/aai/v11/network/vces"
Abdelmuhaimen Seaudi
Orange Labs Egypt
Email: [email protected]<mailto:[email protected]>
Mobile: +2012 84644 733
From: Huang, Haibin [mailto:[email protected]]
Sent: Tuesday, December 26, 2017 2:31 PM
To: SEAUDI Abdelmuhaimen OBS/CSO; Abhishek Shekhar;
[email protected]<mailto:[email protected]>
Subject: RE: How to import AAI certificate
Thank you very much!
The error isn't change.
vagrant@master:~$ curl -X GET --user AAI:AAI -H "X-FromAppId:AAI" -H
"X-TransactionId:999" https://10.96.0.34:8443/aai/v11/networks/vces -k
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<Fault>
<requestError>
<serviceException>
<messageId>SVC3000</messageId>
<text>Invalid input performing %1 on %2 (msg=%3) (ec=%4)</text>
<variables>
<variable>GET</variable>
<variable>v11/networks/vces</variable>
<variable>Invalid input performing %1 on %2:Unrecognized AAI
object networks</variable>
<variable>ERR.5.2.3000</variable>
</variables>
</serviceException>
</requestError>
</Fault>
From: [email protected]<mailto:[email protected]>
[mailto:[email protected]]
Sent: Tuesday, December 26, 2017 8:24 PM
To: Huang, Haibin <[email protected]<mailto:[email protected]>>;
Abhishek Shekhar
<[email protected]<mailto:[email protected]>>;
[email protected]<mailto:[email protected]>
Subject: RE: How to import AAI certificate
Try replacing "X-TransactionId:transact_id" with "X-TransactionId:999"
Abdelmuhaimen Seaudi
Orange Labs Egypt
Email: [email protected]<mailto:[email protected]>
Mobile: +2012 84644 733
From:
[email protected]<mailto:[email protected]>
[mailto:[email protected]] On Behalf Of Huang, Haibin
Sent: Tuesday, December 26, 2017 12:47 PM
To: Abhishek Shekhar;
[email protected]<mailto:[email protected]>
Subject: Re: [onap-discuss] How to import AAI certificate
Hi Abhishek,
I try to invoke this command with additional 2 headers.
But, I get other difference error "SVC3000".
vagrant@master:~$ curl -X GET --user AAI:AAI -H "X-FromAppId:AAI" -H
"X-TransactionId:transact_id" https://10.96.0.34:8443/aai/v11/networks/vces -k
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<Fault>
<requestError>
<serviceException>
<messageId>SVC3000</messageId>
<text>Invalid input performing %1 on %2 (msg=%3) (ec=%4)</text>
<variables>
<variable>GET</variable>
<variable>v11/networks/vces</variable>
<variable>Invalid input performing %1 on %2:Unrecognized AAI
object networks</variable>
<variable>ERR.5.2.3000</variable>
</variables>
</serviceException>
</requestError>
</Fault>
From: Abhishek Shekhar [mailto:[email protected]]
Sent: Tuesday, December 26, 2017 3:59 PM
To: Huang, Haibin <[email protected]<mailto:[email protected]>>;
[email protected]<mailto:[email protected]>
Subject: RE: How to import AAI certificate
HI,
This is not certification issue.
You should invoke this command with additional 2 headers
1. X-FromAppId
2. X-TransactionId
Try the following command
$ curl -X GET --user AAI:AAI -H "X-FromAppId:AAI" -H
"X-TransactionId:transact_id" https://10.96.0.34:8443/aai/v11/networks/vces -k
Thanks
Abhishek Shekhar
From:
[email protected]<mailto:[email protected]>
[mailto:[email protected]] On Behalf Of Huang, Haibin
Sent: Monday, December 25, 2017 7:53 AM
To: [email protected]<mailto:[email protected]>
Subject: [onap-discuss] How to import AAI certificate
Hi All,
I have installed AAI. When run the below command get below error. Some people
said import certification. I have two questions.
First, Is AAI certification
https://wiki.onap.org/display/DW/AAI+Cert+Expires+2018-12-06?
Second, How to import certification?
$ curl -X GET --user AAI:AAI https://10.96.0.34:8443/aai/v11/networks/vces -k
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<Fault>
<requestError>
<serviceException>
<messageId>SVC3002</messageId>
<text>Error writing output performing %1 on %2 (msg=%3)
(ec=%4)</text>
<variables>
<variable>GET</variable>
<variable>v11/networks/vces</variable>
<variable>Internal
Error:java.lang.NullPointerException</variable>
<variable>ERR.5.4.4000</variable>
</variables>
</serviceException>
</requestError>
</Fault>
-------------------------------------------------------------------------------------------------------------------------------
Huang.haibin
11628530
86+18106533356
This message and the information contained herein is proprietary and
confidential and subject to the Amdocs policy statement,
you may review at https://www.amdocs.com/about/email-disclaimer
_________________________________________________________________________________________________________________________
Ce message et ses pieces jointes peuvent contenir des informations
confidentielles ou privilegiees et ne doivent donc
pas etre diffuses, exploites ou copies sans autorisation. Si vous avez recu ce
message par erreur, veuillez le signaler
a l'expediteur et le detruire ainsi que les pieces jointes. Les messages
electroniques etant susceptibles d'alteration,
Orange decline toute responsabilite si ce message a ete altere, deforme ou
falsifie. Merci.
This message and its attachments may contain confidential or privileged
information that may be protected by law;
they should not be distributed, used or copied without authorisation.
If you have received this email in error, please notify the sender and delete
this message and its attachments.
As emails may be altered, Orange is not liable for messages that have been
modified, changed or falsified.
Thank you.
_________________________________________________________________________________________________________________________
Ce message et ses pieces jointes peuvent contenir des informations
confidentielles ou privilegiees et ne doivent donc
pas etre diffuses, exploites ou copies sans autorisation. Si vous avez recu ce
message par erreur, veuillez le signaler
a l'expediteur et le detruire ainsi que les pieces jointes. Les messages
electroniques etant susceptibles d'alteration,
Orange decline toute responsabilite si ce message a ete altere, deforme ou
falsifie. Merci.
This message and its attachments may contain confidential or privileged
information that may be protected by law;
they should not be distributed, used or copied without authorisation.
If you have received this email in error, please notify the sender and delete
this message and its attachments.
As emails may be altered, Orange is not liable for messages that have been
modified, changed or falsified.
Thank you.
_________________________________________________________________________________________________________________________
Ce message et ses pieces jointes peuvent contenir des informations
confidentielles ou privilegiees et ne doivent donc
pas etre diffuses, exploites ou copies sans autorisation. Si vous avez recu ce
message par erreur, veuillez le signaler
a l'expediteur et le detruire ainsi que les pieces jointes. Les messages
electroniques etant susceptibles d'alteration,
Orange decline toute responsabilite si ce message a ete altere, deforme ou
falsifie. Merci.
This message and its attachments may contain confidential or privileged
information that may be protected by law;
they should not be distributed, used or copied without authorisation.
If you have received this email in error, please notify the sender and delete
this message and its attachments.
As emails may be altered, Orange is not liable for messages that have been
modified, changed or falsified.
Thank you.
Collection.postman_collection.json
Description: Collection.postman_collection.json
_______________________________________________ onap-discuss mailing list [email protected] https://lists.onap.org/mailman/listinfo/onap-discuss
