Hi SDC experts,
Please help to check the following questions. Thanks a lot. BR, Liping 发件人: [email protected] [mailto:[email protected]] 代 表 zhaoliping 发送时间: 2020年2月14日 20:29 收件人: [email protected] 主题: [onap-discuss] SDC experts, Question about how to upload csar file to service model, need your help. 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? Please help me to point which cli command is the right if I make a mistake and an example is preferred. Thanks. 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. 1.The uploading path set to Artifacts\Informational\OTHER\ 20200218201824.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. 2. In service-model-add-artifact script, the artifactName and the artifactLabel are set to the same value artifact-name. If the artifactName named “xxx.csar” but the artifactLable makes “.” as special characters and it is not allowed. So I think the script need to set the two parameters to different values. What do you think? 20200218202746.png Thanks in advance for your reply. BR, Liping -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#20051): https://lists.onap.org/g/onap-discuss/message/20051 Mute This Topic: https://lists.onap.org/mt/71369956/21656 Group Owner: [email protected] Unsubscribe: https://lists.onap.org/g/onap-discuss/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
