1 open_cli_schema_version: 1.0
2 name: vnf-upgradesoftware
3 description: The UpgradeSoftware LCM action upgrades the target VNF to a new version. It is expected that the VNF is in a quiesced status
8 author: ONAP CLI Team onap-discuss@lists.onap.org
13 description: The time of the request, in ISO 8601 format, ZULU offset
16 long_option: timestamp
19 description: Identifies the API version
25 description: An identifier of the calling system limited to a length of 40 characters
28 long_option: originator-id
31 description: The UUID for the request ID, limited to a length of 40 characters
34 long_option: request-id
36 - name: sub-request-id
37 description: Uniquely identifies a specific LCM or control action, limited to a length of 40 characters
40 long_option: sub-request-id
43 description: Generic flags-mode that apply to all LCM actions
48 description: Generic flags-force that apply to all LCM actions
53 description: Generic flags-ttl that apply to all LCM actions
58 description: The action to be taken by APPC
63 - name: service-instance-id
64 description: Identifies a specific service instance that the command refers to
67 long_option: service-instance-id
70 description: Identifies the VNF instance to which this action is to be applied
77 description: Identifies the VNFC name to which this action is to be applied
80 long_option: vnfc-name
83 description: Identifies a specific VM instance to which this action is to be applied
86 long_option: vserver-id
89 description: Identifies a specific VF module to which this action is to be applied
92 long_option: vf-module-id
95 description: An action-specific open-format field
104 description: The action to be taken by APPC
108 description: Identifies the API version
112 description: Identifies the API version
116 description: The time of the request, in ISO 8601 format, ZULU offset
120 description: The status describes the outcome of the command processing
123 - name: originator-id
124 description: An identifier of the calling system limited to a length of 40 characters
128 description: The UUID for the request ID, limited to a length of 40 characters
131 - name: sub-request-id
132 description: Uniquely identifies a specific LCM or control action
136 description: An open-format field
144 uri: /restconf/operations/vnf-provider-lcm:upgrade-software
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}"}}'
151 api-ver: $b{$.api-ver}
153 originator-id: $b{$.originator-id}
154 request-id: $b{$.request-id}
155 sub-request-id: $b{$.sub-request-id}
156 payload: $b{$.payload}
158 timestamp: $b{$.timestamp}
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}"}}'