Re: How to import AAI certificate
haibin
Hi Abhishek,
Thank you very much!
From: abdelmuhaimen.seaudi@... [mailto:abdelmuhaimen.seaudi@...]
Sent: Tuesday, December 26, 2017 9:20 PM To: Huang, Haibin <haibin.huang@...>; Abhishek Shekhar <Abhishek.Shekhar1@...>; onap-discuss@... Subject: RE: How to import AAI certificate
https://wiki.onap.org/display/DW/Add+Sample+data+set+to+AAI+for+Sparky
From: Huang, Haibin [mailto:haibin.huang@...]
The error is change “Node Not Found:No Node of type vce found at: network/vces” Maybe I need create vces. Do you have create vces command?
vagrant@master:~$ curl -X GET --user AAI:AAI -H "X-FromAppId:AAI" -H "X-TransactionId:999" https://10.96.0.34:8443/aai/v11/network/vces -k <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <Fault> <requestError> <serviceException> <messageId>SVC3001</messageId> <text>Resource not found for %1 using id %2 (msg=%3) (ec=%4)</text> <variables> <variable>GET</variable> <variable>network/vces</variable> <variable>Node Not Found:No Node of type vce found at: network/vces</variable> <variable>ERR.5.4.6114</variable> </variables> </serviceException> </requestError> </Fault>
I try to create vce, but get the same error.
vagrant@master:~$ curl -X PUT -d '{"vnf-id":"yui123", "vnf-name":"tst"}' --user AAI:AAI -k -H "X-FromAppId:AAI" -H "X-TransactionId:999" https://10.96.0.34:8443/aai/v11/network/vces/vce/yui123 vagrant@master:~$ curl -X GET --user AAI:AAI -H "X-FromAppId:AAI" -H "X-TransactionId:999" https://10.96.0.34:8443/aai/v11/network/vces -k <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <Fault> <requestError> <serviceException> <messageId>SVC3001</messageId> <text>Resource not found for %1 using id %2 (msg=%3) (ec=%4)</text> <variables> <variable>GET</variable> <variable>network/vces</variable> <variable>Node Not Found:No Node of type vce found at: network/vces</variable> <variable>ERR.5.4.6114</variable> </variables> </serviceException> </requestError> </Fault>
From:
abdelmuhaimen.seaudi@... [mailto:abdelmuhaimen.seaudi@...]
Try replacing “https://10.96.0.34:8443/aai/v11/networks/vces” with “https://10.96.0.34:8443/aai/v11/network/vces”
From: Huang, Haibin [mailto:haibin.huang@...]
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:
abdelmuhaimen.seaudi@... [mailto:abdelmuhaimen.seaudi@...]
Try replacing "X-TransactionId:transact_id" with "X-TransactionId:999"
From:
onap-discuss-bounces@... [mailto:onap-discuss-bounces@...]
On Behalf Of Huang, Haibin
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:Abhishek.Shekhar1@...]
HI,
This is not certification issue.
You should invoke this command with additional 2 headers
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:
onap-discuss-bounces@... [mailto:onap-discuss-bounces@...]
On Behalf Of Huang, Haibin
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. |
|