diff options
author | shangxdy <shang.xiaodong@zte.com.cn> | 2017-10-30 18:48:39 +0800 |
---|---|---|
committer | shangxdy <shang.xiaodong@zte.com.cn> | 2017-10-30 18:48:39 +0800 |
commit | 33b4108956d9465a2237b2c94b4339cbc70b1b5a (patch) | |
tree | 59eef3726b77414ea704f5b56e7d2c66653e5cfa /docs/nfvparser/installation/installation.instruction.rst | |
parent | 3a1aef8c2594b41883366b03b22007f2e9792e32 (diff) |
Update nfv-toscaparser documents.
Update nfv-toscaparser documents for release 1.
JIRA: MODELING-33
Change-Id: Id4da5581db400d82a0b23de8b8e6e9dc3b005b4c
Signed-off-by: shangxdy <shang.xiaodong@zte.com.cn>
Diffstat (limited to 'docs/nfvparser/installation/installation.instruction.rst')
-rw-r--r-- | docs/nfvparser/installation/installation.instruction.rst | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/docs/nfvparser/installation/installation.instruction.rst b/docs/nfvparser/installation/installation.instruction.rst new file mode 100644 index 0000000..751c446 --- /dev/null +++ b/docs/nfvparser/installation/installation.instruction.rst @@ -0,0 +1,52 @@ +.. This work is licensed under a Creative Commons Attribution 4.0 International License. +.. http://creativecommons.org/licenses/by/4.0 + + +Parser nfv toscaparser Installation +=================================== + +Nfv tocsa provide two method for installation, please follow the below installation steps to install toscaparser. + +By code source +^^^^^^^^^^^^^^ + +Step 1: Clone the parser project. + +Step 2: Install the tosca-parser sub project. + +.. code-block:: bash + + # uninstall pre-installed tosca-parser + pip uninstall -y tosca-parser + + # change directory to tosca-parser + cd parser/tosca2heat/tosca-parser + + # install requirements + pip install -r requirements.txt + + # install tosca-parser + python setup.py install + +By pacage +^^^^^^^^^^ +Step 1: Make user pip has been already installed. + +.. code-block:: bash + + # for ubuntu or debin + apt-get install python-pip + or + # for centos,rhel or fedora + yum install python-pip + +Step 2: install nfv-tsoca using pip + +.. code-block:: bash + + pip install nfv-tosca + + +**Notes**: It must uninstall pre-installed tosca-parser before install the component, which is sure to use the +OPNFV version of tosca-parser other than openstack's components. + |