Chris Donley | a3adf07 | 2017-11-09 15:17:45 -0800 | [diff] [blame] | 1 | .. This work is licensed under a Creative Commons Attribution 4.0 International License. |
| 2 | .. http://creativecommons.org/licenses/by/4.0 |
Chris Donley | 1d4cdb1 | 2018-06-06 13:55:24 -0700 | [diff] [blame] | 3 | .. Copyright 2017-2018 Huawei Technologies Co., Ltd. |
Chris Donley | a3adf07 | 2017-11-09 15:17:45 -0800 | [diff] [blame] | 4 | |
Murali | fade51b | 2017-10-23 06:30:33 +0000 | [diff] [blame] | 5 | VNF SDK Marketplace |
Chris Donley | 9ddf5d5 | 2018-05-30 13:33:08 -0700 | [diff] [blame] | 6 | ------------------- |
Chris Donley | dbf7fb1 | 2017-10-06 16:45:44 -0700 | [diff] [blame] | 7 | |
Chris Donley | a3adf07 | 2017-11-09 15:17:45 -0800 | [diff] [blame] | 8 | VNF SDK provides a reference implementation "marketplace" to help vendors |
| 9 | validate and manage VNF packages. It also supports the operator to onboard VNF |
Murali-P | 941a5d2 | 2018-05-04 16:00:58 +0530 | [diff] [blame] | 10 | into ONAP.The API documentation using swagger can be found at http://hostIP:8702/apidocs |
Gildas Lanilis | b2c75a1 | 2018-11-09 10:45:50 -0800 | [diff] [blame^] | 11 | or :download:`json <../swagger.json>` :download:`yaml <../swagger.yaml>` |
Chris Donley | dbf7fb1 | 2017-10-06 16:45:44 -0700 | [diff] [blame] | 12 | |
| 13 | |image0| |
| 14 | |
Gildas Lanilis | b2c75a1 | 2018-11-09 10:45:50 -0800 | [diff] [blame^] | 15 | .. |image0| image:: vnfsdk-marketplace.png |
Chris Donley | dbf7fb1 | 2017-10-06 16:45:44 -0700 | [diff] [blame] | 16 | :height: 600px |
| 17 | :width: 800px |
| 18 | |
Eric Debeau | 6bc6ab3 | 2017-10-14 09:08:10 +0000 | [diff] [blame] | 19 | 1. **VNF Repository** is a reference repository for VNFs. |
Murali | 512bfe7 | 2017-10-23 05:47:42 +0000 | [diff] [blame] | 20 | |
Murali | 3fd3a39 | 2017-10-18 07:13:08 +0000 | [diff] [blame] | 21 | a. It provides functionalities such as: |
Eric Debeau | 6bc6ab3 | 2017-10-14 09:08:10 +0000 | [diff] [blame] | 22 | i. Upload/Re-upload VNF |
| 23 | ii. Download VNF |
| 24 | iii. Query VNF based on several parameters |
| 25 | iv. Delete VNF |
Chris Donley | a3adf07 | 2017-11-09 15:17:45 -0800 | [diff] [blame] | 26 | b. It also provides an intuitive Graphical user interface to perform above |
| 27 | activities. |
Chris Donley | dbf7fb1 | 2017-10-06 16:45:44 -0700 | [diff] [blame] | 28 | |
Chris Donley | a3adf07 | 2017-11-09 15:17:45 -0800 | [diff] [blame] | 29 | 2. Along with these, VNF SDK also provides hooks to call other tools or |
| 30 | libraries including **Validation and Function Tests**. |
Murali | 701dabb | 2017-10-24 12:17:53 +0000 | [diff] [blame] | 31 | |
Chris Donley | a3adf07 | 2017-11-09 15:17:45 -0800 | [diff] [blame] | 32 | 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 Debeau | 6bc6ab3 | 2017-10-14 09:08:10 +0000 | [diff] [blame] | 36 | |
Chris Donley | a3adf07 | 2017-11-09 15:17:45 -0800 | [diff] [blame] | 37 | 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 Donley | dbf7fb1 | 2017-10-06 16:45:44 -0700 | [diff] [blame] | 41 | |
Murali | fade51b | 2017-10-23 06:30:33 +0000 | [diff] [blame] | 42 | 3. **VNF SDK Integration with SDC** |
Chris Donley | dbf7fb1 | 2017-10-06 16:45:44 -0700 | [diff] [blame] | 43 | |
Chris Donley | a3adf07 | 2017-11-09 15:17:45 -0800 | [diff] [blame] | 44 | 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 Lanilis | b2c75a1 | 2018-11-09 10:45:50 -0800 | [diff] [blame^] | 48 | |
| 49 | VNF SDK Marketplace Installation Instructions |
| 50 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
| 51 | |
| 52 | 1. Download vnfsdk/refrepo from Gerrit |
| 53 | :: |
| 54 | |
| 55 | git clone http://gerrit.onap.org/r/vnfsdk/refrepo |
| 56 | |
| 57 | 2. 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 | |
| 64 | This will start two Docker containers: |
| 65 | |
| 66 | a. VNF Repository |
| 67 | b. PostgreSQL database. |
| 68 | |
| 69 | Once started, access the Marketplace from your web browser. |
| 70 | |
| 71 | 3. Connect to http://{host}:8702/onapui/vnfmarket to access the user interface |
| 72 | |
| 73 | VNF SDK Tools |
| 74 | ~~~~~~~~~~~~~ |
| 75 | |
| 76 | VNF SDK tools provide VNF product DevOps engineers with command line tools and |
| 77 | client side API language bindings to define the VNF product model and package |
| 78 | content. 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 |