Merge "Add resource resolution component DSL"
[ccsdk/cds.git] / docs / index.rst
1 .. This work is licensed under a Creative Commons Attribution 4.0
2 .. International License. http://creativecommons.org/licenses/by/4.0
3 .. Copyright (C) 2019 IBM.
4
5 .. _cds_main-doc:
6
7 CONTROLLER DESIGN STUDIO (CDS)
8 ==============================
9 .. toctree::
10    :maxdepth: 1
11
12 Introduction
13 ------------
14 The system is designed to be self service, which means that users, not just
15 programmers, can reconfigure the software system as needed to meet customer
16 requirements. To accomplish this goal, the system is built around models that
17 provide for real-time changes in how the system operates.  Users merely need
18 to change a model to change how a service operates.
19 Self service is a completely new way of delivering services.  It removes the
20 dependence on code releases and the delays they cause and puts the control of
21 services into the hands of the service providers.  They can change a model and
22 its parameters and create a new service without writing a single line of code.
23 This makes SERVICE PROVIDER(S) more responsive to its customers and able to
24 deliver products that more closely match the needs of its customers.
25
26 Architecture
27 ------------
28 The Controller Design Studio is composed of two major components:
29    * The GUI (or frontend)
30    * The Run Time (or backend)
31
32 The GUI handles direct user input and allows for displaying both design time
33 and run time activities. For design time, it allows for the creation of
34 controller blueprint, from selecting the DGs to be included, to incorporating
35 the artifact templates, to adding necessary components.  For run time, it
36 allows the user to direct the system to resolve the unresolved elements of the
37 controller blueprint and download the resulting configuration into a VNF.
38 At a more basic level, it allows for creation of data dictionaries,
39 capabilities catalogs, and controller blueprint, the basic elements that are
40 used to generate a configuration. The essential function of the Controller
41 Design Studio is to create and populate a controller blueprint, create a
42 configuration file from this Controller blueprint, and download this
43 configuration file (configlet) to a VNF/PNF.
44
45 |image1|
46
47
48
49 Modeling Concept
50 ----------------
51
52 In Dublin release, the CDS community has contributed a framework to automate
53 the resolution of resources for instantiation and any config provisioning
54 operation, such as day0, day1 or day2 configuration.
55
56 The content of the CBA Package is driven from a catalog of reusable data
57 dictionary, component and workflow, delivering a reusable and simplified
58 self service experience.
59
60 TOSCA based JSON formatted model following standard:
61 http://docs.oasis-open.org/tosca/TOSCA-Simple-Profile-YAML/v1.2/csd01/TOSCA-Simple-Profile-YAML-v1.2-csd01.html
62
63 Most of the TOSCA modeled entity presented in the bellow documentation can
64 be found here:
65 https://github.com/onap/ccsdk-cds/tree/master/components/model-catalog/definition-type/starter-type
66
67 Tosca Model Reference:
68
69 |image0|
70
71 Modeling Concept Links:
72 ~~~~~~~~~~~~~~~~~~~~~~~
73
74 .. toctree::
75    :maxdepth: 1
76
77    microservices/controllerBlueprintStudioProcessorMS
78    microservices/bluePrintsProcessorMS
79    microservices/expression
80    microservices/dynamicapi
81    microservices/flexibleplugin
82
83
84 Design tools
85 ------------
86 .. toctree::
87    :maxdepth: 1
88    :glob:
89
90    CBA/index
91    datadictionary/index
92
93
94
95
96 Scripts
97 -------
98
99 Library
100 ~~~~~~~
101
102 * NetconfClient
103 ~~~~~~~~~~~~~~
104
105 In order to facilitate NETCONF interaction within scripts, a python NetconfClient binded to our Kotlin implementation is made available. This NetconfClient can be used when using the component-netconf-executor.
106
107 The client can be find here: https://github.com/onap/ccsdk-cds/blob/master/components/scripts/python/ccsdk_netconf/netconfclient.py
108
109 * ResolutionHelper
110 ~~~~~~~~~~~~~~~~~
111
112 When executing a component executor script, designer might want to perform
113 resource resolution along with template meshing directly from the script
114 itself.
115
116 The helper can be find here: https://github.com/onap/ccsdk-apps/blob/master/components/scripts/python/ccsdk_netconf/common.py
117
118 .. |image0| image:: media/tosca_model.jpg
119    :width: 7.88889in
120    :height: 4.43750in
121
122 .. |image1| image:: media/CDS_architecture.jpg
123    :height: 4.43750in
124    :width: 7.88889in
125
126 User Guide
127 ----------
128
129 .. toctree::
130    :maxdepth: 1
131
132    userguide
133   
134
135 Controller Design Studio Presentation
136 -------------------------------------
137
138 Details about CDS Architecture and Design detail, Please click the link.
139 :download:`CDS_Architecture_Design.pptx`