1 .. This work is licensed under a Creative Commons Attribution 4.0 International License.
2 .. http://creativecommons.org/licenses/by/4.0
5 Parser tosca2heat Installation
6 ==============================
8 Please follow the below installation steps to install tosca2heat submodule in parser.
10 Step 1: Clone the parser project.
14 git clone https://gerrit.opnfv.org/gerrit/parser
16 Step 2: Install the heat-translator sub project.
20 # uninstall pre-installed tosca-parser
21 pip uninstall -y heat-translator
23 # change directory to heat-translator
24 cd parser/tosca2heat/heat-translator
26 # install requirements
27 pip install -r requirements.txt
29 # install heat-translator
30 python setup.py install
32 Step 3: Install the tosca-parser sub project.
36 # uninstall pre-installed tosca-parser
37 pip uninstall -y tosca-parser
39 # change directory to tosca-parser
40 cd parser/tosca2heat/tosca-parser
42 # install requirements
43 pip install -r requirements.txt
45 # install tosca-parser
46 python setup.py install
49 **Notes**: It must uninstall pre-installed tosca-parser and heat-translator before install the two
50 components, and install heat-translator before installing tosca-parser, which is sure to use the
51 OPNFV version of tosca-parser and heat-translator other than openstack's components.
54 Parser yang2tosca Installation
55 ==============================
56 Parser yang2tosca requires the following to be installed.
58 Step 1: Clone the parser project.
62 git clone https://gerrit.opnfv.org/gerrit/parser
64 Step 2: Clone pyang tool or download the zip file from the following link.
68 git clone https://github.com/mbj4668/pyang.git
74 wget https://github.com/mbj4668/pyang/archive/master.zip
76 Step 3: Change directory to the downloaded directory and run the setup file.
83 Step 4: install python-lxml
84 ---------------------------
86 Please follow the below installation link. http://lxml.de/installation.html
89 Parser policy2tosca installation
90 ================================
92 Please follow the below installation steps to install parser - POLICY2TOSCA.
94 Step 1: Clone the parser project.
98 git clone https://gerrit.opnfv.org/gerrit/parser
100 Step 2: Install the policy2tosca module.
104 cd parser/policy2tosca
105 python setup.py install
108 Parser verigraph installation
109 =============================
111 In the present release, verigraph requires that the following software is also installed:
113 - Java 1.8 (with javac compiler)
115 - Microsoft Z3 (https://github.com/Z3Prover/bin/tree/master/releases)
116 - Neo4J (https://neo4j.org)
118 Please follow the below installation steps to install verigraph.
120 Step 1: Clone the parser project.
124 git clone https://gerrit.opnfv.org/gerrit/parser
126 Step 2: Go to the verigraph directory.
132 Step3: Follow the instructions in README.rst for downloading verigraph
133 dependencies and for installing verigraph.
136 Parser apigateway Installation
137 ==============================
139 In the present release, apigateway requires that the following software is also installed:
141 - grpcio (https://github.com/golang/protobuf/protoc-gen-go)
143 Please follow the below installation steps to install apigateway submodule in parser.
145 Step 1: Clone the parser project.
149 git clone https://gerrit.opnfv.org/gerrit/parser
151 Step 2: Install the apigateway submodule.
155 # change directory to apigateway
158 # install requirements
159 pip install -r requirements.txt
162 python setup.py install
164 **Notes**: In release D, apigateway submodule is only initial framework code, and more feature will
165 be provided in the next release.