Hi SDC experts,

 

I am working on the vCPE auto test case. And I have some questions about SDC
part.

 

How to upload csar file to service model through api or cli script?

 

I tried to use cli script as followings, right? 

 

oclip service-model-add-artifact -x ae82db75-81f8-40a6-99ff-abfcdd9c15f8 -y
remarks -z ns.csar -b ns.csar -u cs0008 -p demo123456! -m
http://192.168.235.31:30205

 

ae82db75-81f8-40a6-99ff-abfcdd9c15f8 is my service model id, but I found
there are some problems after I run the script. 

 

The uploading path set to Artifacts\Informational\OTHER\

 

微信图片_20200214182525.png

I guess it set to the hard code according to the yaml file.

微信图片_20200214183146.png

 

But on the vfc-catalog part, it will parse the csar file from
"Artifacts/Deployment/OTHER/ns.csar". What’s more, I found the uploading
path is "Artifacts/Deployment/OTHER/ns.csar" if I do the same action
manually.

There are inconsisten between the two behaviors. I don’ t know why. Please
tell me the details, thanks a lot.

 

Thanks in advance for your reply.

 

BR,

Liping

 


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#20030): https://lists.onap.org/g/onap-discuss/message/20030
Mute This Topic: https://lists.onap.org/mt/71349210/21656
Group Owner: [email protected]
Unsubscribe: https://lists.onap.org/g/onap-discuss/unsub  
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to