...
Dublin (DRAFT) - TBD.
Tests
[
{
testsuite: "validation",
testcase: "csar-validate"
}
]
GET on /v1/vtp/tests/csar-validate
{
outputs: [
{
name: "error",
description: "Validation error details",
scope: "short",
type: "string"
}
],
name: "csar-validate",
description: "Validate CSAR package formats",
inputs: [
{
name: "csar",
description: "CSAR file path",
long_option: "csar",
short_option: "b",
type: "binary",
is_optional: false
}
],
testsuite: "validation"
}
http://192.168.17.74:8702/vnf-sdk-marketplace
Executions & results
POST /v1/vtp/tests/test-id
Executions & results
csar-validate/run
Body: {"csar":"/tmp/VoLTE.csar"}
{"results":[{"error":"SUCCESS"}]}
This will be enabled with async executon in furture with following API (TBD)
POST on /vtp/v1/tests/test-id for given VNF id, profile id returns execution id
...
GET on /vtp/v1/tests/test-id/executions/execution-id
VNFs (TBD)
GET on /vtp/v1/vnfs
GET on /vtp/v1/vnfs/vnf-id
...
PUT on /vtp/v1/vnfs/vnf-id/content - update vnf content
DELETE on /vtp/v1/vnf-id
Profiles/configurations (TBD)
GET on /vtp/v1/profiles?vnf-id=xxx
...