blob: 0f53d78d90250a4fa5c68d0655b44a8f67a8e058 [file] [log] [blame]
Chris Donleya3adf072017-11-09 15:17:45 -08001.. This work is licensed under a Creative Commons Attribution 4.0 International License.
2.. http://creativecommons.org/licenses/by/4.0
Chris Donley1d4cdb12018-06-06 13:55:24 -07003.. Copyright 2017-2018 Huawei Technologies Co., Ltd.
Chris Donleya3adf072017-11-09 15:17:45 -08004
Muralifade51b2017-10-23 06:30:33 +00005VNF SDK Marketplace
Chris Donley9ddf5d52018-05-30 13:33:08 -07006-------------------
Chris Donleydbf7fb12017-10-06 16:45:44 -07007
Chris Donleya3adf072017-11-09 15:17:45 -08008VNF SDK provides a reference implementation "marketplace" to help vendors
9validate and manage VNF packages. It also supports the operator to onboard VNF
Murali-P941a5d22018-05-04 16:00:58 +053010into ONAP.The API documentation using swagger can be found at http://hostIP:8702/apidocs
Gildas Lanilisb2c75a12018-11-09 10:45:50 -080011or :download:`json <../swagger.json>` :download:`yaml <../swagger.yaml>`
Chris Donleydbf7fb12017-10-06 16:45:44 -070012
13|image0|
14
Gildas Lanilisb2c75a12018-11-09 10:45:50 -080015.. |image0| image:: vnfsdk-marketplace.png
Chris Donleydbf7fb12017-10-06 16:45:44 -070016 :height: 600px
17 :width: 800px
18
Eric Debeau6bc6ab32017-10-14 09:08:10 +0000191. **VNF Repository** is a reference repository for VNFs.
Murali512bfe72017-10-23 05:47:42 +000020
Murali3fd3a392017-10-18 07:13:08 +000021 a. It provides functionalities such as:
Eric Debeau6bc6ab32017-10-14 09:08:10 +000022 i. Upload/Re-upload VNF
23 ii. Download VNF
24 iii. Query VNF based on several parameters
25 iv. Delete VNF
Chris Donleya3adf072017-11-09 15:17:45 -080026 b. It also provides an intuitive Graphical user interface to perform above
27 activities.
Chris Donleydbf7fb12017-10-06 16:45:44 -070028
Chris Donleya3adf072017-11-09 15:17:45 -0800292. Along with these, VNF SDK also provides hooks to call other tools or
30 libraries including **Validation and Function Tests**.
Murali701dabb2017-10-24 12:17:53 +000031
Chris Donleya3adf072017-11-09 15:17:45 -080032 a. Validation verifies the package structure, mandatory files and their
33 format. Currently, the tool performs basic validation to support SDC. In a
34 future release, it will also ensure integrity and authenticity of the
35 package as described by VNF Requirements.
Eric Debeau6bc6ab32017-10-14 09:08:10 +000036
Chris Donleya3adf072017-11-09 15:17:45 -080037 b. Function Test provides Robot framework test cases present in each VNF.
38 Function test executes those test cases and send the test response back to
39 the marketplace. While the framework is in place, actual test development
40 is deferred for a future release.
Chris Donleydbf7fb12017-10-06 16:45:44 -070041
Muralifade51b2017-10-23 06:30:33 +0000423. **VNF SDK Integration with SDC**
Chris Donleydbf7fb12017-10-06 16:45:44 -070043
Chris Donleya3adf072017-11-09 15:17:45 -080044 a. In Amsterdam release, the SDC-UI is being integrated with the VNF
45 Repository backend. It provides seamless download, search, view of the VNF
46 present in VNF repository. The user can onboard these validated VNF into
47 the SDC catalogue.
Gildas Lanilisb2c75a12018-11-09 10:45:50 -080048
49VNF SDK Marketplace Installation Instructions
50~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
51
521. Download vnfsdk/refrepo from Gerrit
53::
54
55 git clone http://gerrit.onap.org/r/vnfsdk/refrepo
56
572. Goto vnfmarket-be/deployment/install,
58::
59
60 Delete old docker images of refrepo (if any).
61 Enter command "source .env" to set up few environment variables.
62 Enter command "docker-compose up -d"
63
64This will start two Docker containers:
65
66 a. VNF Repository
67 b. PostgreSQL database.
68
69Once started, access the Marketplace from your web browser.
70
713. Connect to http://{host}:8702/onapui/vnfmarket to access the user interface
72
73VNF SDK Tools
74~~~~~~~~~~~~~
75
76VNF SDK tools provide VNF product DevOps engineers with command line tools and
77client side API language bindings to define the VNF product model and package
78content. The following tools are included...
79
80 VNF Package Builder - creates a CSAR file based on inputs provided by the VNF
81 product DevOps engineer
82
83 VNF Package Validator - validates the content of the VNF packages to ensure
84 that everything has been built correctly
85
86 VNF Package Extractor - extracts VNF product model and executables from the
87 CSAR file
88
89 VNF Package Parser - translates VNF product blueprint into a format
90 consumable by ONAP components
91
92 VNF Package Dry Run - performs a "dry run" install to ensure that the package
93 can be deployed during instantiation