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.sea...@orange.com [mailto:abdelmuhaimen.sea...@orange.com]
Sent: Tuesday, December 26, 2017 8:34 PM
To: Huang, Haibin <haibin.hu...@intel.com>; Abhishek Shekhar 
<abhishek.shekh...@amdocs.com>; onap-discuss@lists.onap.org
Subject: RE: 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: abdelmuhaimen.sea...@orange.com<mailto:abdelmuhaimen.sea...@orange.com>
Mobile: +2012 84644 733

From: Huang, Haibin [mailto:haibin.hu...@intel.com]
Sent: Tuesday, December 26, 2017 2:31 PM
To: SEAUDI Abdelmuhaimen OBS/CSO; Abhishek Shekhar; 
onap-discuss@lists.onap.org<mailto:onap-discuss@lists.onap.org>
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: abdelmuhaimen.sea...@orange.com<mailto:abdelmuhaimen.sea...@orange.com> 
[mailto:abdelmuhaimen.sea...@orange.com]
Sent: Tuesday, December 26, 2017 8:24 PM
To: Huang, Haibin <haibin.hu...@intel.com<mailto:haibin.hu...@intel.com>>; 
Abhishek Shekhar 
<abhishek.shekh...@amdocs.com<mailto:abhishek.shekh...@amdocs.com>>; 
onap-discuss@lists.onap.org<mailto:onap-discuss@lists.onap.org>
Subject: RE: How to import AAI certificate

Try replacing "X-TransactionId:transact_id" with "X-TransactionId:999"

Abdelmuhaimen Seaudi
Orange Labs Egypt
Email: abdelmuhaimen.sea...@orange.com<mailto:abdelmuhaimen.sea...@orange.com>
Mobile: +2012 84644 733

From: 
onap-discuss-boun...@lists.onap.org<mailto:onap-discuss-boun...@lists.onap.org> 
[mailto:onap-discuss-boun...@lists.onap.org] On Behalf Of Huang, Haibin
Sent: Tuesday, December 26, 2017 12:47 PM
To: Abhishek Shekhar; 
onap-discuss@lists.onap.org<mailto:onap-discuss@lists.onap.org>
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:abhishek.shekh...@amdocs.com]
Sent: Tuesday, December 26, 2017 3:59 PM
To: Huang, Haibin <haibin.hu...@intel.com<mailto:haibin.hu...@intel.com>>; 
onap-discuss@lists.onap.org<mailto:onap-discuss@lists.onap.org>
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: 
onap-discuss-boun...@lists.onap.org<mailto:onap-discuss-boun...@lists.onap.org> 
[mailto:onap-discuss-boun...@lists.onap.org] On Behalf Of Huang, Haibin
Sent: Monday, December 25, 2017 7:53 AM
To: onap-discuss@lists.onap.org<mailto:onap-discuss@lists.onap.org>
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.
_______________________________________________
onap-discuss mailing list
onap-discuss@lists.onap.org
https://lists.onap.org/mailman/listinfo/onap-discuss

Reply via email to