Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

AttributeQualifierCardinalityContentDescription
csarIdM1String

The CSAR identifier is a unique identifier generated

by the Market place.

Query VNF infomation by csarId

Interface DefinitionDescription
URI/openoapionapapi/marketplace/v1/csars/{csarId}
Operation TypeGET

...

   {
       "csarId":"78ede6f3-66cc-46ab-b748-38a6c010d272",
       "name":"NanocellGateway",
       "provider":"ZTEXYZ",
       "version":"V1.0",
       "createTime":"2016-06-29 03:33:15",
       "modifyTime":"2016-06-29 09:33:15",
       "size":"0.93M",
       "downloadUri":"http://msb_ip:msb_port/files/marketplace-http/CSAR/ZTEXYZ/NanocellGW/v1.0/NanocellGateway.csar",
       "type":"CSAR"
   }

...

Interface DefinitionDescription
URI/openoapionapapi/marketplace/v1/csars/{csarId}/files?relativePath=xxx
Operation TypeGET

...

AttributeQualifierCardinalityContentDescription
csarIdM1StringThe id of CSAR
relativePathM1StringThe file relative path in CSAR package

Sample:
/openoapionapapi/marketplace/v1/csars/78ede6f3-66cc-46ab-b748-38a6c010d272/files?relativePath="/images/segw.img"

...

   {
       "downloadUri": "http://msb_ip:msb_port/files/marketplace-http/NSAR/ZTEXYZ/NanocellGW/v1.0/NanocellGW/images/segw.img",
       "localPath": "D:\CSAR\ZTEXYZ\NanocellGW\v1.0\NanocellGW\images\segw.img"
   }

...