...
Code Block | ||||
---|---|---|---|---|
| ||||
@startuml
title This is the flow for onboarding DCAE components. All components get onboarded and made available to DCAE template designer.
box "DCAE Development"
actor Component_Developer
entity DCAE_Comp_JSON
participant DCAE_CLI
end box
box "SDC GUI" #f4c69f
participant TOSCA_Tool as DCAE_TOSCA_Tool
entity "MODELS/BLUEPRINTS" as MODELS
participant SDC
database SDC_Catalog
end box
autonumber
loop for all DCAE Components
Component_Developer -> DCAE_Comp_JSON : Creates JSON schema\nspecifying the metadata\nrequired by this component.\nInputs\nOutputs\nConfiguration
Component_Developer <-> DCAE_CLI : Verifies the spec and deployment (if CBS/Consul are setup)
DCAE_Comp_JSON -> DCAE_TOSCA_Tool : Use TOSCA tool to\ncreate artifact.
DCAE_TOSCA_Tool -> MODELS : TOSCA Artifact created.
MODELS -> SDC : Imports into SDC\nto onboard their\nDCAE component
SDC -> SDC_Catalog : Saved into catalog
end
@enduml
|
...
For a complete description, examples and details of on-boarding of DCAE Micro Services, please refer to MicroServices Onboarding in ONAP.
Day 0: DCAE Design Studio Creation of Service Assurance Flows
...
Day 1: SDC/CLAMP Create a Control Loop in a Service
Code Block | ||||
---|---|---|---|---|
| ||||
@startuml title This is the flow during Service Design for designing, Controlconfiguring Loopand Blueprintsdeploying viaControl CLAMP.Loops actor Service_Designer participant SDC participant database SDC_Catalog entity Service_1 #ffb266 entity VNF_Artifact #b266ff participant CLAMPCLAMP actor Operator participant DCAE_SCH participant DCAE_Deployment participant DCAE_Inventory participant Policy databaseparticipant DCAE_Policy_RepoHandler autonumber Service_Designer -> SDC : Log into SDC Create/Test/Certify service, \nwith control loop DCAE flow SDC -> SDCCLAMP : CreateBlueprint servicedistribution loopSDC for all VNFs note right For simplicity, assume the designer will create a control loop per VNF. end note SDC_Catalog -> VNF_Artifact : Find artifact VNF_Artifact -> Service_1 : Add VNF to service. SDC -> CLAMP : Go to CLAMP\nto create a Control Loop CLAMP -> SDC_Catalog : Find DCAE Template create collections DCAE_Template_1 #red CLAMP -> DCAE_Template_1 : Select DCAE Template\nand create a working model\nof the Control Loop. create collections Model_1 #00FFFF DCAE_Template_1 -> Model_1 : Now designing a model\nbased on the template. loop for all DCAE Components in Template (now Model) Model_1 -> Model_1 : Configure the\nDCAE Component as desired. Model_1 -> Policy : Create DCAE Component\nConfig Policy based on default TOSCA create entity Config_Policy #green Policy -> Config_Policy : Creates XACML Config_Policy -> Policy_Repo : Stores runtime\config policy. Policy -> Model_1 : Returns Policy ID end loop Model_1 -> Policy : Create Operational Policy create entity Op_Policy #green Policy -> Op_Policy : Using a Drools\ncontrol loop template,\na policy is created for\nthis specific control loop. Op_Policy -> Policy_Repo : Stores runtime operational policy. Policy -> Model_1 : Returns Policy ID Model_1 -> SDC_Catalog : Generate "BLUEPRINT" and save to catalog end loop SDC -> SDC_Catalog : Save service to database-> DCAE_SCH : Blueprint distribution DCAE_SCH -> DCAE_Inventory : Save blueprint Operator -> CLAMP : Configuration of control loop CLAMP -> Policy : Create Configuration and Operational Policies Policy -> DCAE_Policy_Handler : Configuration Policy CLAMP -> DCAE_Inventory : Get DCAE Service Id based on Distributed Parameters note left Steps 8 and 9 are involved when there is no pre-deployment of control loop in DCAE end note CLAMP -> DCAE_Deployment : Trigger Deployment @enduml |
TODO: Update UML with correct terminology. Update UML to add SDC Service Distribution
...