summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEzhilarasi <ezhrajam@in.ibm.com>2019-07-30 19:01:51 +0530
committerEzhilarasi <ezhrajam@in.ibm.com>2019-07-30 19:02:01 +0530
commiteac7ca44c9005e43308580cb936640f48dfe59ab (patch)
treea519d5607eb7a2df99e6a598054dd69fed542135
parent7ba485b7e3a7c6f3b5603c4bebed50111f503c66 (diff)
Formatted text in index and Resource source
Change-Id: I340dac3a25aaefee52121557903687f20e254628 Issue-ID: CCSDK-1453 Signed-off-by: Ezhilarasi <ezhrajam@in.ibm.com>
-rw-r--r--docs/datadictionary/resourcesource.rst34
-rw-r--r--docs/index.rst20
2 files changed, 31 insertions, 23 deletions
diff --git a/docs/datadictionary/resourcesource.rst b/docs/datadictionary/resourcesource.rst
index 852a34f07..49ef6a1a3 100644
--- a/docs/datadictionary/resourcesource.rst
+++ b/docs/datadictionary/resourcesource.rst
@@ -9,28 +9,34 @@ Input:
======
Expects the value to be provided as input to the request.
-source-input:
-.. code: json
-print("
- "description": "This is Input Resource Source Node Type",
- "version": "1.0.0",
- "properties": {},
- "derived_from": "tosca.nodes.ResourceSource"
-")
+
+.. code-block:: json
+ :linenos:
+
+ source-input
+ {
+ "description": "This is Input Resource Source Node Type",
+ "version": "1.0.0",
+ "properties": {},
+ "derived_from": "tosca.nodes.ResourceSource"
+ }
Default:
========
Expects the value to be defaulted in the model itself.
-source-default:
-
- "description": "This is Default Resource Source Node Type",
- "version": "1.0.0",
- "properties": {},
- "derived_from": "tosca.nodes.ResourceSource"
+.. code-block:: json
+ :linenos:
+ source-default
+ {
+ "description": "This is Default Resource Source Node Type",
+ "version": "1.0.0",
+ "properties": {},
+ "derived_from": "tosca.nodes.ResourceSource"
+ }
sql:
diff --git a/docs/index.rst b/docs/index.rst
index 45b124f29..e80917bb2 100644
--- a/docs/index.rst
+++ b/docs/index.rst
@@ -47,7 +47,7 @@ configuration file (configlet) to a VNF/PNF.
Modeling Concept
-================
+----------------
In Dublin release, the CDS community has contributed a framework to automate
the resolution of resources for instantiation and any config provisioning
@@ -69,7 +69,7 @@ Tosca Model Reference:
|image0|
Modeling Concept Links:
------------------------
+~~~~~~~~~~~~~~~~~~~~~~~
.. toctree::
:maxdepth: 1
@@ -82,7 +82,7 @@ Modeling Concept Links:
Design tools
-============
+------------
.. toctree::
:maxdepth: 1
:glob:
@@ -94,19 +94,21 @@ Design tools
Scripts
-=======
+-------
Library
--------
+~~~~~~~
+
+* NetconfClient
+~~~~~~~~~~~~~~
-*NetconfClient
---------------
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.
The client can be find here: https://github.com/onap/ccsdk-cds/blob/master/components/scripts/python/ccsdk_netconf/netconfclient.py
-*ResolutionHelper
------------------
+* ResolutionHelper
+~~~~~~~~~~~~~~~~~
+
When executing a component executor script, designer might want to perform
resource resolution along with template meshing directly from the script
itself.