blob: a75591b885b96938c30470178b9695b76918aaf1 [file] [log] [blame]
seshukm9c58cdd2018-08-21 18:48:29 +08001.. 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 CIc00b2c12020-04-08 20:25:19 +00004.. _architecture:
seshukm9c58cdd2018-08-21 18:48:29 +08005
6SO - Architecture
k.kazaka1131ac2019-07-24 14:28:09 +02007=================
seshukm9c58cdd2018-08-21 18:48:29 +08008
seshukm7a286512018-11-30 13:21:36 +08009SO Functional View
k.kazaka1131ac2019-07-24 14:28:09 +020010------------------
seshukm7a286512018-11-30 13:21:36 +080011
seshukm9c58cdd2018-08-21 18:48:29 +080012.. image:: ../images/SO_Architecture_1.png
13
seshukm7a286512018-11-30 13:21:36 +080014SO Deployment View
15--------------------
16
17.. image:: ../images/SO_Architecture_Internal.png
18
seshukm9c58cdd2018-08-21 18:48:29 +080019SO Sub-Components
20------------------
21
22**API Handler**
23
24 RESTful interface to northbound clients
k.kazaka1131ac2019-07-24 14:28:09 +020025
26* Handle service-level and infrastructure (VNF & network) requests
27
seshukm9c58cdd2018-08-21 18:48:29 +080028 Service-agnostic APIs
LF Jenkins CIc00b2c12020-04-08 20:25:19 +000029 * "Service Instantiation API"
seshukm9c58cdd2018-08-21 18:48:29 +080030
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.kazaka1131ac2019-07-24 14:28:09 +020035
seshukm9c58cdd2018-08-21 18:48:29 +080036 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 CIc00b2c12020-04-08 20:25:19 +000047 Make use of common "building block" sub-flows
seshukm9c58cdd2018-08-21 18:48:29 +080048
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.kazaka1131ac2019-07-24 14:28:09 +020053
seshukm9c58cdd2018-08-21 18:48:29 +080054 Perform error handling/rollback
55
56**Resource Adapters**
57
58 Interfaces to lower level controllers and other ONAP components
seshukm7a286512018-11-30 13:21:36 +080059 * Platform Orchestrator, SDN-Controller, APP-Controller, VFC-Controllers, Multi-Cloud
seshukm9c58cdd2018-08-21 18:48:29 +080060 * 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.kazaka1131ac2019-07-24 14:28:09 +020063
seshukm9c58cdd2018-08-21 18:48:29 +080064 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.kazaka1131ac2019-07-24 14:28:09 +020073
seshukm9c58cdd2018-08-21 18:48:29 +080074 Request DB
75 * Tracks open and completed requests
k.kazaka1131ac2019-07-24 14:28:09 +020076
seshukm9c58cdd2018-08-21 18:48:29 +080077 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.kazaka1131ac2019-07-24 14:28:09 +020085
seshukm9c58cdd2018-08-21 18:48:29 +080086**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.kazaka1131ac2019-07-24 14:28:09 +020091
seshukm9c58cdd2018-08-21 18:48:29 +080092 Receive distributions as TOSCA models
93
94 Populate SO Catalog
95
96 Support self-service updates to models and artifacts
seshukmcb4f8702018-08-21 20:49:19 +080097
seshukmb3b1c9f2018-08-31 21:33:51 +080098**SO Monitoring**
99
seshukmcb4f8702018-08-21 20:49:19 +0800100 Monitor BPMN Workflow execution by providing
seshukm1a5001e2018-09-22 18:30:47 +0800101 * Service list search based on search criteria
102 * Service statistic
103 * Service Process Instance Rendering and Detail
104
Byung-Woo Jun872172d2019-04-17 12:51:30 -0400105**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
rope2526df62b22019-10-16 13:37:35 +0100112 * 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 Jun872172d2019-04-17 12:51:30 -0400114
seshukm9c58cdd2018-08-21 18:48:29 +0800115Third Party and Open Source
116---------------------------
117
118**BPMN Engine**
119 Camunda (open source)
120
121**Other Open Source Components of Note:**
seshukmcb4f8702018-08-21 20:49:19 +0800122 Tomcat
seshukm9c58cdd2018-08-21 18:48:29 +0800123 MySQL/MariaDB
LF Jenkins CIc00b2c12020-04-08 20:25:19 +0000124 Openstack Java SDK ("woorea")