Parser Configuration and Configuration Guide¶
Parser is an open source project and licensed under Apache 2. Parser will help to provide a tooling mechanism, by parsing and then further translating Telecom operators deployment descriptors into certain common templates, which could be used in IaaS orchestration projects like OpenStack Heat(the template file is HOT, which stands for Heat Orchestrator Template).
This document contains configuration guide for Parser’s three submodules: tosca2heat, yang2tosca and policy2tosca. Users please refer to user guide for installation and execution which usually happens after configuration.
Parser configuration¶
Parser can be configured with any installer in current OPNFV, it only depends on openstack.
Pre-configuration activities¶
For parser, there is not specific pre-configuration activities.
Hardware configuration¶
For parser, there is not hardware configuration needed for any current feature.
Feature configuration¶
For parser, there is not specific configure on openstack.
Parser general configuration¶
Parser can be configured with any installer in current OPNFV.
Pre-configuration activities¶
For parser, there is not specific pre-configuration activities.
Hardware configuration¶
For parser, there is not hardware configuration needed for this specific installer.
Jumphost configuration¶
For parser, there is not intial Jumphost configuration (network and software)needed in order to deploy any installer.
Parser tosca2heat configuration¶
For tosca2heat components(tosca-parser and heat-translator) in parser,there are not specific configuration of each component in installer.
Parser yang2tosca configuration¶
Parser yang2tosca requires the following to be installed.
1. PYANG¶
Please follow the below installation steps.
Step 1: Clone pyang tool or download the zip file from the following link.
git clone https://github.com/mbj4668/pyang.git
OR
wget https://github.com/mbj4668/pyang/archive/master.zip
Step 2: Change directory to the downloaded directory and run the setup file.
cd pyang
python setup.py
2. python-lxml¶
Please follow the below installation link. http://lxml.de/installation.html
Parser policy2tosca configuration¶
Parser - POLICY2TOSCA requires the following to be installed.
1. cliff¶
Install cliff with the following links. :: - install <http://docs.openstack.org/developer/cliff/install.html> or - `demoapp <http://docs.openstack.org/developer/cliff/demoapp.html>