STATUS: DraftPTL approved, waiting for architecure approval
MSB (Micro Service Bus):
1 High Level Component Definition and Architectural Relationships
...
Drawio | ||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
The
...
- Create control loop from DCAE blueprint sent by SDC
- Create configuration policy from the policy Tosca sent by SDC
- Configure DCAE applications of the control loop
- Associate µService configuration policies to the DCAE application
- Configure the operations to be taken by the control loop (by creating/updating/deleting operational policies)
- Deploy/un-deploy control loop flow (blueprints) to DCAE
- Control loop visualization.
...
Microservice Bus function provides service registration, discovery and communication services for microservices as well as a gateway for internal & External communication for the services:
Register communication services
Discover communication services
Manage communication between microservices
OOM connects to MSB to register and update service information when it instantiates service endpoints.
MSB and DMaaP are complementary. MSB provides the restful API service registration/discovery/routing/API gateway, which addresses the sync/rpc communication pattern in microservice architecture, in contrast, DMaaP provides messages/file transfer, which mainly focused on the async communication pattern in microservices architecture.
2. API definitions
CLAMP provides MSB provides the following interfaces: (Question, is this one interface with 3 LCMs or one interface with these capabilities)
Interface Name | Interface Definition | Interface Capabilities | ||||
---|---|---|---|---|---|---|
CLAMPEMSBE-1 | Control Loop Lifecycle Management Interface. | A user interface for:
| CLAMPE-2 | Control loop dashboard. User interface to show the overall status of the control loop through DMAAP events | Registration and Discovery interface | The registration and discovery interface provides the following capabilities:
|
MSBE-2 | Service Request Interfaces | Provides the capability to deliver and recieve a service request and subsequent communication. | ||||
MSBE-3 | MSB Admin Interface | Provides the ability to administer policy and routing for the service requests. |
Note: xxxI interface is a Component internal interface. xxxxE interface is a component external interface
The current API documents can be found at:
The provided UI interfaces are found at: CLAMP latest user guide
- CLAMP internal APIs can be found: clamp swagger pdf
...
MSB consumes the following Interfaces:
Interface Name | Purpose Reason For Use | |
---|---|---|
SDCE-6 | To receive the Control Loop Blueprint from SDCTo receive | |
PolicyE-2 | To create and configure the closed Loop Operational Policies and Configuration policies(DCAE Aps. Config.) | |
DCAEE-x | Retrieve DCAE appplication status | |
DCAEE-y | Deploy/remove DCAE application.N/A | N/A |
3. Component Description:
A more detailed figure and Add link to read-the-docs description of the component.<< For later inclusion >>
4. known system limitations
Runtime: None
Clamp data redundancy is dependent on Kubernetes and the persistent volume.
Clamp application redundancy HA relies on Kubernetes
MSB API gateway has been tested in this scenario:
- Client(wrk) --> MSB API gateway --> Test service(Tomcat)
- Test machine (client, msb and test service): 8 cpu Core, 8G memory
- Network 10000M
The test result is 50000 request per second.
5. Used Models
Clamp uses MSB uses the following models:
- Service model (received from SDC)
- VNF model (received from SDC)
- Policy Model.
- -
6. System Deployment Architecture
Clamp consists of 5 containers:
- CLAMP container
- MariaDB container
- Kibana container
- E_Search container
- LogStash container
Drawio
7. New Capabilities in this Release
This release, CLAMP MSB adds the following Capabilities:
- Introduction of the model driven approach for Control Loopsadd policy-model to the SDC distribution
- automatic rendering of configuration policy UI based on the distributed policy model better rending of the display of the control loop flow based on the distributed blueprint
- enhanced internal model to better support model driven approach.
8. References
- CLAMP Overview & User Guide: https://onap.readthedocs.io/en/latest/submodules/clamp.git/docs/index.html
- CLAMP internal interfaces: https://onap.readthedocs.io/en/latest/_downloads/d3c9f924c6586fe411d40a05ad9b1bb7/swagger.pdf Microservice Bus API Documentation