STATUS: DRAFT
1. Scope
DESCRIPTION: This flow describes the distribution of the SDC Service CSAR. The SDC Service CSAR is a package of artifacts and output from design time that is created by the various design time GUIs. It captures the things associated with a service that has been defined in design time. This is then distributed to ONAP run-time components.
WHEN EXECUTED: After Design Time (before Run Time)
PURPOSE: To distribute the SDC Service CSAR to the run-time components
ACTORS:
- Service Designer
- Operations Specialist
2. Pre-Conditions
The preconditions are:
- PNFD and VNFD have been mapped to platform data/information model.
- SDC contains the verified service and resource descriptors
- Associated resources (PNF, VNF, ANF) used by services have been properly onboarded.
- Services have been defined in design time, and associated templates, control loops, blueprints have been incorporated into the service
- SDC has composed the Service Design CSAR package ready for distribution.
- The Certification Studio has certified the Package ready for distribution
- The Deployment Studio operator has identified the Service Design CSAR package for distribution
3. Information Flow
PlantUML Macro | ||
---|---|---|
| ||
@startuml participant SDC participant SO participant DCAE participant AAI Participant SDNC Participant APPC Participant CLAMP Participant POLICY Participant MC autonumber == Register to Service CSAR Distribution == SO-->SO: Register for Distribution note right: performed by all receptiants of the CSAR == Service CSAR Distribution == group Distribute to SO hnote over SO : SO Listner SDC -> SO : Service CSAR Distribution note left: Using DMaaP SO --> SO : Store CSAR SO -> SDC: Distribution Response end note over SDC, AAI #FFAAAA The flow to DCAE is not correct. DCAE SCH does not get the CSAR itself; SCH get the blueprint through the SDC distribution client (the URL is notified by the SDC and the client library is used to retrieve it) end note group Distribute to DCAE hnote over DCAE : Service Change Handler SDC -> DCAE: Service CSAR Distribution note left : Using DMaaP DCAE --> DCAE : Store CSAR DCAE -> SDC: Distribution Response end group Distribute to AAI hnote over AAI: AAI Listner SDC -> AAI : Service CSAR Distribution note left: Using DMaaP AAI --> AAI : Store CSAR AAI -> SDC: Distribution Response end group Distribute to SDNC hnote over SDNC: UEB Listner SDC -> SDNC : Service CSAR Distribution note left: Using DMaaP SDNC --> SDNC : Store CSAR SDNC -> SDC: Distribution Response end group Distribute to APPC hnote over APPC: Listner SDC -> APPC : Service CSAR Distribution note left: Using DMaaP APPC --> APPC: Store CSAR APPC -> SDC: Distribution Response end group Distribute to CLAMP hnote over CLAMP: Listner SDC -> CLAMP : Service CSAR Distribution note left: Using DMaaP CLAMP --> CLAMP: Store CSAR CLAMP -> SDC: Distribution Response end group Distribute to POLICY hnote over POLICY: Listner SDC -> POLICY : Service CSAR Distribution note left: Using DMaaP POLICY --> POLICY: Store CSAR POLICY -> SDC: Distribution Response end group Distribute to MultiCloud hnote over MC: Listner SDC -> MC: Service CSAR Distribution note left: Using DMaaP MC --> MC: Store CSAR MC-> SDC: Distribution Response end == Un Register to Service CSAR Distribution (optional, at any time) == SO-->SO: UnRegister for Distribution note right: performed by all receptiants of the CSAR that want to unregister @enduml |
REGISTER for distribution – SO, DCAE, A&AI, SDN-C, APP-C, VF-C register for distribution of the SDC Artifact distribution via the registration service of the SDCE-6 interface.
CSAR DISTRIBUTION to SO – SDC Distributes to service CSAR SO using the SDCE-6 interface. The SO listener retrieves the SDC CSAR package. SDC distributes the Service Distribution CSAR package which includes all of the artifacts, templates and resources related to the service created in design time. SDC publishes a topic onto DMaaP. Any RT component that has subscribed to that topic can get that package.
STORE CSAR – SO stores the distributed package.
- SO RESPONDS - SO responds to the SDC Distribution exchange using SDCE-6.
- CSAR Distribution to DCAE - SDC Distributes service CSAR to DCAE using the SDCE-6 interface, the DCAE Service Change Handler retrieves the SDC CSAR package, SDC distributes the Service Distribution CSAR package which includes all of the artifacts, including templates and resources related to the service created at design time.
- STORE CSAR – DCAE stores the distributed package.
- DCAE RESPONDS - DCAE responds to the SDC Distribution exchange using SDCE-6.
- CSAR DISTRIBUTION to A&AI - SDC Distributes service CSAR to A&AI using the SDCE-6 interface, the A&AI listner retrieves the SDC CSAR package, SDC distributes the Service Distribution CSAR package which includes all of the artifacts, including templates and resources related to the service created at design time.
- STORE CSAR – A&AI stores the distributed package.
- A&AI RESPONDS - A&AI responds to the SDC Distribution exchange using SDCE-6.
- CSAR DISTRIBUTION to SDN-C - SDC Distributes service CSAR to SDN-C using the SDCE-6 interface, the SDN-C UEB listner retrieves the SDC CSAR package, SDC distributes the Service Distribution CSAR package which includes all of the artifacts, including templates and resources related to the service created at design time.
- STORE CSAR – SDN-C stores the distributed package.
- SDN-C RESPONDS - SDN-C responds to the SDC Distribution exchange using SDCE-6.
- CSAR DISTRIBUTION to APP-C - SDC Distributes service CSAR to APP-C using the SDCE-6 interface, the APP-C listner retrieves the SDC CSAR package, SDC distributes the Service Distribution CSAR package which includes all of the artifacts, including templates and resources related to the service created at design time.
- STORE CSAR – APP-C stores the distributed package.
- APP-C RESPONDS - APP-C responds to the SDC Distribution exchange using SDCE-6.
- CSAR DISTRIBUTION to CLAMP- SDC Distributes service CSAR to CLAMP using the SDCE-6 interface, the CLAMP listner retrieves the SDC CSAR package, SDC distributes the Service Distribution CSAR package which includes all of the artifacts, including templates and resources related to the service created at design time.
- STORE CSAR – CLAMP stores the distributed package.
- CLAMP RESPONDS - CLAMP responds to the SDC Distribution exchange using SDCE-6.
- CSAR DISTRIBUTION to POLICY- SDC Distributes service CSAR to POLICY using the SDCE-6 interface, the POLICY listner retrieves the SDC CSAR package, SDC distributes the Service Distribution CSAR package which includes all of the artifacts, including templates and resources related to the service created at design time.
- STORE CSAR – POLICY stores the distributed package.
- POLICY RESPONDS - POLICY responds to the SDC Distribution exchange using SDCE-6.
- CSAR DISTRIBUTION to Multi-Cloud- SDC Distributes service CSAR to Multi-Cloud using the SDCE-6 interface, the Multi-Cloud listner retrieves the SDC CSAR package, SDC distributes the Service Distribution CSAR package which includes all of the artifacts, including templates and resources related to the service created at design time.
- STORE CSAR – Multi-Cloud stores the distributed package.
- Multi-Cloud RESPONDS - Multi-Cloud responds to the SDC Distribution exchange using SDCE-6.
- Unregister from CSAR distribution. At any time, any module can unregister from the reception of the CSAR using the Register for distribution service of SDCE-6 interface.
3b (temp) Alternative flow representation
PlantUML Macro | ||
---|---|---|
| ||
@startuml participant SDC participant "SDC Artifact Consumer" as Consumer autonumber == Register to Service CSAR Distribution == Consumer-->Consumer: Register for Distribution note right: performed by all receptiants of the CSAR note right: This includes SO, SDC, DCAE, AAI, SDNC, APPC, CLAMP, POLICY, MultiCloud == Service CSAR Distribution == group Distribute to SDC artifact consumer hnote over Consumer: Consumer Listner SDC -> Consumer: SDC Distribution Notification note left: Using DMaaP note right: Can be any consumer (SO, SDC, DCAE, AAI, SDNC, APPC, CLAMP, POLICY, MultiCloud) Consumer -> SDC: Request Artifact(Artifact Type) SDC -> Consumer: Repond (with Artifact) Consumer -> Consumer: Store Artifact Consumer -> SDC: Distrubution Status Update end == Un Register to Service CSAR Distribution (optional, at any time) == Consumer --> Consumer : UnRegister for Distribution note right: performed by all receptiants of the CSAR that want to unregister @enduml |
- REGISTER for distribution – SO, DCAE, A&AI, SDN-C, APP-C, VF-C register for distribution of the SDC Artifact distribution via the registration service of the SDCE-6 interface.
Note: This is only done once, not once per distribution request. CSAR Ready NOTIFICATION to Consumer– SDC informs the consumer that there is a new artifact to be distributed using the Distrbution notification interface of SDCE-6.
CSAR RETRIEVAL request: The cosumer requests to retrieves the artifact using the Artifact retrieval interface of SDCE-6, indicating the required Artifact Type.
- CSAR DELIVERY: As a response to (3) SDC delivers the artifact to the consumer using SDCE-6
- STORE CSAR: The Consumer stores the distributed artifact.
- Consumer Status Update- The consumer informs SDC that the artifact has been consumed using the distribution status interface of SDCE-6.
- Unregister from CSAR distribution. At any time, any module can unregister from the reception of the CSAR using the Register for distribution service of SDCE-6 interface.
Note: This is only done if the Consumer does not want to be informed of any more artifacts that are ready to distribute
3c (temp) Alternative flow
PlantUML Macro | ||
---|---|---|
| ||
@startuml participant SDC participant SO participant DCAE participant AAI Participant SDNC Participant APPC Participant CLAMP Participant POLICY Participant MC autonumber == Register to Service CSAR Distribution == SO-->SO: Register for Distribution note right: performed by all receptiants of the CSAR == Service CSAR Distribution == group Distribute to SO hnote over SO : SO Listner SDC -> SO : SDC Distribution Notification note left: Using DMaaP SO-> SDC : Request Artifcat (Artifact Type) SO --> SO : Store CSAR SO -> SDC: Distribution Status Update end group Distribute to DCAE hnote over DCAE : Service Change Handler SDC -> DCAE : SDC Distribution Notification note left: Using DMaaP DCAE -> SDC : Request Artifcat (Artifact Type) DCAE --> DCAE : Store CSAR DCAE -> SDC: Distribution Status Update end group Distribute to AAI hnote over AAI: AAI Listner SDC -> AAI : SDC Distribution Notification note left: Using DMaaP AAI -> SDC : Request Artifcat (Artifact Type) AAI --> AAI : Store CSAR AAI -> SDC: Distribution Status Update end group Distribute to SDNC hnote over SDNC: UEB Listner SDC -> SDNC : SDC Distribution Notification note left: Using DMaaP SDNC -> SDC : Request Artifcat (Artifact Type) SDNC --> SDNC : Store CSAR SDNC -> SDC: Distribution Status Update end group Distribute to APPC hnote over APPC: Listner SDC -> APPC : SDC Distribution Notification note left: Using DMaaP APPC -> SDC : Request Artifcat (Artifact Type) APPC --> APPC : Store CSAR APPC -> SDC: Distribution Status Update end group Distribute to CLAMP hnote over CLAMP: Listner SDC -> CLAMP : SDC Distribution Notification note left: Using DMaaP CLAMP -> SDC : Request Artifcat (Artifact Type) CLAMP --> CLAMP : Store CSAR CLAMP -> SDC: Distribution Status Update end group Distribute to POLICY hnote over POLICY: Listner SDC -> POLICY : SDC Distribution Notification note left: Using DMaaP SO-> POLICY : Request Artifcat (Artifact Type) POLICY --> POLICY : Store CSAR POLICY -> SDC: Distribution Status Update end group Distribute to MultiCloud hnote over MC: Listner SDC -> mc : SDC Distribution Notification note left: Using DMaaP MC-> SDC : Request Artifcat (Artifact Type) MC --> MC : Store CSAR MC -> SDC: Distribution Status Update end == Un Register to Service CSAR Distribution (optional, at any time) == SO-->SO: UnRegister for Distribution note right: performed by all receptiants of the CSAR that want to unregister @enduml |
4. Post Condition
The post-conditions are:
- The SDC Service CSAR package contains the (1) Service Descriptor, (2) Resource Descriptor, (3) Service Artifacts, (4) Templates and blueprints associated with the service.
- SO has successfully received and stored SDC Service CSAR package.
- SO will contain (in local storage) all of the artifacts & components of the SDC Service CSAR Package.
- DCAE has successfully received and stored the SDC Service CSAR Package.
- DCAE will contain (in local storage) all of the artifacts & components of the SDC Service CSAR Package.
- A&AI has successfully received and stored SDC Service CSAR package .
- A&AI will contain (in local storage) all of the artifacts & components of the SDC Service CSAR Package.
- SDN-C has successfully received and stored SDC Service CSAR package .
- SDN-C will contain (in local storage) all of the artifacts & components of the SDC Service CSAR Package.
- APP-C has successfully received and stored SDC Service CSAR package .
- APP-C will contain (in local storage) all of the artifacts & components of the SDC Service CSAR Package.
- CLAMP has successfully received and stored SDC Service CSAR package .
- CLAMP will contain (in local storage) all of the artifacts & components of the SDC Service CSAR Package.
- POLICY has successfully received and stored SDC Service CSAR package .
- POLICY will contain (in local storage) all of the artifacts & components of the SDC Service CSAR Package.
- Multi-cloud has successfully received and stored SDC Service CSAR package .
- Multi-cloud will contain (in local storage) all of the artifacts & components of the SDC Service CSAR Package.