clean up some sphinx warnings
[dcaegen2.git] / docs / sections / architecture.rst
index 3c8094e..b3f263c 100644 (file)
@@ -1,50 +1,26 @@
 .. This work is licensed under a Creative Commons Attribution 4.0 International License.\r
 .. http://creativecommons.org/licenses/by/4.0\r
-.. _architecture:\r
 \r
 \r
 Architecture\r
 ============\r
 \r
-Data Collection Analytics and Events (DCAE) is the primary data collection and analysis system of ONAP. DCAE architecture comprises of DCAE Platform and \r
-DCAE Service components making DCAE flexible, elastic, and expansive enough for supporting the potentially infinite number of ways of constructing intelligent \r
-and automated control loops on distributed and heterogeneous infrastructure. \r
+DCAE project provides intelligence for ONAP to support automation (via open-loop and CL) by performing network data collections, analytics & correlation and trigger actionable rootcause events.\r
 \r
-DCAE Platform supports the functions to deploy, host and perform LCM applications of Service components. DCAE Platform components enable model driven deployment of \r
-service components and middleware infrastructures that service components depend upon, such as special storage and computation platforms.  When triggered by an \r
-invocation call (such as CLAMP or via DCAE Dashboard),  DCAE Platform follows the TOSCA model of the control loop that is specified by the triggering call, \r
-interacts with the underlying networking and computing infrastructure such as OpenSatck installations and Kubernetes clusters to deploy and configure the virtual \r
-apparatus (i.e. the collectors, the analytics, and auxiliary microservices) that are needed to form the control loop, at locations that requested.  \r
-DCAE Platform also provisions DMaaP topics and manages the distribution scopes of the topics following the prescription of the control loop model by interacting \r
-with controlling function of DMaaP.\r
+Prior to Jakarta release, DCAE architecture comprised of DCAE Platform and DCAE Service components; DCAE Platform supported the functions to deploy, host and perform LCM applications of Service components. With Jakarta release, these DCAE Platform components centered around Cloudify have been removed and all Microservice orchestration and lifecycle management are supported through Helm/Kubernetes.\r
 \r
-DCAE Service components are the  functional entities that realize the collection and analytics needs of ONAP control loops.  They include the collectors for various \r
-data collection needs, event processors for data standardization,  analytics that assess collected data, and various auxiliary microservices that assist data \r
-collection and analytics, and support other ONAP functions.  Service components and DMaaP buses form the "data plane" for DCAE, where DCAE collected data is \r
-transported among different DCAE service components.\r
+The DCAE services components includes all the microservices - collectors, analytics and event processor which supports active data-flow  and processing as required by ONAP usecases. These Service components are the functional entities that realize the various\r
+data collection needs, event processors for data standardization, analytics that assess collected data, and various auxiliary microservices that assist automated closed loop flows.\r
 \r
-DCAE use Consul's distributed K-V store service to manage component configurations where each key is based on the unique identity of a DCAE component (identified by ServiceComponentName), and the value is the configuration for the corresponding component. The K-V store for each service components is created during deployment. DCAE platform creates and updates the K-V pairs based on information provided as part of the control loop blueprint deployment, or through a notification/trigger received from other ONAP components such as Policy Framework and CLAMP.  Either through periodically polling or proactive pushing, the DCAE  components get the configuration updates in realtime and apply the configuration updates.  DCAE Platform also offers dynamic template resolution for configuration parameters that are dynamic and only known by the DCAE platform, such as dynamically provisioned DMaaP topics. This approach standardizes component deployment and configuration management for DCAE service components in multi-site deployment.\r
+The architecture of DCAE with Helm transformation is more flexible, microservice oriented and supports model based component design and deployment through DCAE-MOD. Also with migration to helm, DCAE microservice deployments can be handled independently, dependencies are captured under its helm charts.\r
+\r
+All Microservice configuration are currently resolved through files mounted via Configmap created part of dcae-services helm chart deployment.\r
 \r
 \r
 DCAE Components\r
 ---------------\r
 \r
-The following lists the components included in ONAP DCAE .  All DCAE components are offered as Docker containers.  Following ONAP level deployment methods, these components can be deployed as Kubernetes Deployments and Services.  \r
-\r
-- DCAE Platform\r
-    - Core Platform\r
-        - Cloudify Manager: TOSCA model executor.  Materializes TOSCA models of control loop, or Blueprints, into properly configured and managed virtual DCAE functional components.\r
-        - Plugins (K8S, Dmaap, Policy, Clamp, Postgres)\r
-    - Extended Platform\r
-        - Configuration Binding Service: Agent for service component configuration fetching; providing configuration parameter resolution.\r
-        - Deployment Handler: API for triggering control loop deployment based on control loop's TOSCA model.\r
-        - Policy Handler: Handler for fetching policy updates from Policy engine; and updating the configuration policies of KV entries in Consul cluster KV store for DCAE components.\r
-        - Service Change Handler: Handler for interfacing with SDC; receiving new TOSCA models; and storing them in DCAE's own inventory.\r
-        - DCAE Inventory-API: API for DCAE's TOSCA model store.\r
-    - Platform services\r
-        - Consul: Distributed service discovery service and KV store.\r
-        - Postgres Database: DCAE's TOSCA model store.\r
-        - Redis Database: DCAE's transactional state store, used by TCA for supporting persistence and seamless scaling.\r
+The following lists the components included in ONAP DCAE.  All DCAE components are offered as Docker containers.  Following ONAP level deployment methods, these components can be deployed as Kubernetes Deployments and Services.\r
 \r
 - DCAE Services\r
     - Collectors\r
@@ -64,27 +40,40 @@ The following lists the components included in ONAP DCAE .  All DCAE components
         - PNF Registration Handler\r
         - VES Mapper Service\r
         - PM-Mapper Service\r
-        - BBS-EventProcessor Service\r
         - PM Subcription Handler\r
         - DataLake Handlers (DL-Admin, DL-Feeder, DES)\r
-        \r
+    - Misc Services\r
+        - VES OpenApi Manager (Optional validator of VES_EVENT type artifacts executed during Service distributions)\r
+\r
 \r
 The figure below shows the DCAE architecture and how the components work with each other.  The components on the right constitute the Platform/controller components which are statically deployed. The components on the right represent the services which can be both deployed statically or dynamically (via CLAMP)\r
 \r
-.. image:: images/R7_architecture diagram.png\r
\r
+..\r
+  The following diagram has been created on https://app.diagrams.net/. There is an editable version of the diagram\r
+  in repository under path docs/sections/images/architecture_diagram.drawio. Import this file to mentioned page to edit diagram.\r
+\r
+.. image:: images/R12_architecture_diagram.png\r
+\r
 \r
 Deployment Scenarios\r
 --------------------\r
 \r
-Because DCAE service components are deployed on-demand following the control loop needs for managing ONAP deployed services, DCAE must support dynamic and on-demand deployment of service components based on ONAP control loop demands.  This is why all other ONAP components are launched from the ONAP level method, DCAE only deploys a subset of its components during this ONAP deployment process and rest of DCAE components will be deployed on-demand based on usecase needs triggered by control loop request originated from CLAMP, or even by operator manually invoking DCAE's deployment API call.\r
-\r
-ONAP supports deployment through OOM Helm Chart currently (Heat deployment support is discontinued since R3). Hence all DCAE Platform components are deployed via Helm charts - this includes Cloudify Manager, ConfigBinding service, ServiceChange Handler, Policy Handler, Dashboard and Inventory, each with corresponding Helm charts under OOM (https://git.onap.org/oom/tree/kubernetes/dcaegen2/components).   Once DCAE platform components are up and running, rest of DCAE service components required for ONAP  flow are deployed via bootstrap POD, which invokes Cloudify Manager API with Blueprints for various DCAE components that are needed for the built-in collections and control loops flow support.  \r
+Because DCAE service components are deployed on-demand following the control loop needs for managing ONAP deployed services, DCAE must\r
+support dynamic and on-demand deployment of service components based on ONAP control loop demands.\r
 \r
-To keep the ONAP footprint minimal, only minimal set of MS (required for ONAP Integration usecases) are deployed via bootstrap pod. Rest of service blueprints are available for operator to deploy on-demand as required. \r
+With DCAE Transformation to Helm completed in Jakarta/R10 release, all DCAE components deployment are supported only via helm.\r
+ Charts for individual MS are available under **dcaegen2-services** directory under OOM project\r
+ (https://git.onap.org/oom/tree/kubernetes/dcaegen2-services/components). To keep the ONAP footprint minimal, only minimal set of MS\r
+ (required for ONAP Integration usecases) are enabled by default on ONAP/DCAE deployment, which includes four DCAE services (HV VES\r
+ collector, VES collector, PNF Registration Handler, and TCA (Gen2) analytics service).\r
 \r
 More details of the DCAE deployment can be found under Installation section.\r
 \r
+Architectural Reference\r
+-----------------------\r
+\r
+ - `ARC DCAE Component Description <https://wiki.onap.org/display/DW/ARC+DCAE+Component+Description+-+Kohn-R11>`_\r
+ - `R11 M2 ARC Proposal <https://wiki.onap.org/display/DW/DCAE+R11+Kohn+M2+Architecture+Review>`_\r
 \r
 Usage Scenarios\r
 ---------------\r
@@ -101,13 +90,18 @@ For ONAP  DCAE participates in the following use cases.
 \r
 - CCVPN :  RestConf Collector, Holmes\r
 \r
-- BBS : VES Collector, PRH, BBS-Event Processor, VES-Mapper, RESTConf Collector\r
+- PNF Registration: VES Collector, PRH\r
 \r
-- 5G Bulk PM : DataFile Collector, PM-Mapper, HV-VES\r
+- 5G Bulk PM : DataFile Collector, PM-Mapper, HV-VES, PMSH\r
 \r
 - 5G OOF SON: VES collector, SON-Handler\r
 \r
 - 5G E2E Network Slicing: VES collector, Slice Analysis, DES, PM-Mapper, DFC, Datalake feeder\r
\r
 \r
-In addition, DCAE supports on-demand deployment and configuration of service components via CLAMP.  In such case CLAMP invokes the deployment and configuration of additional TCA instances.\r
+- IBN/CCVPN : VES collector, Slice Analysis, DES,  Datalake feeder\r
+\r
+\r
+DCAE supports on-demand deployment and configuration of all its microservices via helm charts. As components can also be onboarded\r
+through MOD, the flow output is distributed as helm charts which can be installed on-demand also by the operators.\r
+\r
+Policy/CLAMP K8S participant is another ONAP client which can trigger deployment of DCAE Microservice charts.\r