aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/sdc/src/main/resources/onap-cli-schema/vf/vf-model-certify-request-schema-1.1.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/sdc/src/main/resources/onap-cli-schema/vf/vf-model-certify-request-schema-1.1.yaml')
-rw-r--r--plugins/sdc/src/main/resources/onap-cli-schema/vf/vf-model-certify-request-schema-1.1.yaml26
1 files changed, 26 insertions, 0 deletions
diff --git a/plugins/sdc/src/main/resources/onap-cli-schema/vf/vf-model-certify-request-schema-1.1.yaml b/plugins/sdc/src/main/resources/onap-cli-schema/vf/vf-model-certify-request-schema-1.1.yaml
new file mode 100644
index 00000000..301449ce
--- /dev/null
+++ b/plugins/sdc/src/main/resources/onap-cli-schema/vf/vf-model-certify-request-schema-1.1.yaml
@@ -0,0 +1,26 @@
+open_cli_schema_version: 1.0
+name: vf-model-certify-request
+description: Request for certifying Virtual function
+version: onap-1.1
+service:
+ name: sdc
+ version: v1.0
+ auth: basic
+ mode: direct
+
+parameters:
+ - name: vf-id
+ description: VF ID
+ type: string
+ long_option: vf-id
+ short_option: b
+ is_optional: true
+
+http:
+ request:
+ uri: /sdc2/rest/v1/catalog/resources/${vf-id}/lifecycleState/certificationRequest
+ method: POST
+ body: '{"userRemarks": "Requesting certification via CLI"}'
+ success_codes:
+ - 200
+