diff options
author | Lianhao Lu <lianhao.lu@intel.com> | 2018-08-23 16:40:29 +0800 |
---|---|---|
committer | Lianhao Lu <lianhao.lu@intel.com> | 2018-08-23 16:40:29 +0800 |
commit | 68ffdde696d28821551b2b26f5862d4b00f6a692 (patch) | |
tree | ff3ec1293a0fa0350dc6dcf6c0afa70a098449a8 /docs/files | |
parent | e0e6b61a9bb09bbcdb847339a146dbe6dddd8aa1 (diff) |
Doc: update installation info for pkgtools
Added the installation from onap hosted pypi repository for vnfsdk
pkgtools.
Change-Id: Iea47e28d6c1a1bce5c6d4bfe21b28887866ebc61
Issue-ID: VNFSDK-308
Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
Diffstat (limited to 'docs/files')
-rw-r--r-- | docs/files/pkgtool.rst | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/docs/files/pkgtool.rst b/docs/files/pkgtool.rst index f8eb3e7..34bf020 100644 --- a/docs/files/pkgtool.rst +++ b/docs/files/pkgtool.rst @@ -16,8 +16,6 @@ Provided tools 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 The tools are provided in a form of a shared library (Python module) that can be used in other projects. A CLI is also provided out-of-the box for DevOps to @@ -32,18 +30,20 @@ Installation Python module with CLI is installed by Python pip command. It is possible to install into a virtual environment (virtualenv). -The following commands are executed in the cloned repository directory: +To install the vnfsdk package tool from source, run the following commands +in the cloned repository directory: 1. pip install -r requirements.txt Install all required dependencies 2. pip install . -Or run the following commands in the cloned repository directory to install: +To install the vnfsdk pkgtools from onap hosted pypi repository, run the +following commands in a python virtual environment: -1. python setup.py install +1. pip install -i https://nexus3.onap.org/repository/PyPi.release/simple --extra-index-url https://pypi.org/simple vnfsdk -Install VNF SDK tools package ------------------------------ +Use VNF SDK package tools +------------------------- Usage * Create CSAR by specifying a directory |