From: Ezhilarasi Date: Tue, 30 Jul 2019 13:31:51 +0000 (+0530) Subject: Formatted text in index and Resource source X-Git-Tag: 0.5.0~10^2 X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;ds=sidebyside;h=eac7ca44c9005e43308580cb936640f48dfe59ab;p=ccsdk%2Fcds.git Formatted text in index and Resource source Change-Id: I340dac3a25aaefee52121557903687f20e254628 Issue-ID: CCSDK-1453 Signed-off-by: Ezhilarasi --- 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.