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