From 68ffdde696d28821551b2b26f5862d4b00f6a692 Mon Sep 17 00:00:00 2001 From: Lianhao Lu Date: Thu, 23 Aug 2018 16:40:29 +0800 Subject: 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 --- docs/files/pkgtool.rst | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'docs/files') 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 -- cgit 1.2.3-korg