seshukm | 9c58cdd | 2018-08-21 18:48:29 +0800 | [diff] [blame] | 1 | .. This work is licensed under a Creative Commons Attribution 4.0 International License. |
| 2 | .. http://creativecommons.org/licenses/by/4.0 |
| 3 | .. Copyright 2018 Huawei Technologies Co., Ltd. |
LF Jenkins CI | c00b2c1 | 2020-04-08 20:25:19 +0000 | [diff] [blame] | 4 | .. _architecture: |
seshukm | 9c58cdd | 2018-08-21 18:48:29 +0800 | [diff] [blame] | 5 | |
| 6 | SO - Architecture |
k.kazak | a1131ac | 2019-07-24 14:28:09 +0200 | [diff] [blame] | 7 | ================= |
seshukm | 9c58cdd | 2018-08-21 18:48:29 +0800 | [diff] [blame] | 8 | |
seshukm | 7a28651 | 2018-11-30 13:21:36 +0800 | [diff] [blame] | 9 | SO Functional View |
k.kazak | a1131ac | 2019-07-24 14:28:09 +0200 | [diff] [blame] | 10 | ------------------ |
seshukm | 7a28651 | 2018-11-30 13:21:36 +0800 | [diff] [blame] | 11 | |
seshukm | 9c58cdd | 2018-08-21 18:48:29 +0800 | [diff] [blame] | 12 | .. image:: ../images/SO_Architecture_1.png |
| 13 | |
seshukm | 7a28651 | 2018-11-30 13:21:36 +0800 | [diff] [blame] | 14 | SO Deployment View |
| 15 | -------------------- |
| 16 | |
| 17 | .. image:: ../images/SO_Architecture_Internal.png |
| 18 | |
seshukm | 25c4a84 | 2020-04-15 13:44:29 +0530 | [diff] [blame] | 19 | .. image:: ../images/so-architecture.png |
| 20 | |
seshukm | 9c58cdd | 2018-08-21 18:48:29 +0800 | [diff] [blame] | 21 | SO Sub-Components |
| 22 | ------------------ |
| 23 | |
| 24 | **API Handler** |
| 25 | |
| 26 | RESTful interface to northbound clients |
k.kazak | a1131ac | 2019-07-24 14:28:09 +0200 | [diff] [blame] | 27 | |
| 28 | * Handle service-level and infrastructure (VNF & network) requests |
| 29 | |
seshukm | 9c58cdd | 2018-08-21 18:48:29 +0800 | [diff] [blame] | 30 | Service-agnostic APIs |
LF Jenkins CI | c00b2c1 | 2020-04-08 20:25:19 +0000 | [diff] [blame] | 31 | * "Service Instantiation API" |
seshukm | 9c58cdd | 2018-08-21 18:48:29 +0800 | [diff] [blame] | 32 | |
| 33 | Model-driven recipe selection |
| 34 | * Use SO Catalog to map input requests to BPMN flows |
| 35 | * Dynamic lookup based on service-model + action |
| 36 | * Input data forwarded to BPMN flow |
k.kazak | a1131ac | 2019-07-24 14:28:09 +0200 | [diff] [blame] | 37 | |
seshukm | 9c58cdd | 2018-08-21 18:48:29 +0800 | [diff] [blame] | 38 | Track open and completed requests via SO Request DB |
| 39 | |
| 40 | Multiple API-H modules may support different APIs |
| 41 | |
| 42 | **BPMN Execution Engine** |
| 43 | |
| 44 | Open-source Camunda platform |
| 45 | * Support BPMN 2.0 service recipes |
| 46 | |
| 47 | Expose RESTful interface to API-H (unique path per recipe) |
| 48 | |
LF Jenkins CI | c00b2c1 | 2020-04-08 20:25:19 +0000 | [diff] [blame] | 49 | Make use of common "building block" sub-flows |
seshukm | 9c58cdd | 2018-08-21 18:48:29 +0800 | [diff] [blame] | 50 | |
| 51 | Sequence orchestration steps for each Resource in the recipe |
| 52 | * Request and configure network resources via SDN-C |
| 53 | * Manage cloud resources via PO (OpenStack) |
| 54 | * Update inventory via A&AI |
k.kazak | a1131ac | 2019-07-24 14:28:09 +0200 | [diff] [blame] | 55 | |
seshukm | 9c58cdd | 2018-08-21 18:48:29 +0800 | [diff] [blame] | 56 | Perform error handling/rollback |
| 57 | |
| 58 | **Resource Adapters** |
| 59 | |
| 60 | Interfaces to lower level controllers and other ONAP components |
seshukm | 7a28651 | 2018-11-30 13:21:36 +0800 | [diff] [blame] | 61 | * Platform Orchestrator, SDN-Controller, APP-Controller, VFC-Controllers, Multi-Cloud |
seshukm | 9c58cdd | 2018-08-21 18:48:29 +0800 | [diff] [blame] | 62 | * Hides the details of complex interfaces (e.g. OpenStack APIs) |
| 63 | * Expose interfaces to BPMN flows as SOAP or REST APIs |
| 64 | * Support synchronous and asynchronous operations |
k.kazak | a1131ac | 2019-07-24 14:28:09 +0200 | [diff] [blame] | 65 | |
seshukm | 9c58cdd | 2018-08-21 18:48:29 +0800 | [diff] [blame] | 66 | Provided as part of SO platform for use by all BPMN flows |
| 67 | |
| 68 | Use SO Catalog to map resource requests to a recipe/template |
| 69 | |
| 70 | Data-driven design |
| 71 | * Catalog templates may be updated via self-service (outside of release cycles) |
| 72 | * Merge input parameters with templates at run-time |
| 73 | |
| 74 | **Data Stores** |
k.kazak | a1131ac | 2019-07-24 14:28:09 +0200 | [diff] [blame] | 75 | |
seshukm | 9c58cdd | 2018-08-21 18:48:29 +0800 | [diff] [blame] | 76 | Request DB |
| 77 | * Tracks open and completed requests |
k.kazak | a1131ac | 2019-07-24 14:28:09 +0200 | [diff] [blame] | 78 | |
seshukm | 9c58cdd | 2018-08-21 18:48:29 +0800 | [diff] [blame] | 79 | SO Catalog |
| 80 | * SO view of the SDC Catalog |
| 81 | * service and resource models, recipes, and templates |
| 82 | * Populated via SDC distribution service from TOSCA models |
| 83 | |
| 84 | Camunda DB |
| 85 | * Maintain state for BPMN flows |
| 86 | * Supports multiple active engines |
k.kazak | a1131ac | 2019-07-24 14:28:09 +0200 | [diff] [blame] | 87 | |
seshukm | 9c58cdd | 2018-08-21 18:48:29 +0800 | [diff] [blame] | 88 | **SDC Distribution Client** |
| 89 | |
| 90 | Receive updated service models from SDC |
| 91 | * Event-bus notifications when new models available |
| 92 | * HTTP retrieval of models (TOSCA) and artifacts (Heat) |
k.kazak | a1131ac | 2019-07-24 14:28:09 +0200 | [diff] [blame] | 93 | |
seshukm | 9c58cdd | 2018-08-21 18:48:29 +0800 | [diff] [blame] | 94 | Receive distributions as TOSCA models |
| 95 | |
| 96 | Populate SO Catalog |
| 97 | |
| 98 | Support self-service updates to models and artifacts |
seshukm | cb4f870 | 2018-08-21 20:49:19 +0800 | [diff] [blame] | 99 | |
seshukm | b3b1c9f | 2018-08-31 21:33:51 +0800 | [diff] [blame] | 100 | **SO Monitoring** |
| 101 | |
seshukm | cb4f870 | 2018-08-21 20:49:19 +0800 | [diff] [blame] | 102 | Monitor BPMN Workflow execution by providing |
seshukm | 1a5001e | 2018-09-22 18:30:47 +0800 | [diff] [blame] | 103 | * Service list search based on search criteria |
| 104 | * Service statistic |
| 105 | * Service Process Instance Rendering and Detail |
| 106 | |
Byung-Woo Jun | 872172d | 2019-04-17 12:51:30 -0400 | [diff] [blame] | 107 | **SO VNFM Adapter** |
| 108 | |
| 109 | Support external SVNFMs through SOL003 APIs |
| 110 | * Create, Instantiate, Terminate and Delete VNF, including Granting, Subscription and Lifecycle Notifications |
| 111 | * Tracking capability which VNFM instance has handled with which VNF instance |
| 112 | * BPMN Building Block workflows and Java-based recipes for VNF LCM |
| 113 | * VNFM Simulator for validating SO VNFM Adapter NBI and SBI for integration testing |
rope252 | 6df62b2 | 2019-10-16 13:37:35 +0100 | [diff] [blame] | 114 | * The SO ETSI CSIT Tests and running them, https://wiki.onap.org/display/DW/SO+ETSI+CSIT |
| 115 | * Testing the SO ETSI Alignment manually (Instantiate VNF using SVNFM), https://wiki.onap.org/pages/viewpage.action?pageId=68524128 |
Byung-Woo Jun | 872172d | 2019-04-17 12:51:30 -0400 | [diff] [blame] | 116 | |
seshukm | 9c58cdd | 2018-08-21 18:48:29 +0800 | [diff] [blame] | 117 | Third Party and Open Source |
| 118 | --------------------------- |
| 119 | |
| 120 | **BPMN Engine** |
| 121 | Camunda (open source) |
| 122 | |
| 123 | **Other Open Source Components of Note:** |
seshukm | cb4f870 | 2018-08-21 20:49:19 +0800 | [diff] [blame] | 124 | Tomcat |
seshukm | 9c58cdd | 2018-08-21 18:48:29 +0800 | [diff] [blame] | 125 | MySQL/MariaDB |
LF Jenkins CI | c00b2c1 | 2020-04-08 20:25:19 +0000 | [diff] [blame] | 126 | Openstack Java SDK ("woorea") |