summaryrefslogtreecommitdiffstats
path: root/plugins/sdc/src/main/resources/onap-cli-schema/vf/vf-model-checkin-schema-1.1.yaml
blob: 4ee74e122ed50f41f9e8b5a0b7958b1326af0143 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
open_cli_schema_version: 1.0
name: vf-model-checkin
description: Checkin 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/checkin
    method: POST
    body: '{"userRemarks": "Checked in via CLI"}'
  success_codes:
    - 200