Lusheng Ji | 72c4fba | 2017-10-10 18:12:22 +0000 | [diff] [blame] | 1 | .. This work is licensed under a Creative Commons Attribution 4.0 International License. |
| 2 | .. http://creativecommons.org/licenses/by/4.0 |
Lusheng Ji | eaac78d | 2018-06-06 00:20:03 -0400 | [diff] [blame] | 3 | |
| 4 | |
Lusheng Ji | 72c4fba | 2017-10-10 18:12:22 +0000 | [diff] [blame] | 5 | Architecture |
| 6 | ============ |
| 7 | |
Lusheng Ji | 768421b | 2018-06-01 16:36:54 -0400 | [diff] [blame] | 8 | Data Collection Analytics and Events (DCAE) is the data collection and analysis subsystem of ONAP. Its tasks include collecting measurement, fault, status, configuration, and other types of data from network entities and infrastructure that ONAP interacts with, applying analytics on collected data, and generating intelligence (i.e. events) for other ONAP components such as Policy, APPC, and SDNC to operate upon; hence completing the ONAP's close control loop for managing network services and applications. |
Lusheng Ji | 72c4fba | 2017-10-10 18:12:22 +0000 | [diff] [blame] | 9 | |
Lusheng Ji | 768421b | 2018-06-01 16:36:54 -0400 | [diff] [blame] | 10 | The design of DCAE separates DCAE Services from DCAE Platform so that the DCAE system is flexible, elastic, and expansive enough for supporting the potentially infinite number of ways of constructing intelligent and automated control loops on distributed and heterogeneous infrastructure. |
| 11 | |
Lusheng Ji | eaac78d | 2018-06-06 00:20:03 -0400 | [diff] [blame] | 12 | DCAE Service components are the virtual functional entities that realize the collection and analysis needs of ONAP control loops. They include the collectors for various data collection needs, the analytics that assess collected data, and various auxiliary microservices that assist data collection and analytics, and support other ONAP functions. Service components and DMaaP buses form the "data plane" for DCAE, where DCAE collected data is transported among different DCAE service components. |
Lusheng Ji | 768421b | 2018-06-01 16:36:54 -0400 | [diff] [blame] | 13 | |
| 14 | On the other hand DCAE Platform components enable model driven deployment of service components and middleware infrastructures that service components depend upon, such as special storage and computation platforms. That is, when triggered by an invocation call, DCAE Platform follows the TOSCA model of the control loop that is specified by the triggering call, interacts with the underlying networking and computing infrastructure such as OpenSatck installations and Kubernetes clusters to deploy and configure the virtual apparatus (i.e. the collectors, the analytics, and auxiliary microservices) that are needed to form the control loop, at locations that are requested by the requirements of the control loop model. DCAE Platform also provisions DMaaP topics and manages the distribution scopes of the topics following the prescription of the control loop model by interacting with controlling function of DMaaP. |
| 15 | |
| 16 | DCAE service components operate following a service discovery model. A highly available and distributed service discovery and Key-Value store service, embodied by a Consul cluster, is the foundation for this approach. DCAE components register they identities and service endpoint access parameters with the Consul service so that DCAE components can locate the API endpoint of other DCAE components by querying Consul with the well know service identities of other components. |
| 17 | |
| 18 | During the registration process, DCAE components also register a health-check API with the Consul so that the operational status of the components are verified. Consul's health check offers a separate path for DACE and ONAP to learn about module operation status that would still be applicable even when the underlying infrastructure does not provide native health-check methods. |
| 19 | |
| 20 | More over, Consul's distributed K-V store service is the foundation for DCAE to distribute and manage component configurations where each key is based on the unique identity of a DACE component, and the value is the configuration for the corresponding component. DCAE platform creates and updates the K-V pairs based on information provided as part of the control loop blueprint, or received from other ONAP components such as Policy Framework and SDC. 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. |
| 21 | |
| 22 | |
Vijay VK | 2648c6d | 2018-09-19 04:30:37 +0100 | [diff] [blame] | 23 | DCAE R3 Components |
Lusheng Ji | 768421b | 2018-06-01 16:36:54 -0400 | [diff] [blame] | 24 | ------------------ |
| 25 | |
Vijay VK | 2648c6d | 2018-09-19 04:30:37 +0100 | [diff] [blame] | 26 | The following list displays the details of what are included in ONAP DCAE R3. All DCAE R3 components are offered as Docker containers. Following ONAP level deployment methods, these components can be deployed as Docker containers running on Docker host VM that is launched by OpenStack Heat Orchestration Template; or as Kubernetes Deployments and Services by Helm. |
Lusheng Ji | 6553a13 | 2017-10-12 02:47:00 +0000 | [diff] [blame] | 27 | |
| 28 | - DCAE Platform |
| 29 | - Core Platform |
Lusheng Ji | 768421b | 2018-06-01 16:36:54 -0400 | [diff] [blame] | 30 | - Cloudify Manager: TOSCA model executor. Materializes TOSCA models of control loop, or Blueprints, into properly configured and managed virtual DCAE functional components. |
Lusheng Ji | 6553a13 | 2017-10-12 02:47:00 +0000 | [diff] [blame] | 31 | - Extended Platform |
Lusheng Ji | 768421b | 2018-06-01 16:36:54 -0400 | [diff] [blame] | 32 | - Configuration Binding Service: Agent for service component configuration fetching; providing configuration parameter resolution. |
| 33 | - Deployment Handler: API for triggering control loop deployment based on control loop's TOSCA model. |
| 34 | - 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. |
| 35 | - Service Change Handler: Handler for interfacing with SDC; receiving new TOSCA models; and storing them in DCAE's own inventory. |
| 36 | - DCAE Inventory-API: API for DCAE's TOSCA model store. |
| 37 | - Platform services |
| 38 | - Consul: Distributed service discovery service and KV store. |
Donald Hunter | a5683c6 | 2018-11-06 22:54:51 +0000 | [diff] [blame] | 39 | - PNDA: Platform for Network Data Analytics. |
Lusheng Ji | 768421b | 2018-06-01 16:36:54 -0400 | [diff] [blame] | 40 | - Postgres Database: DCAE's TOSCA model store. |
| 41 | - Redis Database: DCAE's transactional state store, used by TCA for supporting persistence and seamless scaling. |
Lusheng Ji | 6553a13 | 2017-10-12 02:47:00 +0000 | [diff] [blame] | 42 | |
| 43 | - DCAE Services |
| 44 | - Collectors |
Lusheng Ji | 768421b | 2018-06-01 16:36:54 -0400 | [diff] [blame] | 45 | - Virtual Event Streaming (VES) collector |
| 46 | - SNMP Trap collector |
Vijay VK | 2648c6d | 2018-09-19 04:30:37 +0100 | [diff] [blame] | 47 | - High-Volume VES collector (HV-VES) |
| 48 | - DataFile collector |
Lusheng Ji | 6553a13 | 2017-10-12 02:47:00 +0000 | [diff] [blame] | 49 | - Analytics |
Lusheng Ji | 768421b | 2018-06-01 16:36:54 -0400 | [diff] [blame] | 50 | - Holmes correlation analytics |
Vijay VK | 2648c6d | 2018-09-19 04:30:37 +0100 | [diff] [blame] | 51 | - CDAP based Threshold Crosssing Analytics application (tca) |
| 52 | - Dockerized standalone TCA (tca-gen2) |
Lusheng Ji | 768421b | 2018-06-01 16:36:54 -0400 | [diff] [blame] | 53 | - Microservices |
| 54 | - PNF Registration Handler |
| 55 | - Missing Heartbeat analytics |
| 56 | - Universal Data Mapper service |
| 57 | |
| 58 | |
Donald Hunter | a5683c6 | 2018-11-06 22:54:51 +0000 | [diff] [blame] | 59 | The figure below shows the DCAE R3 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) |
Lusheng Ji | 768421b | 2018-06-01 16:36:54 -0400 | [diff] [blame] | 60 | |
Vijay VK | 2648c6d | 2018-09-19 04:30:37 +0100 | [diff] [blame] | 61 | .. image:: images/R3_architecture_diagram.gif |
Lusheng Ji | 768421b | 2018-06-01 16:36:54 -0400 | [diff] [blame] | 62 | |
Vijay VK | 86cd893 | 2018-10-23 16:35:29 +0100 | [diff] [blame] | 63 | Note: Missing Heartbeat, Universal Data-mapper, PM-Mapper descoped from R3 |
Lusheng Ji | 768421b | 2018-06-01 16:36:54 -0400 | [diff] [blame] | 64 | |
| 65 | Deployment Scenarios |
| 66 | -------------------- |
| 67 | |
| 68 | 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 either as TOSCA executor launches a series of Blueprints, or deployed by control loop request originated from CLAMP, or even by operator manually invoking DCAE's deployment API call. |
| 69 | |
Vijay VK | 86cd893 | 2018-10-23 16:35:29 +0100 | [diff] [blame] | 70 | For R3, ONAP supports two deployment methodologies: Heat Orchestration Template method, or Helm Chart method. No matter which method, DCAE is deployed following the same flow. At its minimum, only the TOSCA model executor, the DCAE Cloudify Manager, needs to be deployed through the ONAP deployment process. Once the Cloudify Manager is up and running, all the rest of DCAE platform can be deployed by a bootstrap script, which makes a number of calls into the Cloudify Manager API with Blueprints for various DCAE components, first the DCAE Platform components, then the service components that are needed for the built-in control loops, such as vFW/vDNS traffic throttling. It is also possible that additional DCAE components are also launched as part of the ONAP deployment process using the ONAP level method instead of TOSCA model based method. |
Lusheng Ji | 768421b | 2018-06-01 16:36:54 -0400 | [diff] [blame] | 71 | |
Donald Hunter | a5683c6 | 2018-11-06 22:54:51 +0000 | [diff] [blame] | 72 | The PNDA platform service is an optional component that can be installed when using the OOM Helm Chart installation method on Openstack based Kubernetes infrastructure. |
| 73 | |
Vijay VK | 2648c6d | 2018-09-19 04:30:37 +0100 | [diff] [blame] | 74 | More details of the DCAE R3 deployment will be covered by the Installation section. |
Lusheng Ji | 72c4fba | 2017-10-10 18:12:22 +0000 | [diff] [blame] | 75 | |
| 76 | |
| 77 | Usage Scenarios |
| 78 | --------------- |
| 79 | |
Vijay VK | 2648c6d | 2018-09-19 04:30:37 +0100 | [diff] [blame] | 80 | For ONAP R3 DCAE participates in the following use cases. |
Lusheng Ji | 6553a13 | 2017-10-12 02:47:00 +0000 | [diff] [blame] | 81 | |
Vijay VK | 2648c6d | 2018-09-19 04:30:37 +0100 | [diff] [blame] | 82 | - vDNS: VES collector, TCA analytics |
| 83 | |
Donald Hunter | a5683c6 | 2018-11-06 22:54:51 +0000 | [diff] [blame] | 84 | - vFW: VES collector, TCA analytics, PNDA based analytics |
Lusheng Ji | 72c4fba | 2017-10-10 18:12:22 +0000 | [diff] [blame] | 85 | |
Lusheng Ji | 768421b | 2018-06-01 16:36:54 -0400 | [diff] [blame] | 86 | - vCPE: VES collector, TCA analytics |
| 87 | |
| 88 | - vVoLTE: VES collector, Holmes analytics |
| 89 | |
Vijay VK | 2648c6d | 2018-09-19 04:30:37 +0100 | [diff] [blame] | 90 | - OSAM/PNF: VES Collector, PRH |
| 91 | |
Lusheng Ji | 768421b | 2018-06-01 16:36:54 -0400 | [diff] [blame] | 92 | 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. |
| 93 | |