Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

STATUS: DraftPTL approved, waiting for architecure approval

MSB (Micro Service Bus):

1 High Level Component Definition and Architectural Relationships 

...

Drawio
bordertrue
viewerToolbartrue
fitWindowfalse
diagramNameCLAMP MSB System Context View
simpleViewerfalse
width
diagramWidth624621
revision15


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)

 Display and update:

Events received and actions taken on the control loop.
Interface NameInterface Definition Interface Capabilities
CLAMPEMSBE-1Control Loop Lifecycle Management Interface.   A user interface for:
  • Selecting the control loop flow
  • Entering configuration policy parameters
  • Entering operational policy parameters
  • Managing life cycle of DCAE control flow blueprint 
CLAMPE-2Control loop dashboard.  User interface to show the overall status of the control loop through DMAAP eventsRegistration and Discovery interface The registration and discovery interface provides the following capabilities:
  • Register/Unregister a service
  • Discover a service 
MSBE-2Service Request Interfaces

Provides the capability to deliver and recieve a service request and subsequent communication.

MSBE-3  MSB Admin InterfaceProvides 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:

...

MSB consumes the following Interfaces:

Deploy/remove DCAE application. 
Interface NamePurpose Reason For Use
SDCE-6To receive the Control Loop Blueprint from SDCTo receive
PolicyE-2To create and configure the closed Loop Operational Policies and Configuration policies(DCAE Aps. Config.)
DCAEE-x Retrieve DCAE appplication status
DCAEE-y N/AN/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 

DrawiobordertrueviewerToolbartruefitWindowfalsediagramNameCLAMP runtime architectruesimpleViewerfalsewidthdiagramWidth821revision1FFS

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

...

8. References

  1. Microservice Bus API Documentation