...
Code Block | ||||
---|---|---|---|---|
| ||||
@startuml title This is the design flow that will be tested in Beijing actor SDC_Tester participant SDC participant CLAMP participant Policy box "DCAE controller" participant SCH database Inventory end box autonumber SDC_Tester -> SDC : Create vCPE service composed\nof one VNF resource note left Closed loop 1 end note SDC_Tester -> SDC : Upload DCAE TCA blueprint\nas artifact SDC_Tester -> SDC : Test, Certify, Distribute Service SDC -> CLAMP : Blueprint distribution SDC -> SCH : Blueprint distribution SCH -> Inventory : Save blueprint @enduml |
Flow 2: Configure and Deploy
...
First Control Loop
...
Code Block | ||||
---|---|---|---|---|
| ||||
@startuml title This is the install flow that will be tested in Beijing actor SDCCLAMP_Tester participant SDCCLAMP participant CLAMP actor CLAMP_Tester participant DCAE_SCHPolicy box "DCAE controller" database Inventory participant DCAE_Deployment participant DCAE_Inventory"Deployment-handler" as DH control Cloudify participant Policy participant DCAE_Policy_Handler participant DCAE_Consul autonumber SDC_Tester -> SDC : Create vCPE service composed\nof one VNF resource note left Closed loop 1 end note SDC_Tester -> SDC : Upload DCAE TCA blueprint\nas artifact SDC_Tester -> SDC : Test, Certify, Distribute Service SDC -> CLAMP : Blueprint distribution SDC -> DCAE_SCH : Blueprint distribution DCAE_SCH -> DCAE_Inventory : Save blueprint"Policy-handler" as PH database "Consul-kv" as consul participant "Config-binding service" as CBS end box participant TCA_Instance autonumber hnote right CLAMP_Tester: decided to install TCA CLAMP_Tester -> CLAMP : Configure thresholds\n of control loop note left Closed loop 1 end note CLAMP_Tester -> CLAMP : Configure actions\n of control loop CLAMP -> Policy : Create Configuration\n and Operational Policies Policy -> DCAE_Policy_Handler : Configuration Policy DCAE_Policy_Handler -> DCAE_Consul: Store config CLAMP -> DCAE_Inventory : Get DCAE Service Id\n based on Distributed Parameters CLAMP -> DCAE_Deployment : Trigger Deployment instance group install TCA_Instance TCA_InstanceCLAMP -> DCAE_Consul: Get Configuration @enduml |
Flow 2: Deploy and Configure Second Control Loop
Code Block | ||||
---|---|---|---|---|
| ||||
@startuml title This is the flow that will be tested in Beijing actor SDC_Tester participant SDC participant CLAMP actor CLAMP_Tester participant DCAE_SCH participant DCAE_Deployment participant DCAE_Inventory participant Policy participant DCAE_Policy_Handler participant DCAE_Consul autonumber SDC_Tester -> SDC : Create vFirewall service composed\nof one VNF resource note left Closed loop 2 end note SDC_Tester -> SDC : Upload DCAE TCA blueprint\nas artifact SDC_Tester -> SDC : Test, Certify, Distribute Service SDCDH : install instance of TCA with policy_id as input activate DH DH -> Inventory : get blueprint for TCA Inventory --> DH : blueprint for TCA DH -> Cloudify : install TCA_Instance activate Cloudify DH -> CLAMP : Blueprint distribution SDC -> DCAE_SCH : Blueprint distribution DCAE_SCH -> DCAE_Inventory : Save blueprint CLAMP_Testerresponse--started installation of TCA_Instance deactivate DH Cloudify -> CLAMPPH : Configureget thresholdspolicy\n of control loop CLAMP_Tester -> CLAMP : Configure actions\n of control loop CLAMPby policy_id PH -> Policy : Create/getConfig Configurationpolicy andfor OperationalpolicyName Policies Policy -> DCAE_Policy_Handler : Configuration Policy DCAE_Policy_Handler -> DCAE_Consul: Store config CLAMP -> DCAE_Inventory : Get DCAE Service Id based on Distributed Parameters CLAMP -> DCAE_Deployment : Trigger Deployment participant TCA_Instance note right There are now two TCA instances deployed end note TCA_Instance -> DCAE_Consul: Get Configuration @enduml |
Flow 3: Deploy and Configure Third Control Loop
...
title | UML Code for Flow 3 |
---|---|
collapse | true |
...
= policy_id
Policy --> PH : return found policy
PH --> Cloudify : policy by policy_id
Cloudify -> consul: store config with policies\n for TCA_Instance
create TCA_Instance
Cloudify -> TCA_Instance: create instance of TCA
deactivate Cloudify
activate TCA_Instance
TCA_Instance -> CBS: get Config\n and policies
CBS -> consul: get Config\n and policies
consul --> CBS: Config\n and policies
CBS --> TCA_Instance: Config and policies
TCA_Instance -->]: continue
deactivate TCA_Instance
end group
@enduml |
Flow 4: Run Control Loop
...