1 open_cli_schema_version: 1.0
\r
2 name: vnf-upgradeprecheck
\r
3 description: The UpgradePreCheck LCM action checks that the VNF has the correct software version needed for a software upgrade. This command can be executed on a running VNF.
\r
6 product: onap-beijing
\r
8 author: ONAP CLI Team onap-discuss@lists.onap.org
\r
13 description: The time of the request, in ISO 8601 format, ZULU offset
\r
16 long_option: timestamp
\r
19 description: Identifies the API version
\r
22 long_option: api-ver
\r
24 - name: originator-id
\r
25 description: An identifier of the calling system limited to a length of 40 characters
\r
28 long_option: originator-id
\r
31 description: The UUID for the request ID, limited to a length of 40 characters
\r
34 long_option: request-id
\r
36 - name: sub-request-id
\r
37 description: Uniquely identifies a specific LCM or control action, limited to a length of 40 characters
\r
40 long_option: sub-request-id
\r
43 description: Generic flags-mode that apply to all LCM actions
\r
48 description: Generic flags-force that apply to all LCM actions
\r
53 description: Generic flags-ttl that apply to all LCM actions
\r
58 description: The action to be taken by APPC
\r
61 long_option: action
\r
63 - name: service-instance-id
\r
64 description: Identifies a specific service instance that the command refers to
\r
67 long_option: service-instance-id
\r
70 description: Identifies the VNF instance to which this action is to be applied
\r
73 long_option: vnf-id
\r
77 description: Identifies the VNFC name to which this action is to be applied
\r
80 long_option: vnfc-name
\r
83 description: Identifies a specific VM instance to which this action is to be applied
\r
86 long_option: vserver-id
\r
88 - name: vf-module-id
\r
89 description: Identifies a specific VF module to which this action is to be applied
\r
92 long_option: vf-module-id
\r
95 description: An action-specific open-format field
\r
98 long_option: payload
\r
101 direction: portrait
\r
104 description: The action to be taken by APPC
\r
108 description: Identifies the API version
\r
112 description: Identifies the API version
\r
116 description: The time of the request, in ISO 8601 format, ZULU offset
\r
120 description: The status describes the outcome of the command processing
\r
123 - name: originator-id
\r
124 description: An identifier of the calling system limited to a length of 40 characters
\r
128 description: The UUID for the request ID, limited to a length of 40 characters
\r
131 - name: sub-request-id
\r
132 description: Uniquely identifies a specific LCM or control action
\r
136 description: An open-format field
\r
144 uri: /restconf/operations/vnf-provider-lcm:upgrade-pre-check
\r
146 body: '{"input":{"common-header":{"timestamp": "${timestamp}","api-ver": "${api-ver}","originator-id": "${originator-id}","request-id": "${request-id}","sub-request-id": "${sub-request-id}","flags":{"mode":"${flags-mode}","force":"${flags-force}","ttl":"${flags-ttl}"}},"action":"${action}","action-identifiers":{"vnf-id": "${vnf-id}","vnfc-name": "${vnfc-name}","vserver-id": "${vserver-id}"},"payload": "${payload}"}}'
\r
150 action: $b{$.action}
\r
151 api-ver: $b{$.api-ver}
\r
152 flags: $b{$.flags}
\r
153 originator-id: $b{$.originator-id}
\r
154 request-id: $b{$.request-id}
\r
155 sub-request-id: $b{$.sub-request-id}
\r
156 payload: $b{$.payload}
\r
157 status: $b{$.status}
\r
158 timestamp: $b{$.timestamp}
\r
161 body: '{"output":{"common-header":{"api-ver": "${api-ver}","flags":"${flags}","originator-id": "${originator-id}","request-id": "${request-id}", "sub-request-id": "${sub-request-id}", "timestamp": "${timestamp}"},"payload": "${payload}","status": "${status}"}}'