summaryrefslogtreecommitdiffstats
path: root/docs/files/marketplace-overview.rst
blob: 0f53d78d90250a4fa5c68d0655b44a8f67a8e058 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
.. This work is licensed under a Creative Commons Attribution 4.0 International License.
.. http://creativecommons.org/licenses/by/4.0
.. Copyright 2017-2018 Huawei Technologies Co., Ltd.

VNF SDK Marketplace
-------------------

VNF SDK provides a reference implementation "marketplace" to help vendors
validate and manage VNF packages. It also supports the operator to onboard VNF
into ONAP.The API documentation using swagger can be found at http://hostIP:8702/apidocs
or :download:`json <../swagger.json>` :download:`yaml <../swagger.yaml>`

|image0|

.. |image0| image:: vnfsdk-marketplace.png
   :height: 600px
   :width: 800px

1.  **VNF Repository** is a reference repository for VNFs.

    a. It provides functionalities such as:
        i. Upload/Re-upload VNF
        ii. Download VNF
        iii. Query VNF based on several parameters
        iv. Delete VNF
    b. It also provides an intuitive Graphical user interface to perform above
       activities.

2.  Along with these, VNF SDK also provides hooks to call other tools or
    libraries including **Validation and Function Tests**.

    a. Validation verifies the package structure, mandatory files and their
    format. Currently, the tool performs basic validation to support SDC. In a
    future release, it will also ensure integrity and authenticity of the
    package as described by VNF Requirements.

    b. Function Test provides Robot framework test cases present in each VNF.
    Function test executes those test cases and send the test response back to
    the marketplace. While the framework is in place, actual test development
    is deferred for a future release.

3. **VNF SDK Integration with SDC**

    a. In Amsterdam release, the SDC-UI is being integrated with the VNF
    Repository backend. It provides seamless download, search, view of the VNF
    present in VNF repository. The user can onboard these validated VNF into
    the SDC catalogue.

VNF SDK Marketplace Installation Instructions
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

1. Download vnfsdk/refrepo from Gerrit
::

  git clone http://gerrit.onap.org/r/vnfsdk/refrepo

2. Goto vnfmarket-be/deployment/install,
::

  Delete old docker images of refrepo (if any).
  Enter command "source .env" to set up few environment variables.
  Enter command "docker-compose up -d"

This will start two Docker containers:

    a. VNF Repository
    b. PostgreSQL database.

Once started, access the Marketplace from your web browser.

3. Connect to http://{host}:8702/onapui/vnfmarket to access the user interface

VNF SDK Tools
~~~~~~~~~~~~~

VNF SDK tools provide VNF product DevOps engineers with command line tools and
client side API language bindings to define the VNF product model and package
content. The following tools are included...

•	VNF Package Builder - creates a CSAR file based on inputs provided by the VNF
	product DevOps engineer

•	VNF Package Validator - validates the content of the VNF packages to ensure
	that everything has been built correctly

•	VNF Package Extractor - extracts VNF product model and executables from the
	CSAR file

•	VNF Package Parser - translates VNF product blueprint into a format
	consumable by ONAP components

•	VNF Package Dry Run - performs a "dry run" install to ensure that the package
	can be deployed during instantiation