summaryrefslogtreecommitdiffstats
path: root/nokiav2/docs/vnfintegration.rst
diff options
context:
space:
mode:
authorDenes Nemeth <denes.nemeth@nokia.com>2018-02-12 20:55:54 +0100
committerDenes Nemeth <denes.nemeth@nokia.com>2018-02-23 11:44:45 +0100
commitb17042b955489d8a023d09abad5436ff9b900dc3 (patch)
tree1e4392ac04a2fb1ed8d17075d504cf6594acaf16 /nokiav2/docs/vnfintegration.rst
parentd4982f7b1777e9cdae9a4cc7d0d104263889ac69 (diff)
Updating Nokia driver
Change-Id: I950afe6acbdb359cd67a448024f006a45e8fc293 Signed-off-by: Denes Nemeth <denes.nemeth@nokia.com> Issue-ID: VFC-728
Diffstat (limited to 'nokiav2/docs/vnfintegration.rst')
-rw-r--r--nokiav2/docs/vnfintegration.rst51
1 files changed, 51 insertions, 0 deletions
diff --git a/nokiav2/docs/vnfintegration.rst b/nokiav2/docs/vnfintegration.rst
new file mode 100644
index 00000000..62674e53
--- /dev/null
+++ b/nokiav2/docs/vnfintegration.rst
@@ -0,0 +1,51 @@
+Prepare a ONAP VNF package
+==========================
+
+Automatic
+---------
+
+- Visit http://msb.api.simpledemo.onap.org/api/NokiaSVNFM/v1/convert
+- Select the CBAM package to be converted into an ONAP package
+- Click on upload button and the ONAP package will be donwloaded
+
+
+Manual
+------
+
+- the VNF must declare the externalVnfmId and onapCsarId as modifyable attribute in CBAM package (value will be filled out by CBAM)
+- each operation must declare a jobId additional parameter in CBAM package (value will be filled out by CBAM)
+- the heal operation must declare the jobId, vmName and action parameters in CBAM package (values will be filled out by CBAM)
+- each operation (including built-in) must include the following section as the last pre_action (all JS are provided by CBAM)
+
+.. code-block:: console
+
+ - javascript: javascript/cbam.pre.collectConnectionPoints.js
+ include:
+ - javascript/cbam.collectConnectionPoints.js
+ output: operation_result
+
+- each operation must include the following section as the last post_action (all JS are provided by CBAM)
+
+.. code-block:: console
+
+ - javascript: javascript/cbam.post.collectConnectionPoints.js
+ include:
+ - javascript/cbam.collectConnectionPoints.js
+ output: operation_result
+
+- CBAM supplied JavaScrips
+
+ - :download:`cbam.post.collectConnectionPoints.js <sample/cbam.post.collectConnectionPoints.js>`
+ - :download:`cbam.pre.collectConnectionPoints.js <sample/cbam.pre.collectConnectionPoints.js>`
+ - :download:`cbam.collectConnectionPoints.js <sample/cbam.collectConnectionPoints.js>`
+
+- the ONAP package must be written so that the VDU.Compute, VDU.VirtualStorage, VnfVirtualLinkDesc, VduCpd has exactly the same name as in CBAM package
+- the metadata section of the ONAP package must be the following
+
+ - the vendor must be the same as in Nokia package vendor field
+ - the vnfdVersion must be the same as in Nokia package the descriptor_version field
+ - the name must be the same as in Nokia package the product_info_name field
+ - the version must be the same as in Nokia package the software_version field
+ - the vnfmType must be NokiaSVNFM
+
+- the complete CBAM package must be placed in the in Artifacts/OTHER/cbam.package.zip file