summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorToan Nguyen <tn2126@att.com>2018-05-04 11:03:15 -0400
committerToan Nguyen <tn2126@att.com>2018-05-04 11:03:15 -0400
commitc7b441adb1931e3e3d0bac6da395e9b726800268 (patch)
treec8c25ad33986c3e98dc6c66f0ee978b923be726c
parent7c71103d22f5572aa90f75ee55f72384a208fe53 (diff)
Appc CLI OCS
Issue-ID: CLI-78 Change-Id: I019826d64ee40646f820f44336f3524bcac1f21e Signed-off-by: Toan Nguyen <tn2126@att.com>
-rw-r--r--products/onap-beijing/features/appc/src/main/resources/open-cli-schema/appc-actionstatus-schema.yaml161
-rw-r--r--products/onap-beijing/features/appc/src/main/resources/open-cli-schema/appc-attachhvolume-schema.yaml162
-rw-r--r--products/onap-beijing/features/appc/src/main/resources/open-cli-schema/appc-audit-schema.yaml161
-rw-r--r--products/onap-beijing/features/appc/src/main/resources/open-cli-schema/appc-checklock-schema.yaml162
-rw-r--r--products/onap-beijing/features/appc/src/main/resources/open-cli-schema/appc-configure-schema.yaml161
-rw-r--r--products/onap-beijing/features/appc/src/main/resources/open-cli-schema/appc-configurebackup-schema.yaml161
-rw-r--r--products/onap-beijing/features/appc/src/main/resources/open-cli-schema/appc-configuremodify-schema.yaml161
-rw-r--r--products/onap-beijing/features/appc/src/main/resources/open-cli-schema/appc-configurerestore-schema.yaml161
-rw-r--r--products/onap-beijing/features/appc/src/main/resources/open-cli-schema/appc-configurescaleout-schema.yaml161
-rw-r--r--products/onap-beijing/features/appc/src/main/resources/open-cli-schema/appc-detachvolume-schema.yaml161
-rw-r--r--products/onap-beijing/features/appc/src/main/resources/open-cli-schema/appc-evacuate-schema.yaml162
-rw-r--r--products/onap-beijing/features/appc/src/main/resources/open-cli-schema/appc-healthcheck-schema.yaml161
-rw-r--r--products/onap-beijing/features/appc/src/main/resources/open-cli-schema/appc-lock-schema.yaml161
-rw-r--r--products/onap-beijing/features/appc/src/main/resources/open-cli-schema/appc-migrate-schema.yaml162
-rw-r--r--products/onap-beijing/features/appc/src/main/resources/open-cli-schema/appc-quiescetraffic-schema.yaml161
-rw-r--r--products/onap-beijing/features/appc/src/main/resources/open-cli-schema/appc-rebuild-schema.yaml162
-rw-r--r--products/onap-beijing/features/appc/src/main/resources/open-cli-schema/appc-restart-schema.yaml163
-rw-r--r--products/onap-beijing/features/appc/src/main/resources/open-cli-schema/appc-resumetraffic-schema.yaml161
-rw-r--r--products/onap-beijing/features/appc/src/main/resources/open-cli-schema/appc-snapshot-schema.yaml160
-rw-r--r--products/onap-beijing/features/appc/src/main/resources/open-cli-schema/appc-start-schema.yaml161
-rw-r--r--products/onap-beijing/features/appc/src/main/resources/open-cli-schema/appc-startapplication-schema.yaml162
-rw-r--r--products/onap-beijing/features/appc/src/main/resources/open-cli-schema/appc-stop-schema.yaml162
-rw-r--r--products/onap-beijing/features/appc/src/main/resources/open-cli-schema/appc-stopapplication-schema.yaml162
-rw-r--r--products/onap-beijing/features/appc/src/main/resources/open-cli-schema/appc-sync-schema.yaml162
-rw-r--r--products/onap-beijing/features/appc/src/main/resources/open-cli-schema/appc-unlock-schema.yaml162
-rw-r--r--products/onap-beijing/features/appc/src/main/resources/open-cli-schema/appc-upgradebackout-schema.yaml161
-rw-r--r--products/onap-beijing/features/appc/src/main/resources/open-cli-schema/appc-upgradebackup-schema.yaml161
-rw-r--r--products/onap-beijing/features/appc/src/main/resources/open-cli-schema/appc-upgradepostcheck-schema.yaml161
-rw-r--r--products/onap-beijing/features/appc/src/main/resources/open-cli-schema/appc-upgradeprecheck-schema.yaml161
-rw-r--r--products/onap-beijing/features/appc/src/main/resources/open-cli-schema/appc-upgradesoftware-schema.yaml161
30 files changed, 4841 insertions, 0 deletions
diff --git a/products/onap-beijing/features/appc/src/main/resources/open-cli-schema/appc-actionstatus-schema.yaml b/products/onap-beijing/features/appc/src/main/resources/open-cli-schema/appc-actionstatus-schema.yaml
new file mode 100644
index 00000000..7b2ddc6b
--- /dev/null
+++ b/products/onap-beijing/features/appc/src/main/resources/open-cli-schema/appc-actionstatus-schema.yaml
@@ -0,0 +1,161 @@
+open_cli_schema_version: 1.0
+name: vnf-actionstatus
+description: The ActionStatus command returns that state of any action request that has been previously submitted to an APPC instance for a specified VNF
+
+info:
+ product: onap-beijing
+ service: appc
+ author: ONAP CLI Team onap-discuss@lists.onap.org
+ state: experimental
+
+parameters:
+ - name: timestamp
+ description: The time of the request, in ISO 8601 format, ZULU offset
+ type: string
+ short_option: T
+ long_option: timestamp
+ is_optional: false
+ - name: api-ver
+ description: Identifies the API version
+ type: string
+ short_option: X
+ long_option: api-ver
+ is_optional: false
+ - name: originator-id
+ description: An identifier of the calling system limited to a length of 40 characters
+ type: string
+ short_option: O
+ long_option: originator-id
+ is_optional: false
+ - name: request-id
+ description: The UUID for the request ID, limited to a length of 40 characters
+ type: string
+ short_option: R
+ long_option: request-id
+ is_optional: false
+ - name: sub-request-id
+ description: Uniquely identifies a specific LCM or control action, limited to a length of 40 characters
+ type: string
+ short_option: W
+ long_option: sub-request-id
+ is_optional: true
+ - name: flags-mode
+ description: Generic flags-mode that apply to all LCM actions
+ type: string
+ short_option: F
+ is_optional: true
+ - name: flags-force
+ description: Generic flags-force that apply to all LCM actions
+ type: bool
+ short_option: G
+ is_optional: true
+ - name: flags-ttl
+ description: Generic flags-ttl that apply to all LCM actions
+ type: string
+ short_option: H
+ is_optional: true
+ - name: action
+ description: The action to be taken by APPC
+ type: string
+ short_option: A
+ long_option: action
+ is_optional: false
+ - name: service-instance-id
+ description: Identifies a specific service instance that the command refers to
+ type: string
+ short_option: S
+ long_option: service-instance-id
+ is_optional: true
+ - name: vnf-id
+ description: Identifies the VNF instance to which this action is to be applied
+ type: string
+ short_option: J
+ long_option: vnf-id
+ is_optional: true
+ is_optional: false
+ - name: vnfc-name
+ description: Identifies the VNFC name to which this action is to be applied
+ type: string
+ short_option: N
+ long_option: vnfc-name
+ is_optional: true
+ - name: vserver-id
+ description: Identifies a specific VM instance to which this action is to be applied
+ type: string
+ short_option: K
+ long_option: vserver-id
+ is_optional: true
+ - name: vf-module-id
+ description: Identifies a specific VF module to which this action is to be applied
+ type: string
+ short_option: M
+ long_option: vf-module-id
+ is_optional: true
+ - name: payload
+ description: An action-specific open-format field
+ type: string
+ short_option: P
+ long_option: payload
+ is_optional: true
+results:
+ direction: portrait
+ attributes:
+ - name: action
+ description: The action to be taken by APPC
+ scope: short
+ type: string
+ - name: api-ver
+ description: Identifies the API version
+ scope: short
+ type: string
+ - name: flags
+ description: Identifies the API version
+ scope: short
+ type: string
+ - name: timestamp
+ description: The time of the request, in ISO 8601 format, ZULU offset
+ scope: short
+ type: string
+ - name: status
+ description: The status describes the outcome of the command processing
+ scope: short
+ type: digit
+ - name: originator-id
+ description: An identifier of the calling system limited to a length of 40 characters
+ scope: short
+ type: string
+ - name: request-id
+ description: The UUID for the request ID, limited to a length of 40 characters
+ scope: short
+ type: string
+ - name: sub-request-id
+ description: Uniquely identifies a specific LCM or control action
+ scope: long
+ type: string
+ - name: payload
+ description: An open-format field
+ scope: long
+ type: string
+http:
+ service:
+ auth: basic
+ mode: direct
+ request:
+ uri: /restconf/operations/vnf-provider-lcm:action-status
+ method: POST
+ 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}"}}'
+ success_codes:
+ - 400
+ result_map:
+ action: $b{$.action}
+ api-ver: $b{$.api-ver}
+ flags: $b{$.flags}
+ originator-id: $b{$.originator-id}
+ request-id: $b{$.request-id}
+ sub-request-id: $b{$.sub-request-id}
+ payload: $b{$.payload}
+ status: $b{$.status}
+ timestamp: $b{$.timestamp}
+
+ sample_response:
+ 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}"}}' \ No newline at end of file
diff --git a/products/onap-beijing/features/appc/src/main/resources/open-cli-schema/appc-attachhvolume-schema.yaml b/products/onap-beijing/features/appc/src/main/resources/open-cli-schema/appc-attachhvolume-schema.yaml
new file mode 100644
index 00000000..587b4538
--- /dev/null
+++ b/products/onap-beijing/features/appc/src/main/resources/open-cli-schema/appc-attachhvolume-schema.yaml
@@ -0,0 +1,162 @@
+open_cli_schema_version: 1.0
+name: vnf-attachvolume
+description: Attach a cinder volume from a VM via an Openstack command
+
+info:
+ product: onap-beijing
+ service: appc
+ author: ONAP CLI Team onap-discuss@lists.onap.org
+ state: experimental
+
+parameters:
+ - name: timestamp
+ description: The time of the request, in ISO 8601 format, ZULU offset
+ type: string
+ short_option: T
+ long_option: timestamp
+ is_optional: false
+ - name: api-ver
+ description: Identifies the API version
+ type: string
+ short_option: X
+ long_option: api-ver
+ is_optional: false
+ - name: originator-id
+ description: An identifier of the calling system limited to a length of 40 characters
+ type: string
+ short_option: O
+ long_option: originator-id
+ is_optional: false
+ - name: request-id
+ description: The UUID for the request ID, limited to a length of 40 characters
+ type: string
+ short_option: R
+ long_option: request-id
+ is_optional: false
+ - name: sub-request-id
+ description: Uniquely identifies a specific LCM or control action, limited to a length of 40 characters
+ type: string
+ short_option: W
+ long_option: sub-request-id
+ is_optional: true
+ - name: flags-mode
+ description: Generic flags-mode that apply to all LCM actions
+ type: string
+ short_option: F
+ is_optional: true
+ - name: flags-force
+ description: Generic flags-force that apply to all LCM actions
+ type: bool
+ short_option: G
+ is_optional: true
+ - name: flags-ttl
+ description: Generic flags-ttl that apply to all LCM actions
+ type: string
+ short_option: H
+ is_optional: true
+ - name: action
+ description: The action to be taken by APPC
+ type: string
+ short_option: A
+ long_option: action
+ is_optional: false
+ - name: service-instance-id
+ description: Identifies a specific service instance that the command refers to
+ type: string
+ short_option: S
+ long_option: service-instance-id
+ is_optional: true
+ - name: vnf-id
+ description: Identifies the VNF instance to which this action is to be applied
+ type: string
+ short_option: J
+ long_option: vnf-id
+ is_optional: true
+ is_optional: false
+ - name: vnfc-name
+ description: Identifies the VNFC name to which this action is to be applied
+ type: string
+ short_option: N
+ long_option: vnfc-name
+ is_optional: true
+ - name: vserver-id
+ description: Identifies a specific VM instance to which this action is to be applied
+ type: string
+ short_option: K
+ long_option: vserver-id
+ is_optional: true
+ - name: vf-module-id
+ description: Identifies a specific VF module to which this action is to be applied
+ type: string
+ short_option: M
+ long_option: vf-module-id
+ is_optional: true
+ - name: payload
+ description: An action-specific open-format field
+ type: string
+ short_option: P
+ long_option: payload
+ is_optional: true
+results:
+ direction: portrait
+ attributes:
+ - name: action
+ description: The action to be taken by APPC
+ scope: short
+ type: string
+ - name: api-ver
+ description: Identifies the API version
+ scope: short
+ type: string
+ - name: flags
+ description: Identifies the API version
+ scope: short
+ type: string
+ - name: timestamp
+ description: The time of the request, in ISO 8601 format, ZULU offset
+ scope: short
+ type: string
+ - name: status
+ description: The status describes the outcome of the command processing
+ scope: short
+ type: digit
+ - name: originator-id
+ description: An identifier of the calling system limited to a length of 40 characters
+ scope: short
+ type: string
+ - name: request-id
+ description: The UUID for the request ID, limited to a length of 40 characters
+ scope: short
+ type: string
+ - name: sub-request-id
+ description: Uniquely identifies a specific LCM or control action
+ scope: long
+ type: string
+ - name: payload
+ description: An open-format field
+ scope: long
+ type: string
+http:
+ service:
+ auth: basic
+ mode: direct
+ request:
+ uri: /restconf/operations/vnf-provider-lcm:attach-volume
+ method: POST
+ 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}"}}'
+ success_codes:
+ - 100
+ - 400
+ result_map:
+ action: $b{$.action}
+ api-ver: $b{$.api-ver}
+ flags: $b{$.flags}
+ originator-id: $b{$.originator-id}
+ request-id: $b{$.request-id}
+ sub-request-id: $b{$.sub-request-id}
+ payload: $b{$.payload}
+ status: $b{$.status}
+ timestamp: $b{$.timestamp}
+
+ sample_response:
+ 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}"}}' \ No newline at end of file
diff --git a/products/onap-beijing/features/appc/src/main/resources/open-cli-schema/appc-audit-schema.yaml b/products/onap-beijing/features/appc/src/main/resources/open-cli-schema/appc-audit-schema.yaml
new file mode 100644
index 00000000..fdf2c1df
--- /dev/null
+++ b/products/onap-beijing/features/appc/src/main/resources/open-cli-schema/appc-audit-schema.yaml
@@ -0,0 +1,161 @@
+open_cli_schema_version: 1.0
+name: vnf-audit
+description: Audit VNF
+
+info:
+ product: onap-beijing
+ service: appc
+ author: ONAP CLI Team onap-discuss@lists.onap.org
+ state: experimental
+
+parameters:
+ - name: timestamp
+ description: The time of the request, in ISO 8601 format, ZULU offset
+ type: string
+ short_option: T
+ long_option: timestamp
+ is_optional: false
+ - name: api-ver
+ description: Identifies the API version
+ type: string
+ short_option: X
+ long_option: api-ver
+ is_optional: false
+ - name: originator-id
+ description: An identifier of the calling system limited to a length of 40 characters
+ type: string
+ short_option: O
+ long_option: originator-id
+ is_optional: false
+ - name: request-id
+ description: The UUID for the request ID, limited to a length of 40 characters
+ type: string
+ short_option: R
+ long_option: request-id
+ is_optional: false
+ - name: sub-request-id
+ description: Uniquely identifies a specific LCM or control action, limited to a length of 40 characters
+ type: string
+ short_option: W
+ long_option: sub-request-id
+ is_optional: true
+ - name: flags-mode
+ description: Generic flags-mode that apply to all LCM actions
+ type: string
+ short_option: F
+ is_optional: true
+ - name: flags-force
+ description: Generic flags-force that apply to all LCM actions
+ type: bool
+ short_option: G
+ is_optional: true
+ - name: flags-ttl
+ description: Generic flags-ttl that apply to all LCM actions
+ type: string
+ short_option: H
+ is_optional: true
+ - name: action
+ description: The action to be taken by APPC
+ type: string
+ short_option: A
+ long_option: action
+ is_optional: false
+ - name: service-instance-id
+ description: Identifies a specific service instance that the command refers to
+ type: string
+ short_option: S
+ long_option: service-instance-id
+ is_optional: true
+ - name: vnf-id
+ description: Identifies the VNF instance to which this action is to be applied
+ type: string
+ short_option: J
+ long_option: vnf-id
+ is_optional: true
+ is_optional: false
+ - name: vnfc-name
+ description: Identifies the VNFC name to which this action is to be applied
+ type: string
+ short_option: N
+ long_option: vnfc-name
+ is_optional: true
+ - name: vserver-id
+ description: Identifies a specific VM instance to which this action is to be applied
+ type: string
+ short_option: K
+ long_option: vserver-id
+ is_optional: true
+ - name: vf-module-id
+ description: Identifies a specific VF module to which this action is to be applied
+ type: string
+ short_option: M
+ long_option: vf-module-id
+ is_optional: true
+ - name: payload
+ description: An action-specific open-format field
+ type: string
+ short_option: P
+ long_option: payload
+ is_optional: true
+results:
+ direction: portrait
+ attributes:
+ - name: action
+ description: The action to be taken by APPC
+ scope: short
+ type: string
+ - name: api-ver
+ description: Identifies the API version
+ scope: short
+ type: string
+ - name: flags
+ description: Identifies the API version
+ scope: short
+ type: string
+ - name: timestamp
+ description: The time of the request, in ISO 8601 format, ZULU offset
+ scope: short
+ type: string
+ - name: status
+ description: The status describes the outcome of the command processing
+ scope: short
+ type: digit
+ - name: originator-id
+ description: An identifier of the calling system limited to a length of 40 characters
+ scope: short
+ type: string
+ - name: request-id
+ description: The UUID for the request ID, limited to a length of 40 characters
+ scope: short
+ type: string
+ - name: sub-request-id
+ description: Uniquely identifies a specific LCM or control action
+ scope: long
+ type: string
+ - name: payload
+ description: An open-format field
+ scope: long
+ type: string
+http:
+ service:
+ auth: basic
+ mode: direct
+ request:
+ uri: /restconf/operations/vnf-provider-lcm:audit
+ method: POST
+ 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}"}}'
+ success_codes:
+ - 400
+ result_map:
+ action: $b{$.action}
+ api-ver: $b{$.api-ver}
+ flags: $b{$.flags}
+ originator-id: $b{$.originator-id}
+ request-id: $b{$.request-id}
+ sub-request-id: $b{$.sub-request-id}
+ payload: $b{$.payload}
+ status: $b{$.status}
+ timestamp: $b{$.timestamp}
+
+ sample_response:
+ 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}"}}' \ No newline at end of file
diff --git a/products/onap-beijing/features/appc/src/main/resources/open-cli-schema/appc-checklock-schema.yaml b/products/onap-beijing/features/appc/src/main/resources/open-cli-schema/appc-checklock-schema.yaml
new file mode 100644
index 00000000..ba7283e2
--- /dev/null
+++ b/products/onap-beijing/features/appc/src/main/resources/open-cli-schema/appc-checklock-schema.yaml
@@ -0,0 +1,162 @@
+open_cli_schema_version: 1.0
+name: vnf-checklock
+description: The CheckLock command returns true if the specified VNF is locked; otherwise, false is returned
+
+info:
+ product: onap-beijing
+ service: appc
+ author: ONAP CLI Team onap-discuss@lists.onap.org
+ state: experimental
+
+parameters:
+ - name: timestamp
+ description: The time of the request, in ISO 8601 format, ZULU offset
+ type: string
+ short_option: T
+ long_option: timestamp
+ is_optional: false
+ - name: api-ver
+ description: Identifies the API version
+ type: string
+ short_option: X
+ long_option: api-ver
+ is_optional: false
+ - name: originator-id
+ description: An identifier of the calling system limited to a length of 40 characters
+ type: string
+ short_option: O
+ long_option: originator-id
+ is_optional: false
+ - name: request-id
+ description: The UUID for the request ID, limited to a length of 40 characters
+ type: string
+ short_option: R
+ long_option: request-id
+ is_optional: false
+ - name: sub-request-id
+ description: Uniquely identifies a specific LCM or control action, limited to a length of 40 characters
+ type: string
+ short_option: W
+ long_option: sub-request-id
+ is_optional: true
+ - name: flags-mode
+ description: Generic flags-mode that apply to all LCM actions
+ type: string
+ short_option: F
+ is_optional: true
+ - name: flags-force
+ description: Generic flags-force that apply to all LCM actions
+ type: bool
+ short_option: G
+ is_optional: true
+ - name: flags-ttl
+ description: Generic flags-ttl that apply to all LCM actions
+ type: string
+ short_option: H
+ is_optional: true
+ - name: action
+ description: The action to be taken by APPC
+ type: string
+ short_option: A
+ long_option: action
+ is_optional: false
+ - name: service-instance-id
+ description: Identifies a specific service instance that the command refers to
+ type: string
+ short_option: S
+ long_option: service-instance-id
+ is_optional: true
+ - name: vnf-id
+ description: Identifies the VNF instance to which this action is to be applied
+ type: string
+ short_option: J
+ long_option: vnf-id
+ is_optional: true
+ is_optional: false
+ - name: vnfc-name
+ description: Identifies the VNFC name to which this action is to be applied
+ type: string
+ short_option: N
+ long_option: vnfc-name
+ is_optional: true
+ - name: vserver-id
+ description: Identifies a specific VM instance to which this action is to be applied
+ type: string
+ short_option: K
+ long_option: vserver-id
+ is_optional: true
+ - name: vf-module-id
+ description: Identifies a specific VF module to which this action is to be applied
+ type: string
+ short_option: M
+ long_option: vf-module-id
+ is_optional: true
+ - name: payload
+ description: An action-specific open-format field
+ type: string
+ short_option: P
+ long_option: payload
+ is_optional: true
+results:
+ direction: portrait
+ attributes:
+ - name: action
+ description: The action to be taken by APPC
+ scope: short
+ type: string
+ - name: api-ver
+ description: Identifies the API version
+ scope: short
+ type: string
+ - name: flags
+ description: Identifies the API version
+ scope: short
+ type: string
+ - name: timestamp
+ description: The time of the request, in ISO 8601 format, ZULU offset
+ scope: short
+ type: string
+ - name: status
+ description: The status describes the outcome of the command processing
+ scope: short
+ type: digit
+ - name: originator-id
+ description: An identifier of the calling system limited to a length of 40 characters
+ scope: short
+ type: string
+ - name: request-id
+ description: The UUID for the request ID, limited to a length of 40 characters
+ scope: short
+ type: string
+ - name: sub-request-id
+ description: Uniquely identifies a specific LCM or control action
+ scope: long
+ type: string
+ - name: payload
+ description: An open-format field
+ scope: long
+ type: string
+http:
+ service:
+ auth: basic
+ mode: direct
+ request:
+ uri: /restconf/operations/vnf-provider-lcm:check-lock
+ method: POST
+ 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}"}}'
+ success_codes:
+ - 100
+ - 400
+ result_map:
+ action: $b{$.action}
+ api-ver: $b{$.api-ver}
+ flags: $b{$.flags}
+ originator-id: $b{$.originator-id}
+ request-id: $b{$.request-id}
+ sub-request-id: $b{$.sub-request-id}
+ payload: $b{$.payload}
+ status: $b{$.status}
+ timestamp: $b{$.timestamp}
+
+ sample_response:
+ 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}"}}' \ No newline at end of file
diff --git a/products/onap-beijing/features/appc/src/main/resources/open-cli-schema/appc-configure-schema.yaml b/products/onap-beijing/features/appc/src/main/resources/open-cli-schema/appc-configure-schema.yaml
new file mode 100644
index 00000000..a7ffc8b6
--- /dev/null
+++ b/products/onap-beijing/features/appc/src/main/resources/open-cli-schema/appc-configure-schema.yaml
@@ -0,0 +1,161 @@
+open_cli_schema_version: 1.0
+name: vnf-configure
+description: Configure a VNF or a VNFC on the VNF after instantiation
+
+info:
+ product: onap-beijing
+ service: appc
+ author: ONAP CLI Team onap-discuss@lists.onap.org
+ state: experimental
+
+parameters:
+ - name: timestamp
+ description: The time of the request, in ISO 8601 format, ZULU offset
+ type: string
+ short_option: T
+ long_option: timestamp
+ is_optional: false
+ - name: api-ver
+ description: Identifies the API version
+ type: string
+ short_option: X
+ long_option: api-ver
+ is_optional: false
+ - name: originator-id
+ description: An identifier of the calling system limited to a length of 40 characters
+ type: string
+ short_option: O
+ long_option: originator-id
+ is_optional: false
+ - name: request-id
+ description: The UUID for the request ID, limited to a length of 40 characters
+ type: string
+ short_option: R
+ long_option: request-id
+ is_optional: false
+ - name: sub-request-id
+ description: Uniquely identifies a specific LCM or control action, limited to a length of 40 characters
+ type: string
+ short_option: W
+ long_option: sub-request-id
+ is_optional: true
+ - name: flags-mode
+ description: Generic flags-mode that apply to all LCM actions
+ type: string
+ short_option: F
+ is_optional: true
+ - name: flags-force
+ description: Generic flags-force that apply to all LCM actions
+ type: bool
+ short_option: G
+ is_optional: true
+ - name: flags-ttl
+ description: Generic flags-ttl that apply to all LCM actions
+ type: string
+ short_option: H
+ is_optional: true
+ - name: action
+ description: The action to be taken by APPC
+ type: string
+ short_option: A
+ long_option: action
+ is_optional: false
+ - name: service-instance-id
+ description: Identifies a specific service instance that the command refers to
+ type: string
+ short_option: S
+ long_option: service-instance-id
+ is_optional: true
+ - name: vnf-id
+ description: Identifies the VNF instance to which this action is to be applied
+ type: string
+ short_option: J
+ long_option: vnf-id
+ is_optional: true
+ is_optional: false
+ - name: vnfc-name
+ description: Identifies the VNFC name to which this action is to be applied
+ type: string
+ short_option: N
+ long_option: vnfc-name
+ is_optional: true
+ - name: vserver-id
+ description: Identifies a specific VM instance to which this action is to be applied
+ type: string
+ short_option: K
+ long_option: vserver-id
+ is_optional: true
+ - name: vf-module-id
+ description: Identifies a specific VF module to which this action is to be applied
+ type: string
+ short_option: M
+ long_option: vf-module-id
+ is_optional: true
+ - name: payload
+ description: An action-specific open-format field
+ type: string
+ short_option: P
+ long_option: payload
+ is_optional: true
+results:
+ direction: portrait
+ attributes:
+ - name: action
+ description: The action to be taken by APPC
+ scope: short
+ type: string
+ - name: api-ver
+ description: Identifies the API version
+ scope: short
+ type: string
+ - name: flags
+ description: Identifies the API version
+ scope: short
+ type: string
+ - name: timestamp
+ description: The time of the request, in ISO 8601 format, ZULU offset
+ scope: short
+ type: string
+ - name: status
+ description: The status describes the outcome of the command processing
+ scope: short
+ type: digit
+ - name: originator-id
+ description: An identifier of the calling system limited to a length of 40 characters
+ scope: short
+ type: string
+ - name: request-id
+ description: The UUID for the request ID, limited to a length of 40 characters
+ scope: short
+ type: string
+ - name: sub-request-id
+ description: Uniquely identifies a specific LCM or control action
+ scope: long
+ type: string
+ - name: payload
+ description: An open-format field
+ scope: long
+ type: string
+http:
+ service:
+ auth: basic
+ mode: direct
+ request:
+ uri: /restconf/operations/vnf-provider-lcm:configure
+ method: POST
+ 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}"}}'
+ success_codes:
+ - 400
+ result_map:
+ action: $b{$.action}
+ api-ver: $b{$.api-ver}
+ flags: $b{$.flags}
+ originator-id: $b{$.originator-id}
+ request-id: $b{$.request-id}
+ sub-request-id: $b{$.sub-request-id}
+ payload: $b{$.payload}
+ status: $b{$.status}
+ timestamp: $b{$.timestamp}
+
+ sample_response:
+ 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}"}}' \ No newline at end of file
diff --git a/products/onap-beijing/features/appc/src/main/resources/open-cli-schema/appc-configurebackup-schema.yaml b/products/onap-beijing/features/appc/src/main/resources/open-cli-schema/appc-configurebackup-schema.yaml
new file mode 100644
index 00000000..b2a3f764
--- /dev/null
+++ b/products/onap-beijing/features/appc/src/main/resources/open-cli-schema/appc-configurebackup-schema.yaml
@@ -0,0 +1,161 @@
+open_cli_schema_version: 1.0
+name: vnf-configurebackup
+description: Backup the current VNF configuration on a local file system - not in APPC. This is limited to Ansible and Chef.
+
+info:
+ product: onap-beijing
+ service: appc
+ author: ONAP CLI Team onap-discuss@lists.onap.org
+ state: experimental
+
+parameters:
+ - name: timestamp
+ description: The time of the request, in ISO 8601 format, ZULU offset
+ type: string
+ short_option: T
+ long_option: timestamp
+ is_optional: false
+ - name: api-ver
+ description: Identifies the API version
+ type: string
+ short_option: X
+ long_option: api-ver
+ is_optional: false
+ - name: originator-id
+ description: An identifier of the calling system limited to a length of 40 characters
+ type: string
+ short_option: O
+ long_option: originator-id
+ is_optional: false
+ - name: request-id
+ description: The UUID for the request ID, limited to a length of 40 characters
+ type: string
+ short_option: R
+ long_option: request-id
+ is_optional: false
+ - name: sub-request-id
+ description: Uniquely identifies a specific LCM or control action, limited to a length of 40 characters
+ type: string
+ short_option: W
+ long_option: sub-request-id
+ is_optional: true
+ - name: flags-mode
+ description: Generic flags-mode that apply to all LCM actions
+ type: string
+ short_option: F
+ is_optional: true
+ - name: flags-force
+ description: Generic flags-force that apply to all LCM actions
+ type: bool
+ short_option: G
+ is_optional: true
+ - name: flags-ttl
+ description: Generic flags-ttl that apply to all LCM actions
+ type: string
+ short_option: H
+ is_optional: true
+ - name: action
+ description: The action to be taken by APPC
+ type: string
+ short_option: A
+ long_option: action
+ is_optional: false
+ - name: service-instance-id
+ description: Identifies a specific service instance that the command refers to
+ type: string
+ short_option: S
+ long_option: service-instance-id
+ is_optional: true
+ - name: vnf-id
+ description: Identifies the VNF instance to which this action is to be applied
+ type: string
+ short_option: J
+ long_option: vnf-id
+ is_optional: true
+ is_optional: false
+ - name: vnfc-name
+ description: Identifies the VNFC name to which this action is to be applied
+ type: string
+ short_option: N
+ long_option: vnfc-name
+ is_optional: true
+ - name: vserver-id
+ description: Identifies a specific VM instance to which this action is to be applied
+ type: string
+ short_option: K
+ long_option: vserver-id
+ is_optional: true
+ - name: vf-module-id
+ description: Identifies a specific VF module to which this action is to be applied
+ type: string
+ short_option: M
+ long_option: vf-module-id
+ is_optional: true
+ - name: payload
+ description: An action-specific open-format field
+ type: string
+ short_option: P
+ long_option: payload
+ is_optional: true
+results:
+ direction: portrait
+ attributes:
+ - name: action
+ description: The action to be taken by APPC
+ scope: short
+ type: string
+ - name: api-ver
+ description: Identifies the API version
+ scope: short
+ type: string
+ - name: flags
+ description: Identifies the API version
+ scope: short
+ type: string
+ - name: timestamp
+ description: The time of the request, in ISO 8601 format, ZULU offset
+ scope: short
+ type: string
+ - name: status
+ description: The status describes the outcome of the command processing
+ scope: short
+ type: digit
+ - name: originator-id
+ description: An identifier of the calling system limited to a length of 40 characters
+ scope: short
+ type: string
+ - name: request-id
+ description: The UUID for the request ID, limited to a length of 40 characters
+ scope: short
+ type: string
+ - name: sub-request-id
+ description: Uniquely identifies a specific LCM or control action
+ scope: long
+ type: string
+ - name: payload
+ description: An open-format field
+ scope: long
+ type: string
+http:
+ service:
+ auth: basic
+ mode: direct
+ request:
+ uri: /restconf/operations/vnf-provider-lcm:configure-backup
+ method: POST
+ 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}"}}'
+ success_codes:
+ - 400
+ result_map:
+ action: $b{$.action}
+ api-ver: $b{$.api-ver}
+ flags: $b{$.flags}
+ originator-id: $b{$.originator-id}
+ request-id: $b{$.request-id}
+ sub-request-id: $b{$.sub-request-id}
+ payload: $b{$.payload}
+ status: $b{$.status}
+ timestamp: $b{$.timestamp}
+
+ sample_response:
+ 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}"}}' \ No newline at end of file
diff --git a/products/onap-beijing/features/appc/src/main/resources/open-cli-schema/appc-configuremodify-schema.yaml b/products/onap-beijing/features/appc/src/main/resources/open-cli-schema/appc-configuremodify-schema.yaml
new file mode 100644
index 00000000..b6aec122
--- /dev/null
+++ b/products/onap-beijing/features/appc/src/main/resources/open-cli-schema/appc-configuremodify-schema.yaml
@@ -0,0 +1,161 @@
+open_cli_schema_version: 1.0
+name: vnf-configuremodify
+description: Modifies the configuration on a VNF or VNFC in service.
+
+info:
+ product: onap-beijing
+ service: appc
+ author: ONAP CLI Team onap-discuss@lists.onap.org
+ state: experimental
+
+parameters:
+ - name: timestamp
+ description: The time of the request, in ISO 8601 format, ZULU offset
+ type: string
+ short_option: T
+ long_option: timestamp
+ is_optional: false
+ - name: api-ver
+ description: Identifies the API version
+ type: string
+ short_option: X
+ long_option: api-ver
+ is_optional: false
+ - name: originator-id
+ description: An identifier of the calling system limited to a length of 40 characters
+ type: string
+ short_option: O
+ long_option: originator-id
+ is_optional: false
+ - name: request-id
+ description: The UUID for the request ID, limited to a length of 40 characters
+ type: string
+ short_option: R
+ long_option: request-id
+ is_optional: false
+ - name: sub-request-id
+ description: Uniquely identifies a specific LCM or control action, limited to a length of 40 characters
+ type: string
+ short_option: W
+ long_option: sub-request-id
+ is_optional: true
+ - name: flags-mode
+ description: Generic flags-mode that apply to all LCM actions
+ type: string
+ short_option: F
+ is_optional: true
+ - name: flags-force
+ description: Generic flags-force that apply to all LCM actions
+ type: bool
+ short_option: G
+ is_optional: true
+ - name: flags-ttl
+ description: Generic flags-ttl that apply to all LCM actions
+ type: string
+ short_option: H
+ is_optional: true
+ - name: action
+ description: The action to be taken by APPC
+ type: string
+ short_option: A
+ long_option: action
+ is_optional: false
+ - name: service-instance-id
+ description: Identifies a specific service instance that the command refers to
+ type: string
+ short_option: S
+ long_option: service-instance-id
+ is_optional: true
+ - name: vnf-id
+ description: Identifies the VNF instance to which this action is to be applied
+ type: string
+ short_option: J
+ long_option: vnf-id
+ is_optional: true
+ is_optional: false
+ - name: vnfc-name
+ description: Identifies the VNFC name to which this action is to be applied
+ type: string
+ short_option: N
+ long_option: vnfc-name
+ is_optional: true
+ - name: vserver-id
+ description: Identifies a specific VM instance to which this action is to be applied
+ type: string
+ short_option: K
+ long_option: vserver-id
+ is_optional: true
+ - name: vf-module-id
+ description: Identifies a specific VF module to which this action is to be applied
+ type: string
+ short_option: M
+ long_option: vf-module-id
+ is_optional: true
+ - name: payload
+ description: An action-specific open-format field
+ type: string
+ short_option: P
+ long_option: payload
+ is_optional: true
+results:
+ direction: portrait
+ attributes:
+ - name: action
+ description: The action to be taken by APPC
+ scope: short
+ type: string
+ - name: api-ver
+ description: Identifies the API version
+ scope: short
+ type: string
+ - name: flags
+ description: Identifies the API version
+ scope: short
+ type: string
+ - name: timestamp
+ description: The time of the request, in ISO 8601 format, ZULU offset
+ scope: short
+ type: string
+ - name: status
+ description: The status describes the outcome of the command processing
+ scope: short
+ type: digit
+ - name: originator-id
+ description: An identifier of the calling system limited to a length of 40 characters
+ scope: short
+ type: string
+ - name: request-id
+ description: The UUID for the request ID, limited to a length of 40 characters
+ scope: short
+ type: string
+ - name: sub-request-id
+ description: Uniquely identifies a specific LCM or control action
+ scope: long
+ type: string
+ - name: payload
+ description: An open-format field
+ scope: long
+ type: string
+http:
+ service:
+ auth: basic
+ mode: direct
+ request:
+ uri: /restconf/operations/vnf-provider-lcm:configure-modify
+ method: POST
+ 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}"}}'
+ success_codes:
+ - 400
+ result_map:
+ action: $b{$.action}
+ api-ver: $b{$.api-ver}
+ flags: $b{$.flags}
+ originator-id: $b{$.originator-id}
+ request-id: $b{$.request-id}
+ sub-request-id: $b{$.sub-request-id}
+ payload: $b{$.payload}
+ status: $b{$.status}
+ timestamp: $b{$.timestamp}
+
+ sample_response:
+ 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}"}}' \ No newline at end of file
diff --git a/products/onap-beijing/features/appc/src/main/resources/open-cli-schema/appc-configurerestore-schema.yaml b/products/onap-beijing/features/appc/src/main/resources/open-cli-schema/appc-configurerestore-schema.yaml
new file mode 100644
index 00000000..6f8d5215
--- /dev/null
+++ b/products/onap-beijing/features/appc/src/main/resources/open-cli-schema/appc-configurerestore-schema.yaml
@@ -0,0 +1,161 @@
+open_cli_schema_version: 1.0
+name: vnf-configurerestore
+description: Applies a previously saved configuration to the active VNF configuration. This is limited to Ansible and Chef
+
+info:
+ product: onap-beijing
+ service: appc
+ author: ONAP CLI Team onap-discuss@lists.onap.org
+ state: experimental
+
+parameters:
+ - name: timestamp
+ description: The time of the request, in ISO 8601 format, ZULU offset
+ type: string
+ short_option: T
+ long_option: timestamp
+ is_optional: false
+ - name: api-ver
+ description: Identifies the API version
+ type: string
+ short_option: X
+ long_option: api-ver
+ is_optional: false
+ - name: originator-id
+ description: An identifier of the calling system limited to a length of 40 characters
+ type: string
+ short_option: O
+ long_option: originator-id
+ is_optional: false
+ - name: request-id
+ description: The UUID for the request ID, limited to a length of 40 characters
+ type: string
+ short_option: R
+ long_option: request-id
+ is_optional: false
+ - name: sub-request-id
+ description: Uniquely identifies a specific LCM or control action, limited to a length of 40 characters
+ type: string
+ short_option: W
+ long_option: sub-request-id
+ is_optional: true
+ - name: flags-mode
+ description: Generic flags-mode that apply to all LCM actions
+ type: string
+ short_option: F
+ is_optional: true
+ - name: flags-force
+ description: Generic flags-force that apply to all LCM actions
+ type: bool
+ short_option: G
+ is_optional: true
+ - name: flags-ttl
+ description: Generic flags-ttl that apply to all LCM actions
+ type: string
+ short_option: H
+ is_optional: true
+ - name: action
+ description: The action to be taken by APPC
+ type: string
+ short_option: A
+ long_option: action
+ is_optional: false
+ - name: service-instance-id
+ description: Identifies a specific service instance that the command refers to
+ type: string
+ short_option: S
+ long_option: service-instance-id
+ is_optional: true
+ - name: vnf-id
+ description: Identifies the VNF instance to which this action is to be applied
+ type: string
+ short_option: J
+ long_option: vnf-id
+ is_optional: true
+ is_optional: false
+ - name: vnfc-name
+ description: Identifies the VNFC name to which this action is to be applied
+ type: string
+ short_option: N
+ long_option: vnfc-name
+ is_optional: true
+ - name: vserver-id
+ description: Identifies a specific VM instance to which this action is to be applied
+ type: string
+ short_option: K
+ long_option: vserver-id
+ is_optional: true
+ - name: vf-module-id
+ description: Identifies a specific VF module to which this action is to be applied
+ type: string
+ short_option: M
+ long_option: vf-module-id
+ is_optional: true
+ - name: payload
+ description: An action-specific open-format field
+ type: string
+ short_option: P
+ long_option: payload
+ is_optional: true
+results:
+ direction: portrait
+ attributes:
+ - name: action
+ description: The action to be taken by APPC
+ scope: short
+ type: string
+ - name: api-ver
+ description: Identifies the API version
+ scope: short
+ type: string
+ - name: flags
+ description: Identifies the API version
+ scope: short
+ type: string
+ - name: timestamp
+ description: The time of the request, in ISO 8601 format, ZULU offset
+ scope: short
+ type: string
+ - name: status
+ description: The status describes the outcome of the command processing
+ scope: short
+ type: digit
+ - name: originator-id
+ description: An identifier of the calling system limited to a length of 40 characters
+ scope: short
+ type: string
+ - name: request-id
+ description: The UUID for the request ID, limited to a length of 40 characters
+ scope: short
+ type: string
+ - name: sub-request-id
+ description: Uniquely identifies a specific LCM or control action
+ scope: long
+ type: string
+ - name: payload
+ description: An open-format field
+ scope: long
+ type: string
+http:
+ service:
+ auth: basic
+ mode: direct
+ request:
+ uri: /restconf/operations/vnf-provider-lcm:configure-restore
+ method: POST
+ 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}"}}'
+ success_codes:
+ - 400
+ result_map:
+ action: $b{$.action}
+ api-ver: $b{$.api-ver}
+ flags: $b{$.flags}
+ originator-id: $b{$.originator-id}
+ request-id: $b{$.request-id}
+ sub-request-id: $b{$.sub-request-id}
+ payload: $b{$.payload}
+ status: $b{$.status}
+ timestamp: $b{$.timestamp}
+
+ sample_response:
+ 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}"}}' \ No newline at end of file
diff --git a/products/onap-beijing/features/appc/src/main/resources/open-cli-schema/appc-configurescaleout-schema.yaml b/products/onap-beijing/features/appc/src/main/resources/open-cli-schema/appc-configurescaleout-schema.yaml
new file mode 100644
index 00000000..d202633e
--- /dev/null
+++ b/products/onap-beijing/features/appc/src/main/resources/open-cli-schema/appc-configurescaleout-schema.yaml
@@ -0,0 +1,161 @@
+open_cli_schema_version: 1.0
+name: vnf-configurerescaleout
+description: The ConfigScaleOut command is used to apply any actions on a VNF as part of a ScaleOut flow. Actions could include updating the VNF configuration or running a set of other tasks.
+
+info:
+ product: onap-beijing
+ service: appc
+ author: ONAP CLI Team onap-discuss@lists.onap.org
+ state: experimental
+
+parameters:
+ - name: timestamp
+ description: The time of the request, in ISO 8601 format, ZULU offset
+ type: string
+ short_option: T
+ long_option: timestamp
+ is_optional: false
+ - name: api-ver
+ description: Identifies the API version
+ type: string
+ short_option: X
+ long_option: api-ver
+ is_optional: false
+ - name: originator-id
+ description: An identifier of the calling system limited to a length of 40 characters
+ type: string
+ short_option: O
+ long_option: originator-id
+ is_optional: false
+ - name: request-id
+ description: The UUID for the request ID, limited to a length of 40 characters
+ type: string
+ short_option: R
+ long_option: request-id
+ is_optional: false
+ - name: sub-request-id
+ description: Uniquely identifies a specific LCM or control action, limited to a length of 40 characters
+ type: string
+ short_option: W
+ long_option: sub-request-id
+ is_optional: true
+ - name: flags-mode
+ description: Generic flags-mode that apply to all LCM actions
+ type: string
+ short_option: F
+ is_optional: true
+ - name: flags-force
+ description: Generic flags-force that apply to all LCM actions
+ type: bool
+ short_option: G
+ is_optional: true
+ - name: flags-ttl
+ description: Generic flags-ttl that apply to all LCM actions
+ type: string
+ short_option: H
+ is_optional: true
+ - name: action
+ description: The action to be taken by APPC
+ type: string
+ short_option: A
+ long_option: action
+ is_optional: false
+ - name: service-instance-id
+ description: Identifies a specific service instance that the command refers to
+ type: string
+ short_option: S
+ long_option: service-instance-id
+ is_optional: true
+ - name: vnf-id
+ description: Identifies the VNF instance to which this action is to be applied
+ type: string
+ short_option: J
+ long_option: vnf-id
+ is_optional: true
+ is_optional: false
+ - name: vnfc-name
+ description: Identifies the VNFC name to which this action is to be applied
+ type: string
+ short_option: N
+ long_option: vnfc-name
+ is_optional: true
+ - name: vserver-id
+ description: Identifies a specific VM instance to which this action is to be applied
+ type: string
+ short_option: K
+ long_option: vserver-id
+ is_optional: true
+ - name: vf-module-id
+ description: Identifies a specific VF module to which this action is to be applied
+ type: string
+ short_option: M
+ long_option: vf-module-id
+ is_optional: true
+ - name: payload
+ description: An action-specific open-format field
+ type: string
+ short_option: P
+ long_option: payload
+ is_optional: true
+results:
+ direction: portrait
+ attributes:
+ - name: action
+ description: The action to be taken by APPC
+ scope: short
+ type: string
+ - name: api-ver
+ description: Identifies the API version
+ scope: short
+ type: string
+ - name: flags
+ description: Identifies the API version
+ scope: short
+ type: string
+ - name: timestamp
+ description: The time of the request, in ISO 8601 format, ZULU offset
+ scope: short
+ type: string
+ - name: status
+ description: The status describes the outcome of the command processing
+ scope: short
+ type: digit
+ - name: originator-id
+ description: An identifier of the calling system limited to a length of 40 characters
+ scope: short
+ type: string
+ - name: request-id
+ description: The UUID for the request ID, limited to a length of 40 characters
+ scope: short
+ type: string
+ - name: sub-request-id
+ description: Uniquely identifies a specific LCM or control action
+ scope: long
+ type: string
+ - name: payload
+ description: An open-format field
+ scope: long
+ type: string
+http:
+ service:
+ auth: basic
+ mode: direct
+ request:
+ uri: /restconf/operations/vnf-provider-lcm:configure-scale-out
+ method: POST
+ 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}"}}'
+ success_codes:
+ - 400
+ result_map:
+ action: $b{$.action}
+ api-ver: $b{$.api-ver}
+ flags: $b{$.flags}
+ originator-id: $b{$.originator-id}
+ request-id: $b{$.request-id}
+ sub-request-id: $b{$.sub-request-id}
+ payload: $b{$.payload}
+ status: $b{$.status}
+ timestamp: $b{$.timestamp}
+
+ sample_response:
+ 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}"}}' \ No newline at end of file
diff --git a/products/onap-beijing/features/appc/src/main/resources/open-cli-schema/appc-detachvolume-schema.yaml b/products/onap-beijing/features/appc/src/main/resources/open-cli-schema/appc-detachvolume-schema.yaml
new file mode 100644
index 00000000..a035550b
--- /dev/null
+++ b/products/onap-beijing/features/appc/src/main/resources/open-cli-schema/appc-detachvolume-schema.yaml
@@ -0,0 +1,161 @@
+open_cli_schema_version: 1.0
+name: vnf-detachvolume
+description: Detaches a cinder volume from a VM via an Openstack command
+
+info:
+ product: onap-beijing
+ service: appc
+ author: ONAP CLI Team onap-discuss@lists.onap.org
+ state: experimental
+
+parameters:
+ - name: timestamp
+ description: The time of the request, in ISO 8601 format, ZULU offset
+ type: string
+ short_option: T
+ long_option: timestamp
+ is_optional: false
+ - name: api-ver
+ description: Identifies the API version
+ type: string
+ short_option: X
+ long_option: api-ver
+ is_optional: false
+ - name: originator-id
+ description: An identifier of the calling system limited to a length of 40 characters
+ type: string
+ short_option: O
+ long_option: originator-id
+ is_optional: false
+ - name: request-id
+ description: The UUID for the request ID, limited to a length of 40 characters
+ type: string
+ short_option: R
+ long_option: request-id
+ is_optional: false
+ - name: sub-request-id
+ description: Uniquely identifies a specific LCM or control action, limited to a length of 40 characters
+ type: string
+ short_option: W
+ long_option: sub-request-id
+ is_optional: true
+ - name: flags-mode
+ description: Generic flags-mode that apply to all LCM actions
+ type: string
+ short_option: F
+ is_optional: true
+ - name: flags-force
+ description: Generic flags-force that apply to all LCM actions
+ type: bool
+ short_option: G
+ is_optional: true
+ - name: flags-ttl
+ description: Generic flags-ttl that apply to all LCM actions
+ type: string
+ short_option: H
+ is_optional: true
+ - name: action
+ description: The action to be taken by APPC
+ type: string
+ short_option: A
+ long_option: action
+ is_optional: false
+ - name: service-instance-id
+ description: Identifies a specific service instance that the command refers to
+ type: string
+ short_option: S
+ long_option: service-instance-id
+ is_optional: true
+ - name: vnf-id
+ description: Identifies the VNF instance to which this action is to be applied
+ type: string
+ short_option: J
+ long_option: vnf-id
+ is_optional: true
+ is_optional: false
+ - name: vnfc-name
+ description: Identifies the VNFC name to which this action is to be applied
+ type: string
+ short_option: N
+ long_option: vnfc-name
+ is_optional: true
+ - name: vserver-id
+ description: Identifies a specific VM instance to which this action is to be applied
+ type: string
+ short_option: K
+ long_option: vserver-id
+ is_optional: true
+ - name: vf-module-id
+ description: Identifies a specific VF module to which this action is to be applied
+ type: string
+ short_option: M
+ long_option: vf-module-id
+ is_optional: true
+ - name: payload
+ description: An action-specific open-format field
+ type: string
+ short_option: P
+ long_option: payload
+ is_optional: true
+results:
+ direction: portrait
+ attributes:
+ - name: action
+ description: The action to be taken by APPC
+ scope: short
+ type: string
+ - name: api-ver
+ description: Identifies the API version
+ scope: short
+ type: string
+ - name: flags
+ description: Identifies the API version
+ scope: short
+ type: string
+ - name: timestamp
+ description: The time of the request, in ISO 8601 format, ZULU offset
+ scope: short
+ type: string
+ - name: status
+ description: The status describes the outcome of the command processing
+ scope: short
+ type: digit
+ - name: originator-id
+ description: An identifier of the calling system limited to a length of 40 characters
+ scope: short
+ type: string
+ - name: request-id
+ description: The UUID for the request ID, limited to a length of 40 characters
+ scope: short
+ type: string
+ - name: sub-request-id
+ description: Uniquely identifies a specific LCM or control action
+ scope: long
+ type: string
+ - name: payload
+ description: An open-format field
+ scope: long
+ type: string
+http:
+ service:
+ auth: basic
+ mode: direct
+ request:
+ uri: /restconf/operations/vnf-provider-lcm:detach-volume
+ method: POST
+ 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}"}}'
+ success_codes:
+ - 400
+ result_map:
+ action: $b{$.action}
+ api-ver: $b{$.api-ver}
+ flags: $b{$.flags}
+ originator-id: $b{$.originator-id}
+ request-id: $b{$.request-id}
+ sub-request-id: $b{$.sub-request-id}
+ payload: $b{$.payload}
+ status: $b{$.status}
+ timestamp: $b{$.timestamp}
+
+ sample_response:
+ 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}"}}' \ No newline at end of file
diff --git a/products/onap-beijing/features/appc/src/main/resources/open-cli-schema/appc-evacuate-schema.yaml b/products/onap-beijing/features/appc/src/main/resources/open-cli-schema/appc-evacuate-schema.yaml
new file mode 100644
index 00000000..fb506737
--- /dev/null
+++ b/products/onap-beijing/features/appc/src/main/resources/open-cli-schema/appc-evacuate-schema.yaml
@@ -0,0 +1,162 @@
+open_cli_schema_version: 1.0
+name: vnf-evacuate
+description: Evacuates a specified VM from its current host to another
+
+info:
+ product: onap-beijing
+ service: appc
+ author: ONAP CLI Team onap-discuss@lists.onap.org
+ state: experimental
+
+parameters:
+ - name: timestamp
+ description: The time of the request, in ISO 8601 format, ZULU offset
+ type: string
+ short_option: T
+ long_option: timestamp
+ is_optional: false
+ - name: api-ver
+ description: Identifies the API version
+ type: string
+ short_option: X
+ long_option: api-ver
+ is_optional: false
+ - name: originator-id
+ description: An identifier of the calling system limited to a length of 40 characters
+ type: string
+ short_option: O
+ long_option: originator-id
+ is_optional: false
+ - name: request-id
+ description: The UUID for the request ID, limited to a length of 40 characters
+ type: string
+ short_option: R
+ long_option: request-id
+ is_optional: false
+ - name: sub-request-id
+ description: Uniquely identifies a specific LCM or control action, limited to a length of 40 characters
+ type: string
+ short_option: W
+ long_option: sub-request-id
+ is_optional: true
+ - name: flags-mode
+ description: Generic flags-mode that apply to all LCM actions
+ type: string
+ short_option: F
+ is_optional: true
+ - name: flags-force
+ description: Generic flags-force that apply to all LCM actions
+ type: bool
+ short_option: G
+ is_optional: true
+ - name: flags-ttl
+ description: Generic flags-ttl that apply to all LCM actions
+ type: string
+ short_option: H
+ is_optional: true
+ - name: action
+ description: The action to be taken by APPC
+ type: string
+ short_option: A
+ long_option: action
+ is_optional: false
+ - name: service-instance-id
+ description: Identifies a specific service instance that the command refers to
+ type: string
+ short_option: S
+ long_option: service-instance-id
+ is_optional: true
+ - name: vnf-id
+ description: Identifies the VNF instance to which this action is to be applied
+ type: string
+ short_option: J
+ long_option: vnf-id
+ is_optional: true
+ is_optional: false
+ - name: vnfc-name
+ description: Identifies the VNFC name to which this action is to be applied
+ type: string
+ short_option: N
+ long_option: vnfc-name
+ is_optional: true
+ - name: vserver-id
+ description: Identifies a specific VM instance to which this action is to be applied
+ type: string
+ short_option: K
+ long_option: vserver-id
+ is_optional: true
+ - name: vf-module-id
+ description: Identifies a specific VF module to which this action is to be applied
+ type: string
+ short_option: M
+ long_option: vf-module-id
+ is_optional: true
+ - name: payload
+ description: An action-specific open-format field
+ type: string
+ short_option: P
+ long_option: payload
+ is_optional: true
+results:
+ direction: portrait
+ attributes:
+ - name: action
+ description: The action to be taken by APPC
+ scope: short
+ type: string
+ - name: api-ver
+ description: Identifies the API version
+ scope: short
+ type: string
+ - name: flags
+ description: Identifies the API version
+ scope: short
+ type: string
+ - name: timestamp
+ description: The time of the request, in ISO 8601 format, ZULU offset
+ scope: short
+ type: string
+ - name: status
+ description: The status describes the outcome of the command processing
+ scope: short
+ type: digit
+ - name: originator-id
+ description: An identifier of the calling system limited to a length of 40 characters
+ scope: short
+ type: string
+ - name: request-id
+ description: The UUID for the request ID, limited to a length of 40 characters
+ scope: short
+ type: string
+ - name: sub-request-id
+ description: Uniquely identifies a specific LCM or control action
+ scope: long
+ type: string
+ - name: payload
+ description: An open-format field
+ scope: long
+ type: string
+http:
+ service:
+ auth: basic
+ mode: direct
+ request:
+ uri: /restconf/operations/vnf-provider-lcm:evacuate
+ method: POST
+ 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}"}}'
+ success_codes:
+ - 100
+ - 400
+ result_map:
+ action: $b{$.action}
+ api-ver: $b{$.api-ver}
+ flags: $b{$.flags}
+ originator-id: $b{$.originator-id}
+ request-id: $b{$.request-id}
+ sub-request-id: $b{$.sub-request-id}
+ payload: $b{$.payload}
+ status: $b{$.status}
+ timestamp: $b{$.timestamp}
+
+ sample_response:
+ 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}"}}' \ No newline at end of file
diff --git a/products/onap-beijing/features/appc/src/main/resources/open-cli-schema/appc-healthcheck-schema.yaml b/products/onap-beijing/features/appc/src/main/resources/open-cli-schema/appc-healthcheck-schema.yaml
new file mode 100644
index 00000000..254b21bf
--- /dev/null
+++ b/products/onap-beijing/features/appc/src/main/resources/open-cli-schema/appc-healthcheck-schema.yaml
@@ -0,0 +1,161 @@
+open_cli_schema_version: 1.0
+name: vnf-healthcheck
+description: runs a VNF health check and returns the result
+
+info:
+ product: onap-beijing
+ service: appc
+ author: ONAP CLI Team onap-discuss@lists.onap.org
+ state: experimental
+
+parameters:
+ - name: timestamp
+ description: The time of the request, in ISO 8601 format, ZULU offset
+ type: string
+ short_option: T
+ long_option: timestamp
+ is_optional: false
+ - name: api-ver
+ description: Identifies the API version
+ type: string
+ short_option: X
+ long_option: api-ver
+ is_optional: false
+ - name: originator-id
+ description: An identifier of the calling system limited to a length of 40 characters
+ type: string
+ short_option: O
+ long_option: originator-id
+ is_optional: false
+ - name: request-id
+ description: The UUID for the request ID, limited to a length of 40 characters
+ type: string
+ short_option: R
+ long_option: request-id
+ is_optional: false
+ - name: sub-request-id
+ description: Uniquely identifies a specific LCM or control action, limited to a length of 40 characters
+ type: string
+ short_option: W
+ long_option: sub-request-id
+ is_optional: true
+ - name: flags-mode
+ description: Generic flags-mode that apply to all LCM actions
+ type: string
+ short_option: F
+ is_optional: true
+ - name: flags-force
+ description: Generic flags-force that apply to all LCM actions
+ type: bool
+ short_option: G
+ is_optional: true
+ - name: flags-ttl
+ description: Generic flags-ttl that apply to all LCM actions
+ type: string
+ short_option: H
+ is_optional: true
+ - name: action
+ description: The action to be taken by APPC
+ type: string
+ short_option: A
+ long_option: action
+ is_optional: false
+ - name: service-instance-id
+ description: Identifies a specific service instance that the command refers to
+ type: string
+ short_option: S
+ long_option: service-instance-id
+ is_optional: true
+ - name: vnf-id
+ description: Identifies the VNF instance to which this action is to be applied
+ type: string
+ short_option: J
+ long_option: vnf-id
+ is_optional: true
+ is_optional: false
+ - name: vnfc-name
+ description: Identifies the VNFC name to which this action is to be applied
+ type: string
+ short_option: N
+ long_option: vnfc-name
+ is_optional: true
+ - name: vserver-id
+ description: Identifies a specific VM instance to which this action is to be applied
+ type: string
+ short_option: K
+ long_option: vserver-id
+ is_optional: true
+ - name: vf-module-id
+ description: Identifies a specific VF module to which this action is to be applied
+ type: string
+ short_option: M
+ long_option: vf-module-id
+ is_optional: true
+ - name: payload
+ description: An action-specific open-format field
+ type: string
+ short_option: P
+ long_option: payload
+ is_optional: true
+results:
+ direction: portrait
+ attributes:
+ - name: action
+ description: The action to be taken by APPC
+ scope: short
+ type: string
+ - name: api-ver
+ description: Identifies the API version
+ scope: short
+ type: string
+ - name: flags
+ description: Identifies the API version
+ scope: short
+ type: string
+ - name: timestamp
+ description: The time of the request, in ISO 8601 format, ZULU offset
+ scope: short
+ type: string
+ - name: status
+ description: The status describes the outcome of the command processing
+ scope: short
+ type: digit
+ - name: originator-id
+ description: An identifier of the calling system limited to a length of 40 characters
+ scope: short
+ type: string
+ - name: request-id
+ description: The UUID for the request ID, limited to a length of 40 characters
+ scope: short
+ type: string
+ - name: sub-request-id
+ description: Uniquely identifies a specific LCM or control action
+ scope: long
+ type: string
+ - name: payload
+ description: An open-format field
+ scope: long
+ type: string
+http:
+ service:
+ auth: basic
+ mode: direct
+ request:
+ uri: /restconf/operations/vnf-provider-lcm:health-check
+ method: POST
+ 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}"}}'
+ success_codes:
+ - 200
+ result_map:
+ action: $b{$.action}
+ api-ver: $b{$.api-ver}
+ flags: $b{$.flags}
+ originator-id: $b{$.originator-id}
+ request-id: $b{$.request-id}
+ sub-request-id: $b{$.sub-request-id}
+ payload: $b{$.payload}
+ status: $b{$.status}
+ timestamp: $b{$.timestamp}
+
+ sample_response:
+ 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}"}}' \ No newline at end of file
diff --git a/products/onap-beijing/features/appc/src/main/resources/open-cli-schema/appc-lock-schema.yaml b/products/onap-beijing/features/appc/src/main/resources/open-cli-schema/appc-lock-schema.yaml
new file mode 100644
index 00000000..c4ff2138
--- /dev/null
+++ b/products/onap-beijing/features/appc/src/main/resources/open-cli-schema/appc-lock-schema.yaml
@@ -0,0 +1,161 @@
+open_cli_schema_version: 1.0
+name: vnf-lock
+description: Use the Lock command to ensure exclusive access during a series of critical LCM commands
+
+info:
+ product: onap-beijing
+ service: appc
+ author: ONAP CLI Team onap-discuss@lists.onap.org
+ state: experimental
+
+parameters:
+ - name: timestamp
+ description: The time of the request, in ISO 8601 format, ZULU offset
+ type: string
+ short_option: T
+ long_option: timestamp
+ is_optional: false
+ - name: api-ver
+ description: Identifies the API version
+ type: string
+ short_option: X
+ long_option: api-ver
+ is_optional: false
+ - name: originator-id
+ description: An identifier of the calling system limited to a length of 40 characters
+ type: string
+ short_option: O
+ long_option: originator-id
+ is_optional: false
+ - name: request-id
+ description: The UUID for the request ID, limited to a length of 40 characters
+ type: string
+ short_option: R
+ long_option: request-id
+ is_optional: false
+ - name: sub-request-id
+ description: Uniquely identifies a specific LCM or control action, limited to a length of 40 characters
+ type: string
+ short_option: W
+ long_option: sub-request-id
+ is_optional: true
+ - name: flags-mode
+ description: Generic flags-mode that apply to all LCM actions
+ type: string
+ short_option: F
+ is_optional: true
+ - name: flags-force
+ description: Generic flags-force that apply to all LCM actions
+ type: bool
+ short_option: G
+ is_optional: true
+ - name: flags-ttl
+ description: Generic flags-ttl that apply to all LCM actions
+ type: string
+ short_option: H
+ is_optional: true
+ - name: action
+ description: The action to be taken by APPC
+ type: string
+ short_option: A
+ long_option: action
+ is_optional: false
+ - name: service-instance-id
+ description: Identifies a specific service instance that the command refers to
+ type: string
+ short_option: S
+ long_option: service-instance-id
+ is_optional: true
+ - name: vnf-id
+ description: Identifies the VNF instance to which this action is to be applied
+ type: string
+ short_option: J
+ long_option: vnf-id
+ is_optional: true
+ is_optional: false
+ - name: vnfc-name
+ description: Identifies the VNFC name to which this action is to be applied
+ type: string
+ short_option: N
+ long_option: vnfc-name
+ is_optional: true
+ - name: vserver-id
+ description: Identifies a specific VM instance to which this action is to be applied
+ type: string
+ short_option: K
+ long_option: vserver-id
+ is_optional: true
+ - name: vf-module-id
+ description: Identifies a specific VF module to which this action is to be applied
+ type: string
+ short_option: M
+ long_option: vf-module-id
+ is_optional: true
+ - name: payload
+ description: An action-specific open-format field
+ type: string
+ short_option: P
+ long_option: payload
+ is_optional: true
+results:
+ direction: portrait
+ attributes:
+ - name: action
+ description: The action to be taken by APPC
+ scope: short
+ type: string
+ - name: api-ver
+ description: Identifies the API version
+ scope: short
+ type: string
+ - name: flags
+ description: Identifies the API version
+ scope: short
+ type: string
+ - name: timestamp
+ description: The time of the request, in ISO 8601 format, ZULU offset
+ scope: short
+ type: string
+ - name: status
+ description: The status describes the outcome of the command processing
+ scope: short
+ type: digit
+ - name: originator-id
+ description: An identifier of the calling system limited to a length of 40 characters
+ scope: short
+ type: string
+ - name: request-id
+ description: The UUID for the request ID, limited to a length of 40 characters
+ scope: short
+ type: string
+ - name: sub-request-id
+ description: Uniquely identifies a specific LCM or control action
+ scope: long
+ type: string
+ - name: payload
+ description: An open-format field
+ scope: long
+ type: string
+http:
+ service:
+ auth: basic
+ mode: direct
+ request:
+ uri: /restconf/operations/vnf-provider-lcm:lock
+ method: POST
+ 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}"}}'
+ success_codes:
+ - 400
+ result_map:
+ action: $b{$.action}
+ api-ver: $b{$.api-ver}
+ flags: $b{$.flags}
+ originator-id: $b{$.originator-id}
+ request-id: $b{$.request-id}
+ sub-request-id: $b{$.sub-request-id}
+ payload: $b{$.payload}
+ status: $b{$.status}
+ timestamp: $b{$.timestamp}
+
+ sample_response:
+ 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}"}}' \ No newline at end of file
diff --git a/products/onap-beijing/features/appc/src/main/resources/open-cli-schema/appc-migrate-schema.yaml b/products/onap-beijing/features/appc/src/main/resources/open-cli-schema/appc-migrate-schema.yaml
new file mode 100644
index 00000000..ea550b20
--- /dev/null
+++ b/products/onap-beijing/features/appc/src/main/resources/open-cli-schema/appc-migrate-schema.yaml
@@ -0,0 +1,162 @@
+open_cli_schema_version: 1.0
+name: vnf-migrate
+description: Migrates a running target VM from its current host to another.
+
+info:
+ product: onap-beijing
+ service: appc
+ author: ONAP CLI Team onap-discuss@lists.onap.org
+ state: experimental
+
+parameters:
+ - name: timestamp
+ description: The time of the request, in ISO 8601 format, ZULU offset
+ type: string
+ short_option: T
+ long_option: timestamp
+ is_optional: false
+ - name: api-ver
+ description: Identifies the API version
+ type: string
+ short_option: X
+ long_option: api-ver
+ is_optional: false
+ - name: originator-id
+ description: An identifier of the calling system limited to a length of 40 characters
+ type: string
+ short_option: O
+ long_option: originator-id
+ is_optional: false
+ - name: request-id
+ description: The UUID for the request ID, limited to a length of 40 characters
+ type: string
+ short_option: R
+ long_option: request-id
+ is_optional: false
+ - name: sub-request-id
+ description: Uniquely identifies a specific LCM or control action, limited to a length of 40 characters
+ type: string
+ short_option: W
+ long_option: sub-request-id
+ is_optional: true
+ - name: flags-mode
+ description: Generic flags-mode that apply to all LCM actions
+ type: string
+ short_option: F
+ is_optional: true
+ - name: flags-force
+ description: Generic flags-force that apply to all LCM actions
+ type: bool
+ short_option: G
+ is_optional: true
+ - name: flags-ttl
+ description: Generic flags-ttl that apply to all LCM actions
+ type: string
+ short_option: H
+ is_optional: true
+ - name: action
+ description: The action to be taken by APPC
+ type: string
+ short_option: A
+ long_option: action
+ is_optional: false
+ - name: service-instance-id
+ description: Identifies a specific service instance that the command refers to
+ type: string
+ short_option: S
+ long_option: service-instance-id
+ is_optional: true
+ - name: vnf-id
+ description: Identifies the VNF instance to which this action is to be applied
+ type: string
+ short_option: J
+ long_option: vnf-id
+ is_optional: true
+ is_optional: false
+ - name: vnfc-name
+ description: Identifies the VNFC name to which this action is to be applied
+ type: string
+ short_option: N
+ long_option: vnfc-name
+ is_optional: true
+ - name: vserver-id
+ description: Identifies a specific VM instance to which this action is to be applied
+ type: string
+ short_option: K
+ long_option: vserver-id
+ is_optional: true
+ - name: vf-module-id
+ description: Identifies a specific VF module to which this action is to be applied
+ type: string
+ short_option: M
+ long_option: vf-module-id
+ is_optional: true
+ - name: payload
+ description: An action-specific open-format field
+ type: string
+ short_option: P
+ long_option: payload
+ is_optional: true
+results:
+ direction: portrait
+ attributes:
+ - name: action
+ description: The action to be taken by APPC
+ scope: short
+ type: string
+ - name: api-ver
+ description: Identifies the API version
+ scope: short
+ type: string
+ - name: flags
+ description: Identifies the API version
+ scope: short
+ type: string
+ - name: timestamp
+ description: The time of the request, in ISO 8601 format, ZULU offset
+ scope: short
+ type: string
+ - name: status
+ description: The status describes the outcome of the command processing
+ scope: short
+ type: digit
+ - name: originator-id
+ description: An identifier of the calling system limited to a length of 40 characters
+ scope: short
+ type: string
+ - name: request-id
+ description: The UUID for the request ID, limited to a length of 40 characters
+ scope: short
+ type: string
+ - name: sub-request-id
+ description: Uniquely identifies a specific LCM or control action
+ scope: long
+ type: string
+ - name: payload
+ description: An open-format field
+ scope: long
+ type: string
+http:
+ service:
+ auth: basic
+ mode: direct
+ request:
+ uri: /restconf/operations/vnf-provider-lcm:migrate
+ method: POST
+ 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}"}}'
+ success_codes:
+ - 100
+ - 400
+ result_map:
+ action: $b{$.action}
+ api-ver: $b{$.api-ver}
+ flags: $b{$.flags}
+ originator-id: $b{$.originator-id}
+ request-id: $b{$.request-id}
+ sub-request-id: $b{$.sub-request-id}
+ payload: $b{$.payload}
+ status: $b{$.status}
+ timestamp: $b{$.timestamp}
+
+ sample_response:
+ 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}"}}' \ No newline at end of file
diff --git a/products/onap-beijing/features/appc/src/main/resources/open-cli-schema/appc-quiescetraffic-schema.yaml b/products/onap-beijing/features/appc/src/main/resources/open-cli-schema/appc-quiescetraffic-schema.yaml
new file mode 100644
index 00000000..c658ffe4
--- /dev/null
+++ b/products/onap-beijing/features/appc/src/main/resources/open-cli-schema/appc-quiescetraffic-schema.yaml
@@ -0,0 +1,161 @@
+open_cli_schema_version: 1.0
+name: vnf-quiescetraffic
+description: The QuiesceTraffic LCM action gracefully stops the traffic on the VNF. All application processes are assumed to be running but no traffic is being processed.
+
+info:
+ product: onap-beijing
+ service: appc
+ author: ONAP CLI Team onap-discuss@lists.onap.org
+ state: experimental
+
+parameters:
+ - name: timestamp
+ description: The time of the request, in ISO 8601 format, ZULU offset
+ type: string
+ short_option: T
+ long_option: timestamp
+ is_optional: false
+ - name: api-ver
+ description: Identifies the API version
+ type: string
+ short_option: X
+ long_option: api-ver
+ is_optional: false
+ - name: originator-id
+ description: An identifier of the calling system limited to a length of 40 characters
+ type: string
+ short_option: O
+ long_option: originator-id
+ is_optional: false
+ - name: request-id
+ description: The UUID for the request ID, limited to a length of 40 characters
+ type: string
+ short_option: R
+ long_option: request-id
+ is_optional: false
+ - name: sub-request-id
+ description: Uniquely identifies a specific LCM or control action, limited to a length of 40 characters
+ type: string
+ short_option: W
+ long_option: sub-request-id
+ is_optional: true
+ - name: flags-mode
+ description: Generic flags-mode that apply to all LCM actions
+ type: string
+ short_option: F
+ is_optional: true
+ - name: flags-force
+ description: Generic flags-force that apply to all LCM actions
+ type: bool
+ short_option: G
+ is_optional: true
+ - name: flags-ttl
+ description: Generic flags-ttl that apply to all LCM actions
+ type: string
+ short_option: H
+ is_optional: true
+ - name: action
+ description: The action to be taken by APPC
+ type: string
+ short_option: A
+ long_option: action
+ is_optional: false
+ - name: service-instance-id
+ description: Identifies a specific service instance that the command refers to
+ type: string
+ short_option: S
+ long_option: service-instance-id
+ is_optional: true
+ - name: vnf-id
+ description: Identifies the VNF instance to which this action is to be applied
+ type: string
+ short_option: J
+ long_option: vnf-id
+ is_optional: true
+ is_optional: false
+ - name: vnfc-name
+ description: Identifies the VNFC name to which this action is to be applied
+ type: string
+ short_option: N
+ long_option: vnfc-name
+ is_optional: true
+ - name: vserver-id
+ description: Identifies a specific VM instance to which this action is to be applied
+ type: string
+ short_option: K
+ long_option: vserver-id
+ is_optional: true
+ - name: vf-module-id
+ description: Identifies a specific VF module to which this action is to be applied
+ type: string
+ short_option: M
+ long_option: vf-module-id
+ is_optional: true
+ - name: payload
+ description: An action-specific open-format field
+ type: string
+ short_option: P
+ long_option: payload
+ is_optional: true
+results:
+ direction: portrait
+ attributes:
+ - name: action
+ description: The action to be taken by APPC
+ scope: short
+ type: string
+ - name: api-ver
+ description: Identifies the API version
+ scope: short
+ type: string
+ - name: flags
+ description: Identifies the API version
+ scope: short
+ type: string
+ - name: timestamp
+ description: The time of the request, in ISO 8601 format, ZULU offset
+ scope: short
+ type: string
+ - name: status
+ description: The status describes the outcome of the command processing
+ scope: short
+ type: digit
+ - name: originator-id
+ description: An identifier of the calling system limited to a length of 40 characters
+ scope: short
+ type: string
+ - name: request-id
+ description: The UUID for the request ID, limited to a length of 40 characters
+ scope: short
+ type: string
+ - name: sub-request-id
+ description: Uniquely identifies a specific LCM or control action
+ scope: long
+ type: string
+ - name: payload
+ description: An open-format field
+ scope: long
+ type: string
+http:
+ service:
+ auth: basic
+ mode: direct
+ request:
+ uri: /restconf/operations/vnf-provider-lcm:quiesce-traffic
+ method: POST
+ 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}"}}'
+ success_codes:
+ - 400
+ result_map:
+ action: $b{$.action}
+ api-ver: $b{$.api-ver}
+ flags: $b{$.flags}
+ originator-id: $b{$.originator-id}
+ request-id: $b{$.request-id}
+ sub-request-id: $b{$.sub-request-id}
+ payload: $b{$.payload}
+ status: $b{$.status}
+ timestamp: $b{$.timestamp}
+
+ sample_response:
+ 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}"}}' \ No newline at end of file
diff --git a/products/onap-beijing/features/appc/src/main/resources/open-cli-schema/appc-rebuild-schema.yaml b/products/onap-beijing/features/appc/src/main/resources/open-cli-schema/appc-rebuild-schema.yaml
new file mode 100644
index 00000000..dc03207b
--- /dev/null
+++ b/products/onap-beijing/features/appc/src/main/resources/open-cli-schema/appc-rebuild-schema.yaml
@@ -0,0 +1,162 @@
+open_cli_schema_version: 1.0
+name: vnf-rebuild
+description: Rebuild VNF
+
+info:
+ product: onap-beijing
+ service: appc
+ author: ONAP CLI Team onap-discuss@lists.onap.org
+ state: experimental
+
+parameters:
+ - name: timestamp
+ description: The time of the request, in ISO 8601 format, ZULU offset
+ type: string
+ short_option: T
+ long_option: timestamp
+ is_optional: false
+ - name: api-ver
+ description: Identifies the API version
+ type: string
+ short_option: X
+ long_option: api-ver
+ is_optional: false
+ - name: originator-id
+ description: An identifier of the calling system limited to a length of 40 characters
+ type: string
+ short_option: O
+ long_option: originator-id
+ is_optional: false
+ - name: request-id
+ description: The UUID for the request ID, limited to a length of 40 characters
+ type: string
+ short_option: R
+ long_option: request-id
+ is_optional: false
+ - name: sub-request-id
+ description: Uniquely identifies a specific LCM or control action, limited to a length of 40 characters
+ type: string
+ short_option: W
+ long_option: sub-request-id
+ is_optional: true
+ - name: flags-mode
+ description: Generic flags-mode that apply to all LCM actions
+ type: string
+ short_option: F
+ is_optional: true
+ - name: flags-force
+ description: Generic flags-force that apply to all LCM actions
+ type: bool
+ short_option: G
+ is_optional: true
+ - name: flags-ttl
+ description: Generic flags-ttl that apply to all LCM actions
+ type: string
+ short_option: H
+ is_optional: true
+ - name: action
+ description: The action to be taken by APPC
+ type: string
+ short_option: A
+ long_option: action
+ is_optional: false
+ - name: service-instance-id
+ description: Identifies a specific service instance that the command refers to
+ type: string
+ short_option: S
+ long_option: service-instance-id
+ is_optional: true
+ - name: vnf-id
+ description: Identifies the VNF instance to which this action is to be applied
+ type: string
+ short_option: J
+ long_option: vnf-id
+ is_optional: true
+ is_optional: false
+ - name: vnfc-name
+ description: Identifies the VNFC name to which this action is to be applied
+ type: string
+ short_option: N
+ long_option: vnfc-name
+ is_optional: true
+ - name: vserver-id
+ description: Identifies a specific VM instance to which this action is to be applied
+ type: string
+ short_option: K
+ long_option: vserver-id
+ is_optional: true
+ - name: vf-module-id
+ description: Identifies a specific VF module to which this action is to be applied
+ type: string
+ short_option: M
+ long_option: vf-module-id
+ is_optional: true
+ - name: payload
+ description: An action-specific open-format field
+ type: string
+ short_option: P
+ long_option: payload
+ is_optional: true
+results:
+ direction: portrait
+ attributes:
+ - name: action
+ description: The action to be taken by APPC
+ scope: short
+ type: string
+ - name: api-ver
+ description: Identifies the API version
+ scope: short
+ type: string
+ - name: flags
+ description: Identifies the API version
+ scope: short
+ type: string
+ - name: timestamp
+ description: The time of the request, in ISO 8601 format, ZULU offset
+ scope: short
+ type: string
+ - name: status
+ description: The status describes the outcome of the command processing
+ scope: short
+ type: digit
+ - name: originator-id
+ description: An identifier of the calling system limited to a length of 40 characters
+ scope: short
+ type: string
+ - name: request-id
+ description: The UUID for the request ID, limited to a length of 40 characters
+ scope: short
+ type: string
+ - name: sub-request-id
+ description: Uniquely identifies a specific LCM or control action
+ scope: long
+ type: string
+ - name: payload
+ description: An open-format field
+ scope: long
+ type: string
+http:
+ service:
+ auth: basic
+ mode: direct
+ request:
+ uri: /restconf/operations/vnf-provider-lcm:rebuild
+ method: POST
+ 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}"}}'
+ success_codes:
+ - 100
+ - 400
+ result_map:
+ action: $b{$.action}
+ api-ver: $b{$.api-ver}
+ flags: $b{$.flags}
+ originator-id: $b{$.originator-id}
+ request-id: $b{$.request-id}
+ sub-request-id: $b{$.sub-request-id}
+ payload: $b{$.payload}
+ status: $b{$.status}
+ timestamp: $b{$.timestamp}
+
+ sample_response:
+ 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}"}}' \ No newline at end of file
diff --git a/products/onap-beijing/features/appc/src/main/resources/open-cli-schema/appc-restart-schema.yaml b/products/onap-beijing/features/appc/src/main/resources/open-cli-schema/appc-restart-schema.yaml
new file mode 100644
index 00000000..2ac95414
--- /dev/null
+++ b/products/onap-beijing/features/appc/src/main/resources/open-cli-schema/appc-restart-schema.yaml
@@ -0,0 +1,163 @@
+open_cli_schema_version: 1.0
+name: vnf-restart
+description: Restart VNF
+
+info:
+ product: onap-beijing
+ service: appc
+ author: ONAP CLI Team onap-discuss@lists.onap.org
+ state: experimental
+
+parameters:
+ - name: timestamp
+ description: The time of the request, in ISO 8601 format, ZULU offset
+ type: string
+ short_option: T
+ long_option: timestamp
+ is_optional: false
+ - name: api-ver
+ description: Identifies the API version
+ type: string
+ short_option: X
+ long_option: api-ver
+ is_optional: false
+ - name: originator-id
+ description: An identifier of the calling system limited to a length of 40 characters
+ type: string
+ short_option: O
+ long_option: originator-id
+ is_optional: false
+ - name: request-id
+ description: The UUID for the request ID, limited to a length of 40 characters
+ type: string
+ short_option: R
+ long_option: request-id
+ is_optional: false
+ - name: sub-request-id
+ description: Uniquely identifies a specific LCM or control action, limited to a length of 40 characters
+ type: string
+ short_option: W
+ long_option: sub-request-id
+ is_optional: true
+ - name: flags-mode
+ description: Generic flags-mode that apply to all LCM actions
+ type: string
+ short_option: F
+ is_optional: true
+ - name: flags-force
+ description: Generic flags-force that apply to all LCM actions
+ type: bool
+ short_option: G
+ is_optional: true
+ - name: flags-ttl
+ description: Generic flags-ttl that apply to all LCM actions
+ type: string
+ short_option: H
+ is_optional: true
+ - name: action
+ description: The action to be taken by APPC
+ type: string
+ short_option: A
+ long_option: action
+ is_optional: false
+ - name: service-instance-id
+ description: Identifies a specific service instance that the command refers to
+ type: string
+ short_option: S
+ long_option: service-instance-id
+ is_optional: true
+ - name: vnf-id
+ description: Identifies the VNF instance to which this action is to be applied
+ type: string
+ short_option: J
+ long_option: vnf-id
+ is_optional: true
+ is_optional: false
+ - name: vnfc-name
+ description: Identifies the VNFC name to which this action is to be applied
+ type: string
+ short_option: N
+ long_option: vnfc-name
+ is_optional: true
+ - name: vserver-id
+ description: Identifies a specific VM instance to which this action is to be applied
+ type: string
+ short_option: K
+ long_option: vserver-id
+ is_optional: true
+ - name: vf-module-id
+ description: Identifies a specific VF module to which this action is to be applied
+ type: string
+ short_option: M
+ long_option: vf-module-id
+ is_optional: true
+ - name: payload
+ description: An action-specific open-format field
+ type: string
+ short_option: P
+ long_option: payload
+ is_optional: true
+results:
+ direction: portrait
+ attributes:
+ - name: action
+ description: The action to be taken by APPC
+ scope: short
+ type: string
+ - name: api-ver
+ description: Identifies the API version
+ scope: short
+ type: string
+ - name: flags
+ description: Identifies the API version
+ scope: short
+ type: string
+ - name: timestamp
+ description: The time of the request, in ISO 8601 format, ZULU offset
+ scope: short
+ type: string
+ - name: status
+ description: The status describes the outcome of the command processing
+ scope: short
+ type: digit
+ - name: originator-id
+ description: An identifier of the calling system limited to a length of 40 characters
+ scope: short
+ type: string
+ - name: request-id
+ description: The UUID for the request ID, limited to a length of 40 characters
+ scope: short
+ type: string
+ - name: sub-request-id
+ description: Uniquely identifies a specific LCM or control action
+ scope: long
+ type: string
+ - name: payload
+ description: An open-format field
+ scope: long
+ type: string
+http:
+ service:
+ auth: basic
+ mode: direct
+ request:
+ uri: /restconf/operations/vnf-provider-lcm:restart
+ method: POST
+ 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}"}}'
+ success_codes:
+ - 100
+ - 400
+ result_map:
+ action: $b{$.action}
+ api-ver: $b{$.api-ver}
+ flags: $b{$.flags}
+ originator-id: $b{$.originator-id}
+ request-id: $b{$.request-id}
+ sub-request-id: $b{$.sub-request-id}
+ payload: $b{$.payload}
+ status: $b{$.status}
+ timestamp: $b{$.timestamp}
+
+
+ sample_response:
+ 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}"}}' \ No newline at end of file
diff --git a/products/onap-beijing/features/appc/src/main/resources/open-cli-schema/appc-resumetraffic-schema.yaml b/products/onap-beijing/features/appc/src/main/resources/open-cli-schema/appc-resumetraffic-schema.yaml
new file mode 100644
index 00000000..158821d6
--- /dev/null
+++ b/products/onap-beijing/features/appc/src/main/resources/open-cli-schema/appc-resumetraffic-schema.yaml
@@ -0,0 +1,161 @@
+open_cli_schema_version: 1.0
+name: vnf-resumetraffic
+description: The ResumeTraffic LCM action resumes processing traffic on a VNF that has been previously quiesced.
+
+info:
+ product: onap-beijing
+ service: appc
+ author: ONAP CLI Team onap-discuss@lists.onap.org
+ state: experimental
+
+parameters:
+ - name: timestamp
+ description: The time of the request, in ISO 8601 format, ZULU offset
+ type: string
+ short_option: T
+ long_option: timestamp
+ is_optional: false
+ - name: api-ver
+ description: Identifies the API version
+ type: string
+ short_option: X
+ long_option: api-ver
+ is_optional: false
+ - name: originator-id
+ description: An identifier of the calling system limited to a length of 40 characters
+ type: string
+ short_option: O
+ long_option: originator-id
+ is_optional: false
+ - name: request-id
+ description: The UUID for the request ID, limited to a length of 40 characters
+ type: string
+ short_option: R
+ long_option: request-id
+ is_optional: false
+ - name: sub-request-id
+ description: Uniquely identifies a specific LCM or control action, limited to a length of 40 characters
+ type: string
+ short_option: W
+ long_option: sub-request-id
+ is_optional: true
+ - name: flags-mode
+ description: Generic flags-mode that apply to all LCM actions
+ type: string
+ short_option: F
+ is_optional: true
+ - name: flags-force
+ description: Generic flags-force that apply to all LCM actions
+ type: bool
+ short_option: G
+ is_optional: true
+ - name: flags-ttl
+ description: Generic flags-ttl that apply to all LCM actions
+ type: string
+ short_option: H
+ is_optional: true
+ - name: action
+ description: The action to be taken by APPC
+ type: string
+ short_option: A
+ long_option: action
+ is_optional: false
+ - name: service-instance-id
+ description: Identifies a specific service instance that the command refers to
+ type: string
+ short_option: S
+ long_option: service-instance-id
+ is_optional: true
+ - name: vnf-id
+ description: Identifies the VNF instance to which this action is to be applied
+ type: string
+ short_option: J
+ long_option: vnf-id
+ is_optional: true
+ is_optional: false
+ - name: vnfc-name
+ description: Identifies the VNFC name to which this action is to be applied
+ type: string
+ short_option: N
+ long_option: vnfc-name
+ is_optional: true
+ - name: vserver-id
+ description: Identifies a specific VM instance to which this action is to be applied
+ type: string
+ short_option: K
+ long_option: vserver-id
+ is_optional: true
+ - name: vf-module-id
+ description: Identifies a specific VF module to which this action is to be applied
+ type: string
+ short_option: M
+ long_option: vf-module-id
+ is_optional: true
+ - name: payload
+ description: An action-specific open-format field
+ type: string
+ short_option: P
+ long_option: payload
+ is_optional: true
+results:
+ direction: portrait
+ attributes:
+ - name: action
+ description: The action to be taken by APPC
+ scope: short
+ type: string
+ - name: api-ver
+ description: Identifies the API version
+ scope: short
+ type: string
+ - name: flags
+ description: Identifies the API version
+ scope: short
+ type: string
+ - name: timestamp
+ description: The time of the request, in ISO 8601 format, ZULU offset
+ scope: short
+ type: string
+ - name: status
+ description: The status describes the outcome of the command processing
+ scope: short
+ type: digit
+ - name: originator-id
+ description: An identifier of the calling system limited to a length of 40 characters
+ scope: short
+ type: string
+ - name: request-id
+ description: The UUID for the request ID, limited to a length of 40 characters
+ scope: short
+ type: string
+ - name: sub-request-id
+ description: Uniquely identifies a specific LCM or control action
+ scope: long
+ type: string
+ - name: payload
+ description: An open-format field
+ scope: long
+ type: string
+http:
+ service:
+ auth: basic
+ mode: direct
+ request:
+ uri: /restconf/operations/vnf-provider-lcm:resume-traffic
+ method: POST
+ 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}"}}'
+ success_codes:
+ - 400
+ result_map:
+ action: $b{$.action}
+ api-ver: $b{$.api-ver}
+ flags: $b{$.flags}
+ originator-id: $b{$.originator-id}
+ request-id: $b{$.request-id}
+ sub-request-id: $b{$.sub-request-id}
+ payload: $b{$.payload}
+ status: $b{$.status}
+ timestamp: $b{$.timestamp}
+
+ sample_response:
+ 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}"}}' \ No newline at end of file
diff --git a/products/onap-beijing/features/appc/src/main/resources/open-cli-schema/appc-snapshot-schema.yaml b/products/onap-beijing/features/appc/src/main/resources/open-cli-schema/appc-snapshot-schema.yaml
new file mode 100644
index 00000000..6e4367e2
--- /dev/null
+++ b/products/onap-beijing/features/appc/src/main/resources/open-cli-schema/appc-snapshot-schema.yaml
@@ -0,0 +1,160 @@
+open_cli_schema_version: 1.0
+name: vnf-snapshot
+description: reates a snapshot of a VM
+
+info:
+ product: onap-beijing
+ service: appc
+ author: ONAP CLI Team onap-discuss@lists.onap.org
+ state: experimental
+
+parameters:
+ - name: timestamp
+ description: The time of the request, in ISO 8601 format, ZULU offset
+ type: string
+ short_option: t
+ long_option: timestamp
+ is_optional: false
+ - name: api-ver
+ description: Identifies the API version
+ type: string
+ short_option: v
+ long_option: api-ver
+ is_optional: false
+ - name: originator-id
+ description: An identifier of the calling system limited to a length of 40 characters
+ type: string
+ short_option: o
+ long_option: originator-id
+ is_optional: false
+ - name: request-id
+ description: The UUID for the request ID, limited to a length of 40 characters
+ type: string
+ short_option: r
+ long_option: request-id
+ is_optional: false
+ - name: sub-request-id
+ description: Uniquely identifies a specific LCM or control action, limited to a length of 40 characters
+ type: string
+ short_option: s
+ long_option: sub-request-id
+ is_optional: true
+ - name: flags-mode
+ description: Generic flags that apply to all LCM actions
+ type: string
+ short_option: r
+ long_option: flags-mode
+ is_optional: true
+ - name: flags-force
+ description: Generic flags that apply to all LCM actions
+ type: bool
+ short_option: f
+ long_option: flags-force
+ is_optional: true
+ - name: flags-ttl
+ description: Generic flags that apply to all LCM actions
+ type: digit
+ short_option: l
+ long_option: flags-ttl
+ is_optional: true
+ - name: action
+ description: The action to be taken by APPC
+ type: string
+ short_option: a
+ long_option: action
+ is_optional: false
+ - name: service-instance-id
+ description: Identifies a specific service instance that the command refers to
+ type: string
+ short_option: i
+ long_option: service-instance-id
+ is_optional: true
+ - name: vnf-id
+ description: Identifies the VNF instance to which this action is to be applied
+ type: string
+ short_option: j
+ long_option: vnf-id
+ is_optional: true
+ is_optional: false
+ - name: vnfc-name
+ description: Identifies the VNFC name to which this action is to be applied
+ type: string
+ short_option: n
+ long_option: vnfc-name
+ is_optional: true
+ - name: vserver-id
+ description: Identifies a specific VM instance to which this action is to be applied
+ type: string
+ short_option: k
+ long_option: vserver-id
+ is_optional: true
+ - name: vf-module-id
+ description: Identifies a specific VF module to which this action is to be applied
+ type: string
+ short_option: q
+ long_option: vf-module-id
+ is_optional: true
+ - name: payload
+ description: An action-specific open-format field
+ type: string
+ short_option: p
+ long_option: payload
+ is_optional: true
+results:
+ direction: portrait
+ attributes:
+ - name: action
+ description: The action to be taken by APPC
+ scope: short
+ type: string
+ - name: api-ver
+ description: Identifies the API version
+ scope: short
+ type: string
+ - name: timpestamp
+ description: The time of the request, in ISO 8601 format, ZULU offset
+ scope: short
+ type: timpestamp
+ - name: status
+ description: The status describes the outcome of the command processing
+ scope: short
+ type: digit
+ - name: originator-id
+ description: An identifier of the calling system limited to a length of 40 characters
+ scope: short
+ type: string
+ - name: request-id
+ description: The UUID for the request ID, limited to a length of 40 characters
+ scope: short
+ type: string
+ - name: sub-request-id
+ description: Uniquely identifies a specific LCM or control action
+ scope: long
+ type: string
+ - name: payload
+ description: An open-format field
+ scope: long
+ type: string
+http:
+ service:
+ auth: basic
+ mode: direct
+ request:
+ uri: /restconf/operations/vnf-provider-lcm:snapshot
+ method: POST
+ body: '{"input": {"common-header":{"timestamp": "${timestamp}","api-ver": "${api-version}","originator-id": "${orininator-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}"}'
+ success_codes:
+ - 100
+ - 400
+ result_map:
+ action: $b{$.action}
+ api-ver: $b{$.api-ver}
+ flags: $b{$.flags}
+ originator-id: $b{$.originator-id}
+ request-id: $b{$.request-id}
+ sub-request-id: $b{$.sub-request-id}
+ payload: $b{$.payload}
+ status: $b{$.status}
+
+ sample_response:
+ 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}"}}'
diff --git a/products/onap-beijing/features/appc/src/main/resources/open-cli-schema/appc-start-schema.yaml b/products/onap-beijing/features/appc/src/main/resources/open-cli-schema/appc-start-schema.yaml
new file mode 100644
index 00000000..e2b6511f
--- /dev/null
+++ b/products/onap-beijing/features/appc/src/main/resources/open-cli-schema/appc-start-schema.yaml
@@ -0,0 +1,161 @@
+open_cli_schema_version: 1.0
+name: vnf-start
+description: Start VNF
+
+info:
+ product: onap-beijing
+ service: appc
+ author: ONAP CLI Team onap-discuss@lists.onap.org
+ state: experimental
+
+parameters:
+ - name: timestamp
+ description: The time of the request, in ISO 8601 format, ZULU offset
+ type: string
+ short_option: T
+ long_option: timestamp
+ is_optional: false
+ - name: api-ver
+ description: Identifies the API version
+ type: string
+ short_option: X
+ long_option: api-ver
+ is_optional: false
+ - name: originator-id
+ description: An identifier of the calling system limited to a length of 40 characters
+ type: string
+ short_option: O
+ long_option: originator-id
+ is_optional: false
+ - name: request-id
+ description: The UUID for the request ID, limited to a length of 40 characters
+ type: string
+ short_option: R
+ long_option: request-id
+ is_optional: false
+ - name: sub-request-id
+ description: Uniquely identifies a specific LCM or control action, limited to a length of 40 characters
+ type: string
+ short_option: W
+ long_option: sub-request-id
+ is_optional: true
+ - name: flags-mode
+ description: Generic flags-mode that apply to all LCM actions
+ type: string
+ short_option: F
+ is_optional: true
+ - name: flags-force
+ description: Generic flags-force that apply to all LCM actions
+ type: bool
+ short_option: G
+ is_optional: true
+ - name: flags-ttl
+ description: Generic flags-ttl that apply to all LCM actions
+ type: string
+ short_option: H
+ is_optional: true
+ - name: action
+ description: The action to be taken by APPC
+ type: string
+ short_option: A
+ long_option: action
+ is_optional: false
+ - name: service-instance-id
+ description: Identifies a specific service instance that the command refers to
+ type: string
+ short_option: S
+ long_option: service-instance-id
+ is_optional: true
+ - name: vnf-id
+ description: Identifies the VNF instance to which this action is to be applied
+ type: string
+ short_option: J
+ long_option: vnf-id
+ is_optional: true
+ is_optional: false
+ - name: vnfc-name
+ description: Identifies the VNFC name to which this action is to be applied
+ type: string
+ short_option: N
+ long_option: vnfc-name
+ is_optional: true
+ - name: vserver-id
+ description: Identifies a specific VM instance to which this action is to be applied
+ type: string
+ short_option: K
+ long_option: vserver-id
+ is_optional: true
+ - name: vf-module-id
+ description: Identifies a specific VF module to which this action is to be applied
+ type: string
+ short_option: M
+ long_option: vf-module-id
+ is_optional: true
+ - name: payload
+ description: An action-specific open-format field
+ type: string
+ short_option: P
+ long_option: payload
+ is_optional: true
+results:
+ direction: portrait
+ attributes:
+ - name: action
+ description: The action to be taken by APPC
+ scope: short
+ type: string
+ - name: api-ver
+ description: Identifies the API version
+ scope: short
+ type: string
+ - name: flags
+ description: Identifies the API version
+ scope: short
+ type: string
+ - name: timestamp
+ description: The time of the request, in ISO 8601 format, ZULU offset
+ scope: short
+ type: string
+ - name: status
+ description: The status describes the outcome of the command processing
+ scope: short
+ type: digit
+ - name: originator-id
+ description: An identifier of the calling system limited to a length of 40 characters
+ scope: short
+ type: string
+ - name: request-id
+ description: The UUID for the request ID, limited to a length of 40 characters
+ scope: short
+ type: string
+ - name: sub-request-id
+ description: Uniquely identifies a specific LCM or control action
+ scope: long
+ type: string
+ - name: payload
+ description: An open-format field
+ scope: long
+ type: string
+http:
+ service:
+ auth: basic
+ mode: direct
+ request:
+ uri: /restconf/operations/vnf-provider-lcm:start
+ method: POST
+ 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}"}}'
+ success_codes:
+ - 100
+ result_map:
+ action: $b{$.action}
+ api-ver: $b{$.api-ver}
+ flags: $b{$.flags}
+ originator-id: $b{$.originator-id}
+ request-id: $b{$.request-id}
+ sub-request-id: $b{$.sub-request-id}
+ payload: $b{$.payload}
+ status: $b{$.status}
+ timestamp: $b{$.timestamp}
+
+ sample_response:
+ 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}"}}' \ No newline at end of file
diff --git a/products/onap-beijing/features/appc/src/main/resources/open-cli-schema/appc-startapplication-schema.yaml b/products/onap-beijing/features/appc/src/main/resources/open-cli-schema/appc-startapplication-schema.yaml
new file mode 100644
index 00000000..447a2529
--- /dev/null
+++ b/products/onap-beijing/features/appc/src/main/resources/open-cli-schema/appc-startapplication-schema.yaml
@@ -0,0 +1,162 @@
+open_cli_schema_version: 1.0
+name: vnf-startapplication
+description: Starts the VNF application, if needed, after a VM is instantiated/configured or after VM start or restart. Supported using Chef cookbook or Ansible playbook only
+
+info:
+ product: onap-beijing
+ service: appc
+ author: ONAP CLI Team onap-discuss@lists.onap.org
+ state: experimental
+
+parameters:
+ - name: timestamp
+ description: The time of the request, in ISO 8601 format, ZULU offset
+ type: string
+ short_option: T
+ long_option: timestamp
+ is_optional: false
+ - name: api-ver
+ description: Identifies the API version
+ type: string
+ short_option: X
+ long_option: api-ver
+ is_optional: false
+ - name: originator-id
+ description: An identifier of the calling system limited to a length of 40 characters
+ type: string
+ short_option: O
+ long_option: originator-id
+ is_optional: false
+ - name: request-id
+ description: The UUID for the request ID, limited to a length of 40 characters
+ type: string
+ short_option: R
+ long_option: request-id
+ is_optional: false
+ - name: sub-request-id
+ description: Uniquely identifies a specific LCM or control action, limited to a length of 40 characters
+ type: string
+ short_option: W
+ long_option: sub-request-id
+ is_optional: true
+ - name: flags-mode
+ description: Generic flags-mode that apply to all LCM actions
+ type: string
+ short_option: F
+ is_optional: true
+ - name: flags-force
+ description: Generic flags-force that apply to all LCM actions
+ type: bool
+ short_option: G
+ is_optional: true
+ - name: flags-ttl
+ description: Generic flags-ttl that apply to all LCM actions
+ type: string
+ short_option: H
+ is_optional: true
+ - name: action
+ description: The action to be taken by APPC
+ type: string
+ short_option: A
+ long_option: action
+ is_optional: false
+ - name: service-instance-id
+ description: Identifies a specific service instance that the command refers to
+ type: string
+ short_option: S
+ long_option: service-instance-id
+ is_optional: true
+ - name: vnf-id
+ description: Identifies the VNF instance to which this action is to be applied
+ type: string
+ short_option: J
+ long_option: vnf-id
+ is_optional: true
+ is_optional: false
+ - name: vnfc-name
+ description: Identifies the VNFC name to which this action is to be applied
+ type: string
+ short_option: N
+ long_option: vnfc-name
+ is_optional: true
+ - name: vserver-id
+ description: Identifies a specific VM instance to which this action is to be applied
+ type: string
+ short_option: K
+ long_option: vserver-id
+ is_optional: true
+ - name: vf-module-id
+ description: Identifies a specific VF module to which this action is to be applied
+ type: string
+ short_option: M
+ long_option: vf-module-id
+ is_optional: true
+ - name: payload
+ description: An action-specific open-format field
+ type: string
+ short_option: P
+ long_option: payload
+ is_optional: true
+results:
+ direction: portrait
+ attributes:
+ - name: action
+ description: The action to be taken by APPC
+ scope: short
+ type: string
+ - name: api-ver
+ description: Identifies the API version
+ scope: short
+ type: string
+ - name: flags
+ description: Identifies the API version
+ scope: short
+ type: string
+ - name: timestamp
+ description: The time of the request, in ISO 8601 format, ZULU offset
+ scope: short
+ type: string
+ - name: status
+ description: The status describes the outcome of the command processing
+ scope: short
+ type: digit
+ - name: originator-id
+ description: An identifier of the calling system limited to a length of 40 characters
+ scope: short
+ type: string
+ - name: request-id
+ description: The UUID for the request ID, limited to a length of 40 characters
+ scope: short
+ type: string
+ - name: sub-request-id
+ description: Uniquely identifies a specific LCM or control action
+ scope: long
+ type: string
+ - name: payload
+ description: An open-format field
+ scope: long
+ type: string
+http:
+ service:
+ auth: basic
+ mode: direct
+ request:
+ uri: /restconf/operations/vnf-provider-lcm:startapplication
+ method: POST
+ 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}"}}'
+ success_codes:
+ - 100
+ - 400
+ result_map:
+ action: $b{$.action}
+ api-ver: $b{$.api-ver}
+ flags: $b{$.flags}
+ originator-id: $b{$.originator-id}
+ request-id: $b{$.request-id}
+ sub-request-id: $b{$.sub-request-id}
+ payload: $b{$.payload}
+ status: $b{$.status}
+ timestamp: $b{$.timestamp}
+
+ sample_response:
+ 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}"}}' \ No newline at end of file
diff --git a/products/onap-beijing/features/appc/src/main/resources/open-cli-schema/appc-stop-schema.yaml b/products/onap-beijing/features/appc/src/main/resources/open-cli-schema/appc-stop-schema.yaml
new file mode 100644
index 00000000..5acc6f33
--- /dev/null
+++ b/products/onap-beijing/features/appc/src/main/resources/open-cli-schema/appc-stop-schema.yaml
@@ -0,0 +1,162 @@
+open_cli_schema_version: 1.0
+name: vnf-stop
+description: Stop VNF
+
+info:
+ product: onap-beijing
+ service: appc
+ author: ONAP CLI Team onap-discuss@lists.onap.org
+ state: experimental
+
+parameters:
+ - name: timestamp
+ description: The time of the request, in ISO 8601 format, ZULU offset
+ type: string
+ short_option: T
+ long_option: timestamp
+ is_optional: false
+ - name: api-ver
+ description: Identifies the API version
+ type: string
+ short_option: X
+ long_option: api-ver
+ is_optional: false
+ - name: originator-id
+ description: An identifier of the calling system limited to a length of 40 characters
+ type: string
+ short_option: O
+ long_option: originator-id
+ is_optional: false
+ - name: request-id
+ description: The UUID for the request ID, limited to a length of 40 characters
+ type: string
+ short_option: R
+ long_option: request-id
+ is_optional: false
+ - name: sub-request-id
+ description: Uniquely identifies a specific LCM or control action, limited to a length of 40 characters
+ type: string
+ short_option: W
+ long_option: sub-request-id
+ is_optional: true
+ - name: flags-mode
+ description: Generic flags-mode that apply to all LCM actions
+ type: string
+ short_option: F
+ is_optional: true
+ - name: flags-force
+ description: Generic flags-force that apply to all LCM actions
+ type: bool
+ short_option: G
+ is_optional: true
+ - name: flags-ttl
+ description: Generic flags-ttl that apply to all LCM actions
+ type: string
+ short_option: H
+ is_optional: true
+ - name: action
+ description: The action to be taken by APPC
+ type: string
+ short_option: A
+ long_option: action
+ is_optional: false
+ - name: service-instance-id
+ description: Identifies a specific service instance that the command refers to
+ type: string
+ short_option: S
+ long_option: service-instance-id
+ is_optional: true
+ - name: vnf-id
+ description: Identifies the VNF instance to which this action is to be applied
+ type: string
+ short_option: J
+ long_option: vnf-id
+ is_optional: true
+ is_optional: false
+ - name: vnfc-name
+ description: Identifies the VNFC name to which this action is to be applied
+ type: string
+ short_option: N
+ long_option: vnfc-name
+ is_optional: true
+ - name: vserver-id
+ description: Identifies a specific VM instance to which this action is to be applied
+ type: string
+ short_option: K
+ long_option: vserver-id
+ is_optional: true
+ - name: vf-module-id
+ description: Identifies a specific VF module to which this action is to be applied
+ type: string
+ short_option: M
+ long_option: vf-module-id
+ is_optional: true
+ - name: payload
+ description: An action-specific open-format field
+ type: string
+ short_option: P
+ long_option: payload
+ is_optional: true
+results:
+ direction: portrait
+ attributes:
+ - name: action
+ description: The action to be taken by APPC
+ scope: short
+ type: string
+ - name: api-ver
+ description: Identifies the API version
+ scope: short
+ type: string
+ - name: flags
+ description: Identifies the API version
+ scope: short
+ type: string
+ - name: timestamp
+ description: The time of the request, in ISO 8601 format, ZULU offset
+ scope: short
+ type: string
+ - name: status
+ description: The status describes the outcome of the command processing
+ scope: short
+ type: digit
+ - name: originator-id
+ description: An identifier of the calling system limited to a length of 40 characters
+ scope: short
+ type: string
+ - name: request-id
+ description: The UUID for the request ID, limited to a length of 40 characters
+ scope: short
+ type: string
+ - name: sub-request-id
+ description: Uniquely identifies a specific LCM or control action
+ scope: long
+ type: string
+ - name: payload
+ description: An open-format field
+ scope: long
+ type: string
+http:
+ service:
+ auth: basic
+ mode: direct
+ request:
+ uri: /restconf/operations/vnf-provider-lcm:stop
+ method: POST
+ 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}"}}'
+ success_codes:
+ - 100
+ - 400
+ result_map:
+ action: $b{$.action}
+ api-ver: $b{$.api-ver}
+ flags: $b{$.flags}
+ originator-id: $b{$.originator-id}
+ request-id: $b{$.request-id}
+ sub-request-id: $b{$.sub-request-id}
+ payload: $b{$.payload}
+ status: $b{$.status}
+ timestamp: $b{$.timestamp}
+
+ sample_response:
+ 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}"}}' \ No newline at end of file
diff --git a/products/onap-beijing/features/appc/src/main/resources/open-cli-schema/appc-stopapplication-schema.yaml b/products/onap-beijing/features/appc/src/main/resources/open-cli-schema/appc-stopapplication-schema.yaml
new file mode 100644
index 00000000..1b45062e
--- /dev/null
+++ b/products/onap-beijing/features/appc/src/main/resources/open-cli-schema/appc-stopapplication-schema.yaml
@@ -0,0 +1,162 @@
+open_cli_schema_version: 1.0
+name: vnf-stopapplication
+description: Stops the VNF application gracefully if needed, prior to a Stop command. Supported using Chef cookbook or Ansible playbook only.
+
+info:
+ product: onap-beijing
+ service: appc
+ author: ONAP CLI Team onap-discuss@lists.onap.org
+ state: experimental
+
+parameters:
+ - name: timestamp
+ description: The time of the request, in ISO 8601 format, ZULU offset
+ type: string
+ short_option: T
+ long_option: timestamp
+ is_optional: false
+ - name: api-ver
+ description: Identifies the API version
+ type: string
+ short_option: X
+ long_option: api-ver
+ is_optional: false
+ - name: originator-id
+ description: An identifier of the calling system limited to a length of 40 characters
+ type: string
+ short_option: O
+ long_option: originator-id
+ is_optional: false
+ - name: request-id
+ description: The UUID for the request ID, limited to a length of 40 characters
+ type: string
+ short_option: R
+ long_option: request-id
+ is_optional: false
+ - name: sub-request-id
+ description: Uniquely identifies a specific LCM or control action, limited to a length of 40 characters
+ type: string
+ short_option: W
+ long_option: sub-request-id
+ is_optional: true
+ - name: flags-mode
+ description: Generic flags-mode that apply to all LCM actions
+ type: string
+ short_option: F
+ is_optional: true
+ - name: flags-force
+ description: Generic flags-force that apply to all LCM actions
+ type: bool
+ short_option: G
+ is_optional: true
+ - name: flags-ttl
+ description: Generic flags-ttl that apply to all LCM actions
+ type: string
+ short_option: H
+ is_optional: true
+ - name: action
+ description: The action to be taken by APPC
+ type: string
+ short_option: A
+ long_option: action
+ is_optional: false
+ - name: service-instance-id
+ description: Identifies a specific service instance that the command refers to
+ type: string
+ short_option: S
+ long_option: service-instance-id
+ is_optional: true
+ - name: vnf-id
+ description: Identifies the VNF instance to which this action is to be applied
+ type: string
+ short_option: J
+ long_option: vnf-id
+ is_optional: true
+ is_optional: false
+ - name: vnfc-name
+ description: Identifies the VNFC name to which this action is to be applied
+ type: string
+ short_option: N
+ long_option: vnfc-name
+ is_optional: true
+ - name: vserver-id
+ description: Identifies a specific VM instance to which this action is to be applied
+ type: string
+ short_option: K
+ long_option: vserver-id
+ is_optional: true
+ - name: vf-module-id
+ description: Identifies a specific VF module to which this action is to be applied
+ type: string
+ short_option: M
+ long_option: vf-module-id
+ is_optional: true
+ - name: payload
+ description: An action-specific open-format field
+ type: string
+ short_option: P
+ long_option: payload
+ is_optional: true
+results:
+ direction: portrait
+ attributes:
+ - name: action
+ description: The action to be taken by APPC
+ scope: short
+ type: string
+ - name: api-ver
+ description: Identifies the API version
+ scope: short
+ type: string
+ - name: flags
+ description: Identifies the API version
+ scope: short
+ type: string
+ - name: timestamp
+ description: The time of the request, in ISO 8601 format, ZULU offset
+ scope: short
+ type: string
+ - name: status
+ description: The status describes the outcome of the command processing
+ scope: short
+ type: digit
+ - name: originator-id
+ description: An identifier of the calling system limited to a length of 40 characters
+ scope: short
+ type: string
+ - name: request-id
+ description: The UUID for the request ID, limited to a length of 40 characters
+ scope: short
+ type: string
+ - name: sub-request-id
+ description: Uniquely identifies a specific LCM or control action
+ scope: long
+ type: string
+ - name: payload
+ description: An open-format field
+ scope: long
+ type: string
+http:
+ service:
+ auth: basic
+ mode: direct
+ request:
+ uri: /restconf/operations/vnf-provider-lcm:stopapplication
+ method: POST
+ 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}"}}'
+ success_codes:
+ - 100
+ - 400
+ result_map:
+ action: $b{$.action}
+ api-ver: $b{$.api-ver}
+ flags: $b{$.flags}
+ originator-id: $b{$.originator-id}
+ request-id: $b{$.request-id}
+ sub-request-id: $b{$.sub-request-id}
+ payload: $b{$.payload}
+ status: $b{$.status}
+ timestamp: $b{$.timestamp}
+
+ sample_response:
+ 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}"}}' \ No newline at end of file
diff --git a/products/onap-beijing/features/appc/src/main/resources/open-cli-schema/appc-sync-schema.yaml b/products/onap-beijing/features/appc/src/main/resources/open-cli-schema/appc-sync-schema.yaml
new file mode 100644
index 00000000..96681bc7
--- /dev/null
+++ b/products/onap-beijing/features/appc/src/main/resources/open-cli-schema/appc-sync-schema.yaml
@@ -0,0 +1,162 @@
+open_cli_schema_version: 1.0
+name: vnf-sync
+description: The Sync action updates the current configuration in the APPC store with the running configuration from the device
+
+info:
+ product: onap-beijing
+ service: appc
+ author: ONAP CLI Team onap-discuss@lists.onap.org
+ state: experimental
+
+parameters:
+ - name: timestamp
+ description: The time of the request, in ISO 8601 format, ZULU offset
+ type: string
+ short_option: T
+ long_option: timestamp
+ is_optional: false
+ - name: api-ver
+ description: Identifies the API version
+ type: string
+ short_option: X
+ long_option: api-ver
+ is_optional: false
+ - name: originator-id
+ description: An identifier of the calling system limited to a length of 40 characters
+ type: string
+ short_option: O
+ long_option: originator-id
+ is_optional: false
+ - name: request-id
+ description: The UUID for the request ID, limited to a length of 40 characters
+ type: string
+ short_option: R
+ long_option: request-id
+ is_optional: false
+ - name: sub-request-id
+ description: Uniquely identifies a specific LCM or control action, limited to a length of 40 characters
+ type: string
+ short_option: W
+ long_option: sub-request-id
+ is_optional: true
+ - name: flags-mode
+ description: Generic flags-mode that apply to all LCM actions
+ type: string
+ short_option: F
+ is_optional: true
+ - name: flags-force
+ description: Generic flags-force that apply to all LCM actions
+ type: bool
+ short_option: G
+ is_optional: true
+ - name: flags-ttl
+ description: Generic flags-ttl that apply to all LCM actions
+ type: string
+ short_option: H
+ is_optional: true
+ - name: action
+ description: The action to be taken by APPC
+ type: string
+ short_option: A
+ long_option: action
+ is_optional: false
+ - name: service-instance-id
+ description: Identifies a specific service instance that the command refers to
+ type: string
+ short_option: S
+ long_option: service-instance-id
+ is_optional: true
+ - name: vnf-id
+ description: Identifies the VNF instance to which this action is to be applied
+ type: string
+ short_option: J
+ long_option: vnf-id
+ is_optional: true
+ is_optional: false
+ - name: vnfc-name
+ description: Identifies the VNFC name to which this action is to be applied
+ type: string
+ short_option: N
+ long_option: vnfc-name
+ is_optional: true
+ - name: vserver-id
+ description: Identifies a specific VM instance to which this action is to be applied
+ type: string
+ short_option: K
+ long_option: vserver-id
+ is_optional: true
+ - name: vf-module-id
+ description: Identifies a specific VF module to which this action is to be applied
+ type: string
+ short_option: M
+ long_option: vf-module-id
+ is_optional: true
+ - name: payload
+ description: An action-specific open-format field
+ type: string
+ short_option: P
+ long_option: payload
+ is_optional: true
+results:
+ direction: portrait
+ attributes:
+ - name: action
+ description: The action to be taken by APPC
+ scope: short
+ type: string
+ - name: api-ver
+ description: Identifies the API version
+ scope: short
+ type: string
+ - name: flags
+ description: Identifies the API version
+ scope: short
+ type: string
+ - name: timestamp
+ description: The time of the request, in ISO 8601 format, ZULU offset
+ scope: short
+ type: string
+ - name: status
+ description: The status describes the outcome of the command processing
+ scope: short
+ type: digit
+ - name: originator-id
+ description: An identifier of the calling system limited to a length of 40 characters
+ scope: short
+ type: string
+ - name: request-id
+ description: The UUID for the request ID, limited to a length of 40 characters
+ scope: short
+ type: string
+ - name: sub-request-id
+ description: Uniquely identifies a specific LCM or control action
+ scope: long
+ type: string
+ - name: payload
+ description: An open-format field
+ scope: long
+ type: string
+http:
+ service:
+ auth: basic
+ mode: direct
+ request:
+ uri: /restconf/operations/vnf-provider-lcm:sync
+ method: POST
+ 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}"}}'
+ success_codes:
+ - 100
+ - 400
+ result_map:
+ action: $b{$.action}
+ api-ver: $b{$.api-ver}
+ flags: $b{$.flags}
+ originator-id: $b{$.originator-id}
+ request-id: $b{$.request-id}
+ sub-request-id: $b{$.sub-request-id}
+ payload: $b{$.payload}
+ status: $b{$.status}
+ timestamp: $b{$.timestamp}
+
+ sample_response:
+ 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}"}}' \ No newline at end of file
diff --git a/products/onap-beijing/features/appc/src/main/resources/open-cli-schema/appc-unlock-schema.yaml b/products/onap-beijing/features/appc/src/main/resources/open-cli-schema/appc-unlock-schema.yaml
new file mode 100644
index 00000000..63e03e98
--- /dev/null
+++ b/products/onap-beijing/features/appc/src/main/resources/open-cli-schema/appc-unlock-schema.yaml
@@ -0,0 +1,162 @@
+open_cli_schema_version: 1.0
+name: vnf-unlock
+description: Run the Unlock command to release the lock on a VNF and allow other clients to perform LCM commands on that VNF
+
+info:
+ product: onap-beijing
+ service: appc
+ author: ONAP CLI Team onap-discuss@lists.onap.org
+ state: experimental
+
+parameters:
+ - name: timestamp
+ description: The time of the request, in ISO 8601 format, ZULU offset
+ type: string
+ short_option: T
+ long_option: timestamp
+ is_optional: false
+ - name: api-ver
+ description: Identifies the API version
+ type: string
+ short_option: X
+ long_option: api-ver
+ is_optional: false
+ - name: originator-id
+ description: An identifier of the calling system limited to a length of 40 characters
+ type: string
+ short_option: O
+ long_option: originator-id
+ is_optional: false
+ - name: request-id
+ description: The UUID for the request ID, limited to a length of 40 characters
+ type: string
+ short_option: R
+ long_option: request-id
+ is_optional: false
+ - name: sub-request-id
+ description: Uniquely identifies a specific LCM or control action, limited to a length of 40 characters
+ type: string
+ short_option: W
+ long_option: sub-request-id
+ is_optional: true
+ - name: flags-mode
+ description: Generic flags-mode that apply to all LCM actions
+ type: string
+ short_option: F
+ is_optional: true
+ - name: flags-force
+ description: Generic flags-force that apply to all LCM actions
+ type: bool
+ short_option: G
+ is_optional: true
+ - name: flags-ttl
+ description: Generic flags-ttl that apply to all LCM actions
+ type: string
+ short_option: H
+ is_optional: true
+ - name: action
+ description: The action to be taken by APPC
+ type: string
+ short_option: A
+ long_option: action
+ is_optional: false
+ - name: service-instance-id
+ description: Identifies a specific service instance that the command refers to
+ type: string
+ short_option: S
+ long_option: service-instance-id
+ is_optional: true
+ - name: vnf-id
+ description: Identifies the VNF instance to which this action is to be applied
+ type: string
+ short_option: J
+ long_option: vnf-id
+ is_optional: true
+ is_optional: false
+ - name: vnfc-name
+ description: Identifies the VNFC name to which this action is to be applied
+ type: string
+ short_option: N
+ long_option: vnfc-name
+ is_optional: true
+ - name: vserver-id
+ description: Identifies a specific VM instance to which this action is to be applied
+ type: string
+ short_option: K
+ long_option: vserver-id
+ is_optional: true
+ - name: vf-module-id
+ description: Identifies a specific VF module to which this action is to be applied
+ type: string
+ short_option: M
+ long_option: vf-module-id
+ is_optional: true
+ - name: payload
+ description: An action-specific open-format field
+ type: string
+ short_option: P
+ long_option: payload
+ is_optional: true
+results:
+ direction: portrait
+ attributes:
+ - name: action
+ description: The action to be taken by APPC
+ scope: short
+ type: string
+ - name: api-ver
+ description: Identifies the API version
+ scope: short
+ type: string
+ - name: flags
+ description: Identifies the API version
+ scope: short
+ type: string
+ - name: timestamp
+ description: The time of the request, in ISO 8601 format, ZULU offset
+ scope: short
+ type: string
+ - name: status
+ description: The status describes the outcome of the command processing
+ scope: short
+ type: digit
+ - name: originator-id
+ description: An identifier of the calling system limited to a length of 40 characters
+ scope: short
+ type: string
+ - name: request-id
+ description: The UUID for the request ID, limited to a length of 40 characters
+ scope: short
+ type: string
+ - name: sub-request-id
+ description: Uniquely identifies a specific LCM or control action
+ scope: long
+ type: string
+ - name: payload
+ description: An open-format field
+ scope: long
+ type: string
+http:
+ service:
+ auth: basic
+ mode: direct
+ request:
+ uri: /restconf/operations/vnf-provider-lcm:unlock
+ method: POST
+ 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}"}}'
+ success_codes:
+ - 100
+ - 400
+ result_map:
+ action: $b{$.action}
+ api-ver: $b{$.api-ver}
+ flags: $b{$.flags}
+ originator-id: $b{$.originator-id}
+ request-id: $b{$.request-id}
+ sub-request-id: $b{$.sub-request-id}
+ payload: $b{$.payload}
+ status: $b{$.status}
+ timestamp: $b{$.timestamp}
+
+ sample_response:
+ 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}"}}' \ No newline at end of file
diff --git a/products/onap-beijing/features/appc/src/main/resources/open-cli-schema/appc-upgradebackout-schema.yaml b/products/onap-beijing/features/appc/src/main/resources/open-cli-schema/appc-upgradebackout-schema.yaml
new file mode 100644
index 00000000..026e6ad4
--- /dev/null
+++ b/products/onap-beijing/features/appc/src/main/resources/open-cli-schema/appc-upgradebackout-schema.yaml
@@ -0,0 +1,161 @@
+open_cli_schema_version: 1.0
+name: vnf-upgradebackout
+description: The UpgradeBackout LCM action does a backout after an UpgradeSoftware is completed. This command is executed using an Ansible playbook or Chef cookbook.
+
+info:
+ product: onap-beijing
+ service: appc
+ author: ONAP CLI Team onap-discuss@lists.onap.org
+ state: experimental
+
+parameters:
+ - name: timestamp
+ description: The time of the request, in ISO 8601 format, ZULU offset
+ type: string
+ short_option: T
+ long_option: timestamp
+ is_optional: false
+ - name: api-ver
+ description: Identifies the API version
+ type: string
+ short_option: X
+ long_option: api-ver
+ is_optional: false
+ - name: originator-id
+ description: An identifier of the calling system limited to a length of 40 characters
+ type: string
+ short_option: O
+ long_option: originator-id
+ is_optional: false
+ - name: request-id
+ description: The UUID for the request ID, limited to a length of 40 characters
+ type: string
+ short_option: R
+ long_option: request-id
+ is_optional: false
+ - name: sub-request-id
+ description: Uniquely identifies a specific LCM or control action, limited to a length of 40 characters
+ type: string
+ short_option: W
+ long_option: sub-request-id
+ is_optional: true
+ - name: flags-mode
+ description: Generic flags-mode that apply to all LCM actions
+ type: string
+ short_option: F
+ is_optional: true
+ - name: flags-force
+ description: Generic flags-force that apply to all LCM actions
+ type: bool
+ short_option: G
+ is_optional: true
+ - name: flags-ttl
+ description: Generic flags-ttl that apply to all LCM actions
+ type: string
+ short_option: H
+ is_optional: true
+ - name: action
+ description: The action to be taken by APPC
+ type: string
+ short_option: A
+ long_option: action
+ is_optional: false
+ - name: service-instance-id
+ description: Identifies a specific service instance that the command refers to
+ type: string
+ short_option: S
+ long_option: service-instance-id
+ is_optional: true
+ - name: vnf-id
+ description: Identifies the VNF instance to which this action is to be applied
+ type: string
+ short_option: J
+ long_option: vnf-id
+ is_optional: true
+ is_optional: false
+ - name: vnfc-name
+ description: Identifies the VNFC name to which this action is to be applied
+ type: string
+ short_option: N
+ long_option: vnfc-name
+ is_optional: true
+ - name: vserver-id
+ description: Identifies a specific VM instance to which this action is to be applied
+ type: string
+ short_option: K
+ long_option: vserver-id
+ is_optional: true
+ - name: vf-module-id
+ description: Identifies a specific VF module to which this action is to be applied
+ type: string
+ short_option: M
+ long_option: vf-module-id
+ is_optional: true
+ - name: payload
+ description: An action-specific open-format field
+ type: string
+ short_option: P
+ long_option: payload
+ is_optional: true
+results:
+ direction: portrait
+ attributes:
+ - name: action
+ description: The action to be taken by APPC
+ scope: short
+ type: string
+ - name: api-ver
+ description: Identifies the API version
+ scope: short
+ type: string
+ - name: flags
+ description: Identifies the API version
+ scope: short
+ type: string
+ - name: timestamp
+ description: The time of the request, in ISO 8601 format, ZULU offset
+ scope: short
+ type: string
+ - name: status
+ description: The status describes the outcome of the command processing
+ scope: short
+ type: digit
+ - name: originator-id
+ description: An identifier of the calling system limited to a length of 40 characters
+ scope: short
+ type: string
+ - name: request-id
+ description: The UUID for the request ID, limited to a length of 40 characters
+ scope: short
+ type: string
+ - name: sub-request-id
+ description: Uniquely identifies a specific LCM or control action
+ scope: long
+ type: string
+ - name: payload
+ description: An open-format field
+ scope: long
+ type: string
+http:
+ service:
+ auth: basic
+ mode: direct
+ request:
+ uri: /restconf/operations/vnf-provider-lcm:upgrade-backout
+ method: POST
+ 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}"}}'
+ success_codes:
+ - 400
+ result_map:
+ action: $b{$.action}
+ api-ver: $b{$.api-ver}
+ flags: $b{$.flags}
+ originator-id: $b{$.originator-id}
+ request-id: $b{$.request-id}
+ sub-request-id: $b{$.sub-request-id}
+ payload: $b{$.payload}
+ status: $b{$.status}
+ timestamp: $b{$.timestamp}
+
+ sample_response:
+ 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}"}}' 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":{"code": "${status}","message": "<RESULT_MESSAGE>"}}}' \ No newline at end of file
diff --git a/products/onap-beijing/features/appc/src/main/resources/open-cli-schema/appc-upgradebackup-schema.yaml b/products/onap-beijing/features/appc/src/main/resources/open-cli-schema/appc-upgradebackup-schema.yaml
new file mode 100644
index 00000000..9836c544
--- /dev/null
+++ b/products/onap-beijing/features/appc/src/main/resources/open-cli-schema/appc-upgradebackup-schema.yaml
@@ -0,0 +1,161 @@
+open_cli_schema_version: 1.0
+name: vnf-upgradebackup
+description: The UpgradeBackup LCM action does a full backup of the VNF data prior to an upgrade. The backup is done on the Ansible or Chef server in a location that is specified in the playbook or cookbook. If there is an existing backup, it is overwritten by the new backup.
+
+info:
+ product: onap-beijing
+ service: appc
+ author: ONAP CLI Team onap-discuss@lists.onap.org
+ state: experimental
+
+parameters:
+ - name: timestamp
+ description: The time of the request, in ISO 8601 format, ZULU offset
+ type: string
+ short_option: T
+ long_option: timestamp
+ is_optional: false
+ - name: api-ver
+ description: Identifies the API version
+ type: string
+ short_option: X
+ long_option: api-ver
+ is_optional: false
+ - name: originator-id
+ description: An identifier of the calling system limited to a length of 40 characters
+ type: string
+ short_option: O
+ long_option: originator-id
+ is_optional: false
+ - name: request-id
+ description: The UUID for the request ID, limited to a length of 40 characters
+ type: string
+ short_option: R
+ long_option: request-id
+ is_optional: false
+ - name: sub-request-id
+ description: Uniquely identifies a specific LCM or control action, limited to a length of 40 characters
+ type: string
+ short_option: W
+ long_option: sub-request-id
+ is_optional: true
+ - name: flags-mode
+ description: Generic flags-mode that apply to all LCM actions
+ type: string
+ short_option: F
+ is_optional: true
+ - name: flags-force
+ description: Generic flags-force that apply to all LCM actions
+ type: bool
+ short_option: G
+ is_optional: true
+ - name: flags-ttl
+ description: Generic flags-ttl that apply to all LCM actions
+ type: string
+ short_option: H
+ is_optional: true
+ - name: action
+ description: The action to be taken by APPC
+ type: string
+ short_option: A
+ long_option: action
+ is_optional: false
+ - name: service-instance-id
+ description: Identifies a specific service instance that the command refers to
+ type: string
+ short_option: S
+ long_option: service-instance-id
+ is_optional: true
+ - name: vnf-id
+ description: Identifies the VNF instance to which this action is to be applied
+ type: string
+ short_option: J
+ long_option: vnf-id
+ is_optional: true
+ is_optional: false
+ - name: vnfc-name
+ description: Identifies the VNFC name to which this action is to be applied
+ type: string
+ short_option: N
+ long_option: vnfc-name
+ is_optional: true
+ - name: vserver-id
+ description: Identifies a specific VM instance to which this action is to be applied
+ type: string
+ short_option: K
+ long_option: vserver-id
+ is_optional: true
+ - name: vf-module-id
+ description: Identifies a specific VF module to which this action is to be applied
+ type: string
+ short_option: M
+ long_option: vf-module-id
+ is_optional: true
+ - name: payload
+ description: An action-specific open-format field
+ type: string
+ short_option: P
+ long_option: payload
+ is_optional: true
+results:
+ direction: portrait
+ attributes:
+ - name: action
+ description: The action to be taken by APPC
+ scope: short
+ type: string
+ - name: api-ver
+ description: Identifies the API version
+ scope: short
+ type: string
+ - name: flags
+ description: Identifies the API version
+ scope: short
+ type: string
+ - name: timestamp
+ description: The time of the request, in ISO 8601 format, ZULU offset
+ scope: short
+ type: string
+ - name: status
+ description: The status describes the outcome of the command processing
+ scope: short
+ type: digit
+ - name: originator-id
+ description: An identifier of the calling system limited to a length of 40 characters
+ scope: short
+ type: string
+ - name: request-id
+ description: The UUID for the request ID, limited to a length of 40 characters
+ scope: short
+ type: string
+ - name: sub-request-id
+ description: Uniquely identifies a specific LCM or control action
+ scope: long
+ type: string
+ - name: payload
+ description: An open-format field
+ scope: long
+ type: string
+http:
+ service:
+ auth: basic
+ mode: direct
+ request:
+ uri: /restconf/operations/vnf-provider-lcm:upgrade-backup
+ method: POST
+ 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}"}}'
+ success_codes:
+ - 400
+ result_map:
+ action: $b{$.action}
+ api-ver: $b{$.api-ver}
+ flags: $b{$.flags}
+ originator-id: $b{$.originator-id}
+ request-id: $b{$.request-id}
+ sub-request-id: $b{$.sub-request-id}
+ payload: $b{$.payload}
+ status: $b{$.status}
+ timestamp: $b{$.timestamp}
+
+ sample_response:
+ 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}"}}' \ No newline at end of file
diff --git a/products/onap-beijing/features/appc/src/main/resources/open-cli-schema/appc-upgradepostcheck-schema.yaml b/products/onap-beijing/features/appc/src/main/resources/open-cli-schema/appc-upgradepostcheck-schema.yaml
new file mode 100644
index 00000000..717a949f
--- /dev/null
+++ b/products/onap-beijing/features/appc/src/main/resources/open-cli-schema/appc-upgradepostcheck-schema.yaml
@@ -0,0 +1,161 @@
+open_cli_schema_version: 1.0
+name: vnf-upgradepostcheck
+description: The UpgradePostCheck LCM action checks that the VNF upgrade has been successful completed and all processes are running properly.
+
+info:
+ product: onap-beijing
+ service: appc
+ author: ONAP CLI Team onap-discuss@lists.onap.org
+ state: experimental
+
+parameters:
+ - name: timestamp
+ description: The time of the request, in ISO 8601 format, ZULU offset
+ type: string
+ short_option: T
+ long_option: timestamp
+ is_optional: false
+ - name: api-ver
+ description: Identifies the API version
+ type: string
+ short_option: X
+ long_option: api-ver
+ is_optional: false
+ - name: originator-id
+ description: An identifier of the calling system limited to a length of 40 characters
+ type: string
+ short_option: O
+ long_option: originator-id
+ is_optional: false
+ - name: request-id
+ description: The UUID for the request ID, limited to a length of 40 characters
+ type: string
+ short_option: R
+ long_option: request-id
+ is_optional: false
+ - name: sub-request-id
+ description: Uniquely identifies a specific LCM or control action, limited to a length of 40 characters
+ type: string
+ short_option: W
+ long_option: sub-request-id
+ is_optional: true
+ - name: flags-mode
+ description: Generic flags-mode that apply to all LCM actions
+ type: string
+ short_option: F
+ is_optional: true
+ - name: flags-force
+ description: Generic flags-force that apply to all LCM actions
+ type: bool
+ short_option: G
+ is_optional: true
+ - name: flags-ttl
+ description: Generic flags-ttl that apply to all LCM actions
+ type: string
+ short_option: H
+ is_optional: true
+ - name: action
+ description: The action to be taken by APPC
+ type: string
+ short_option: A
+ long_option: action
+ is_optional: false
+ - name: service-instance-id
+ description: Identifies a specific service instance that the command refers to
+ type: string
+ short_option: S
+ long_option: service-instance-id
+ is_optional: true
+ - name: vnf-id
+ description: Identifies the VNF instance to which this action is to be applied
+ type: string
+ short_option: J
+ long_option: vnf-id
+ is_optional: true
+ is_optional: false
+ - name: vnfc-name
+ description: Identifies the VNFC name to which this action is to be applied
+ type: string
+ short_option: N
+ long_option: vnfc-name
+ is_optional: true
+ - name: vserver-id
+ description: Identifies a specific VM instance to which this action is to be applied
+ type: string
+ short_option: K
+ long_option: vserver-id
+ is_optional: true
+ - name: vf-module-id
+ description: Identifies a specific VF module to which this action is to be applied
+ type: string
+ short_option: M
+ long_option: vf-module-id
+ is_optional: true
+ - name: payload
+ description: An action-specific open-format field
+ type: string
+ short_option: P
+ long_option: payload
+ is_optional: true
+results:
+ direction: portrait
+ attributes:
+ - name: action
+ description: The action to be taken by APPC
+ scope: short
+ type: string
+ - name: api-ver
+ description: Identifies the API version
+ scope: short
+ type: string
+ - name: flags
+ description: Identifies the API version
+ scope: short
+ type: string
+ - name: timestamp
+ description: The time of the request, in ISO 8601 format, ZULU offset
+ scope: short
+ type: string
+ - name: status
+ description: The status describes the outcome of the command processing
+ scope: short
+ type: digit
+ - name: originator-id
+ description: An identifier of the calling system limited to a length of 40 characters
+ scope: short
+ type: string
+ - name: request-id
+ description: The UUID for the request ID, limited to a length of 40 characters
+ scope: short
+ type: string
+ - name: sub-request-id
+ description: Uniquely identifies a specific LCM or control action
+ scope: long
+ type: string
+ - name: payload
+ description: An open-format field
+ scope: long
+ type: string
+http:
+ service:
+ auth: basic
+ mode: direct
+ request:
+ uri: /restconf/operations/vnf-provider-lcm:upgrade-post-check
+ method: POST
+ 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}"}}'
+ success_codes:
+ - 400
+ result_map:
+ action: $b{$.action}
+ api-ver: $b{$.api-ver}
+ flags: $b{$.flags}
+ originator-id: $b{$.originator-id}
+ request-id: $b{$.request-id}
+ sub-request-id: $b{$.sub-request-id}
+ payload: $b{$.payload}
+ status: $b{$.status}
+ timestamp: $b{$.timestamp}
+
+ sample_response:
+ 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}"}}' \ No newline at end of file
diff --git a/products/onap-beijing/features/appc/src/main/resources/open-cli-schema/appc-upgradeprecheck-schema.yaml b/products/onap-beijing/features/appc/src/main/resources/open-cli-schema/appc-upgradeprecheck-schema.yaml
new file mode 100644
index 00000000..5433a189
--- /dev/null
+++ b/products/onap-beijing/features/appc/src/main/resources/open-cli-schema/appc-upgradeprecheck-schema.yaml
@@ -0,0 +1,161 @@
+open_cli_schema_version: 1.0
+name: vnf-upgradeprecheck
+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.
+
+info:
+ product: onap-beijing
+ service: appc
+ author: ONAP CLI Team onap-discuss@lists.onap.org
+ state: experimental
+
+parameters:
+ - name: timestamp
+ description: The time of the request, in ISO 8601 format, ZULU offset
+ type: string
+ short_option: T
+ long_option: timestamp
+ is_optional: false
+ - name: api-ver
+ description: Identifies the API version
+ type: string
+ short_option: X
+ long_option: api-ver
+ is_optional: false
+ - name: originator-id
+ description: An identifier of the calling system limited to a length of 40 characters
+ type: string
+ short_option: O
+ long_option: originator-id
+ is_optional: false
+ - name: request-id
+ description: The UUID for the request ID, limited to a length of 40 characters
+ type: string
+ short_option: R
+ long_option: request-id
+ is_optional: false
+ - name: sub-request-id
+ description: Uniquely identifies a specific LCM or control action, limited to a length of 40 characters
+ type: string
+ short_option: W
+ long_option: sub-request-id
+ is_optional: true
+ - name: flags-mode
+ description: Generic flags-mode that apply to all LCM actions
+ type: string
+ short_option: F
+ is_optional: true
+ - name: flags-force
+ description: Generic flags-force that apply to all LCM actions
+ type: bool
+ short_option: G
+ is_optional: true
+ - name: flags-ttl
+ description: Generic flags-ttl that apply to all LCM actions
+ type: string
+ short_option: H
+ is_optional: true
+ - name: action
+ description: The action to be taken by APPC
+ type: string
+ short_option: A
+ long_option: action
+ is_optional: false
+ - name: service-instance-id
+ description: Identifies a specific service instance that the command refers to
+ type: string
+ short_option: S
+ long_option: service-instance-id
+ is_optional: true
+ - name: vnf-id
+ description: Identifies the VNF instance to which this action is to be applied
+ type: string
+ short_option: J
+ long_option: vnf-id
+ is_optional: true
+ is_optional: false
+ - name: vnfc-name
+ description: Identifies the VNFC name to which this action is to be applied
+ type: string
+ short_option: N
+ long_option: vnfc-name
+ is_optional: true
+ - name: vserver-id
+ description: Identifies a specific VM instance to which this action is to be applied
+ type: string
+ short_option: K
+ long_option: vserver-id
+ is_optional: true
+ - name: vf-module-id
+ description: Identifies a specific VF module to which this action is to be applied
+ type: string
+ short_option: M
+ long_option: vf-module-id
+ is_optional: true
+ - name: payload
+ description: An action-specific open-format field
+ type: string
+ short_option: P
+ long_option: payload
+ is_optional: true
+results:
+ direction: portrait
+ attributes:
+ - name: action
+ description: The action to be taken by APPC
+ scope: short
+ type: string
+ - name: api-ver
+ description: Identifies the API version
+ scope: short
+ type: string
+ - name: flags
+ description: Identifies the API version
+ scope: short
+ type: string
+ - name: timestamp
+ description: The time of the request, in ISO 8601 format, ZULU offset
+ scope: short
+ type: string
+ - name: status
+ description: The status describes the outcome of the command processing
+ scope: short
+ type: digit
+ - name: originator-id
+ description: An identifier of the calling system limited to a length of 40 characters
+ scope: short
+ type: string
+ - name: request-id
+ description: The UUID for the request ID, limited to a length of 40 characters
+ scope: short
+ type: string
+ - name: sub-request-id
+ description: Uniquely identifies a specific LCM or control action
+ scope: long
+ type: string
+ - name: payload
+ description: An open-format field
+ scope: long
+ type: string
+http:
+ service:
+ auth: basic
+ mode: direct
+ request:
+ uri: /restconf/operations/vnf-provider-lcm:upgrade-pre-check
+ method: POST
+ 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}"}}'
+ success_codes:
+ - 400
+ result_map:
+ action: $b{$.action}
+ api-ver: $b{$.api-ver}
+ flags: $b{$.flags}
+ originator-id: $b{$.originator-id}
+ request-id: $b{$.request-id}
+ sub-request-id: $b{$.sub-request-id}
+ payload: $b{$.payload}
+ status: $b{$.status}
+ timestamp: $b{$.timestamp}
+
+ sample_response:
+ 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}"}}' \ No newline at end of file
diff --git a/products/onap-beijing/features/appc/src/main/resources/open-cli-schema/appc-upgradesoftware-schema.yaml b/products/onap-beijing/features/appc/src/main/resources/open-cli-schema/appc-upgradesoftware-schema.yaml
new file mode 100644
index 00000000..dc46a560
--- /dev/null
+++ b/products/onap-beijing/features/appc/src/main/resources/open-cli-schema/appc-upgradesoftware-schema.yaml
@@ -0,0 +1,161 @@
+open_cli_schema_version: 1.0
+name: vnf-upgradesoftware
+description: The UpgradeSoftware LCM action upgrades the target VNF to a new version. It is expected that the VNF is in a quiesced status
+
+info:
+ product: onap-beijing
+ service: appc
+ author: ONAP CLI Team onap-discuss@lists.onap.org
+ state: experimental
+
+parameters:
+ - name: timestamp
+ description: The time of the request, in ISO 8601 format, ZULU offset
+ type: string
+ short_option: T
+ long_option: timestamp
+ is_optional: false
+ - name: api-ver
+ description: Identifies the API version
+ type: string
+ short_option: X
+ long_option: api-ver
+ is_optional: false
+ - name: originator-id
+ description: An identifier of the calling system limited to a length of 40 characters
+ type: string
+ short_option: O
+ long_option: originator-id
+ is_optional: false
+ - name: request-id
+ description: The UUID for the request ID, limited to a length of 40 characters
+ type: string
+ short_option: R
+ long_option: request-id
+ is_optional: false
+ - name: sub-request-id
+ description: Uniquely identifies a specific LCM or control action, limited to a length of 40 characters
+ type: string
+ short_option: W
+ long_option: sub-request-id
+ is_optional: true
+ - name: flags-mode
+ description: Generic flags-mode that apply to all LCM actions
+ type: string
+ short_option: F
+ is_optional: true
+ - name: flags-force
+ description: Generic flags-force that apply to all LCM actions
+ type: bool
+ short_option: G
+ is_optional: true
+ - name: flags-ttl
+ description: Generic flags-ttl that apply to all LCM actions
+ type: string
+ short_option: H
+ is_optional: true
+ - name: action
+ description: The action to be taken by APPC
+ type: string
+ short_option: A
+ long_option: action
+ is_optional: false
+ - name: service-instance-id
+ description: Identifies a specific service instance that the command refers to
+ type: string
+ short_option: S
+ long_option: service-instance-id
+ is_optional: true
+ - name: vnf-id
+ description: Identifies the VNF instance to which this action is to be applied
+ type: string
+ short_option: J
+ long_option: vnf-id
+ is_optional: true
+ is_optional: false
+ - name: vnfc-name
+ description: Identifies the VNFC name to which this action is to be applied
+ type: string
+ short_option: N
+ long_option: vnfc-name
+ is_optional: true
+ - name: vserver-id
+ description: Identifies a specific VM instance to which this action is to be applied
+ type: string
+ short_option: K
+ long_option: vserver-id
+ is_optional: true
+ - name: vf-module-id
+ description: Identifies a specific VF module to which this action is to be applied
+ type: string
+ short_option: M
+ long_option: vf-module-id
+ is_optional: true
+ - name: payload
+ description: An action-specific open-format field
+ type: string
+ short_option: P
+ long_option: payload
+ is_optional: true
+results:
+ direction: portrait
+ attributes:
+ - name: action
+ description: The action to be taken by APPC
+ scope: short
+ type: string
+ - name: api-ver
+ description: Identifies the API version
+ scope: short
+ type: string
+ - name: flags
+ description: Identifies the API version
+ scope: short
+ type: string
+ - name: timestamp
+ description: The time of the request, in ISO 8601 format, ZULU offset
+ scope: short
+ type: string
+ - name: status
+ description: The status describes the outcome of the command processing
+ scope: short
+ type: digit
+ - name: originator-id
+ description: An identifier of the calling system limited to a length of 40 characters
+ scope: short
+ type: string
+ - name: request-id
+ description: The UUID for the request ID, limited to a length of 40 characters
+ scope: short
+ type: string
+ - name: sub-request-id
+ description: Uniquely identifies a specific LCM or control action
+ scope: long
+ type: string
+ - name: payload
+ description: An open-format field
+ scope: long
+ type: string
+http:
+ service:
+ auth: basic
+ mode: direct
+ request:
+ uri: /restconf/operations/vnf-provider-lcm:upgrade-software
+ method: POST
+ 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}"}}'
+ success_codes:
+ - 400
+ result_map:
+ action: $b{$.action}
+ api-ver: $b{$.api-ver}
+ flags: $b{$.flags}
+ originator-id: $b{$.originator-id}
+ request-id: $b{$.request-id}
+ sub-request-id: $b{$.sub-request-id}
+ payload: $b{$.payload}
+ status: $b{$.status}
+ timestamp: $b{$.timestamp}
+
+ sample_response:
+ 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}"}}' \ No newline at end of file