summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan Timoney <dtimoney@att.com>2019-07-30 16:32:07 +0000
committerGerrit Code Review <gerrit@onap.org>2019-07-30 16:32:07 +0000
commit06cc572fb972a0dba802d90ac51c38f4ad124a12 (patch)
tree636180da397efd4de066f3e62ece1edf95094c43
parentf376d391aa895f835c049d61146a84ebbd4fd298 (diff)
parenteac7ca44c9005e43308580cb936640f48dfe59ab (diff)
Merge "Formatted text in index and Resource source"
-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.