From 911c2a76215a7a826e642fced260d075e157a420 Mon Sep 17 00:00:00 2001 From: Eric Debeau Date: Wed, 18 Oct 2017 19:20:11 +0000 Subject: [PATCH] Change ECOMP by ONAP Change-Id: I755967d88980988251f4ec2e1d5a3265a300b020 Issue-ID: DOC-104 Signed-off-by: Eric Debeau --- docs/APPC API Guide/APPC API Guide.rst | 170 ++++++++++++++++----------------- 1 file changed, 85 insertions(+), 85 deletions(-) diff --git a/docs/APPC API Guide/APPC API Guide.rst b/docs/APPC API Guide/APPC API Guide.rst index 8b071903b..9f5effced 100644 --- a/docs/APPC API Guide/APPC API Guide.rst +++ b/docs/APPC API Guide/APPC API Guide.rst @@ -39,7 +39,7 @@ This document is intended for an advanced technical audience, such as the engine Life Cycle Management Commands ============================== -APPC receives commands from external ECOMP components, such as SO, Policy, DCAE, or the Portal, to manage the life cycle of virtual applications and their components. +APPC receives commands from external ONAP components, such as SO, Policy, DCAE, or the Portal, to manage the life cycle of virtual applications and their components. A virtual application is composed of the following layers of network technology: @@ -92,12 +92,12 @@ Synchronous Flow The client library adds the following wrapper around request and responses to the LCM API (described below):: { - "version" : "2.0", - "cambria.partition" : "", - "correlation-id" :"", - "rpc-name" : "", - "type" : - "body" : + "version" : "2.0", + "cambria.partition" : "", + "correlation-id" :"", + "rpc-name" : "", + "type" : + "body" : } @@ -139,25 +139,25 @@ The LCM request conforms to the following structure:: { "input": { - "common-header": {"timestamp": "", - "api-ver": "", - "originator-id": "", - "request-id": "", - "sub-request-id": "", - "flags": { - "mode": "", - "force": "", - "ttl": "" - } - }, - "action": "", - "action-identifiers": { - "vnf-id": "", - "vnfc-name": "", - "vserver-id": "VSERVER_ID" - }, - ["payload": ""] - } + "common-header": {"timestamp": "", + "api-ver": "", + "originator-id": "", + "request-id": "", + "sub-request-id": "", + "flags": { + "mode": "", + "force": "", + "ttl": "" + } + }, + "action": "", + "action-identifiers": { + "vnf-id": "", + "vnfc-name": "", + "vserver-id": "VSERVER_ID" + }, + ["payload": ""] + } } @@ -263,26 +263,26 @@ The LCM response comprises a common header and a section containing the payload The LCM response conforms to the following structure:: { - "output": { - "common-header": { - "api-ver": "", - "flags": { - "ttl": , - "force": "", - "mode": "" - }, - "originator-id": "", - "request-id": "", - "sub-request-id": "", - "timestamp": "2016-08-08T23:09:00.11Z", - }, - "payload": "", - [Additional fields], - "status": { - "code": , - "message": "" - } - } + "output": { + "common-header": { + "api-ver": "", + "flags": { + "ttl": , + "force": "", + "mode": "" + }, + "originator-id": "", + "request-id": "", + "sub-request-id": "", + "timestamp": "2016-08-08T23:09:00.11Z", + }, + "payload": "", + [Additional fields], + "status": { + "code": , + "message": "" + } + } } @@ -451,15 +451,15 @@ A malformed message is an invalid request based on the LCM API YANG scheme speci { "errors": { - "error": [ - { - "error-type": "protocol", - "error-tag": "malformed-message", - "error-message": "", - "error-info": "" - } - ] - } + "error": [ + { + "error-type": "protocol", + "error-tag": "malformed-message", + "error-message": "", + "error-info": "" + } + ] + } } @@ -467,18 +467,18 @@ A malformed message is an invalid request based on the LCM API YANG scheme speci { "errors": { - "error": [ - { - "error-type": "protocol", - "error-tag": "malformed-message", - "error-message": "Error parsing input: Invalid value 'Stopp' for - enum type. Allowed values are: [Sync, Audit, Stop, Terminate]", - "error-info": "java.lang.IllegalArgumentException: Invalid value - 'Stopp' for enum type. Allowed values are: [Sync, Audit, Stop, - Terminate]..." - } - ] - } + "error": [ + { + "error-type": "protocol", + "error-tag": "malformed-message", + "error-message": "Error parsing input: Invalid value 'Stopp' for + enum type. Allowed values are: [Sync, Audit, Stop, Terminate]", + "error-info": "java.lang.IllegalArgumentException: Invalid value + 'Stopp' for enum type. Allowed values are: [Sync, Audit, Stop, + Terminate]..." + } + ] + } } @@ -639,7 +639,7 @@ The Audit action does not require any payload parameters. Audit Response ^^^^^^^^^^^^^^ -The audit response returns an indication of success or failure of the audit. If a new configuration is uploaded to the APPC database, the payload contains the ‘upload\_config\_id’ and values for any records created. In addition, the configuration is sent to the ECOMP Data Router bus which may be received by an external configuration storage system. +The audit response returns an indication of success or failure of the audit. If a new configuration is uploaded to the APPC database, the payload contains the ‘upload\_config\_id’ and values for any records created. In addition, the configuration is sent to the ONAP Data Router bus which may be received by an external configuration storage system. CheckLock @@ -685,21 +685,21 @@ response. { "output": { - "status": { - "code": , "message": "" - }, - "common-header": { - "api-ver": "", - "request-id": "", "originator-id": - "", - "sub-request-id": "", "timestamp": - "2016-08-08T23:09:00.11Z", - "flags": { - "ttl": , "force": "", - "mode": "" - } - }, - "locked": "" + "status": { + "code": , "message": "" + }, + "common-header": { + "api-ver": "", + "request-id": "", "originator-id": + "", + "sub-request-id": "", "timestamp": + "2016-08-08T23:09:00.11Z", + "flags": { + "ttl": , "force": "", + "mode": "" + } + }, + "locked": "" } @@ -757,7 +757,7 @@ A failed Configure action returns a failure response and the specific failure me Configure Response ^^^^^^^^^^^^^^^^^^ -The Configure response returns an indication of success or failure of the request. If successful, the return payload contains the ‘upload\_config\_id’ and values for any records created. In addition, the configuration is sent to the ECOMP Data Router bus which may be received by an external configuration storage system. +The Configure response returns an indication of success or failure of the request. If successful, the return payload contains the ‘upload\_config\_id’ and values for any records created. In addition, the configuration is sent to the ONAP Data Router bus which may be received by an external configuration storage system. SO is creating the VNFC records in A&AI. APPC is updating the VNFC status. @@ -815,7 +815,7 @@ A failed Configure action returns a failure response and the specific failure me ConfigModify Response ^^^^^^^^^^^^^^^^^^^^^ -The ConfigModify response returns an indication of success or failure of the request. If successful, the return payload contains the ‘upload\_config\_id’ and values for any records created. In addition, the configuration is sent to the ECOMP Data Router bus which may be received by an external configuration storage system. +The ConfigModify response returns an indication of success or failure of the request. If successful, the return payload contains the ‘upload\_config\_id’ and values for any records created. In addition, the configuration is sent to the ONAP Data Router bus which may be received by an external configuration storage system. ConfigBackup ------------ -- 2.16.6