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