Keep Calm Keep Calm and Use Parser and Use Parser Nov, 2015 Howard Huang, Huawei Julien Zhang, ZTE
How would OPNFV attract more open source software developers ? 2
I wrote the script based on the instructions in ETSI NFV documents, but I can’t run it on OPNFV … Apparently Not In This Way 。。。 November 2, 2015 OPNFV Introduction 3
KEEP CALM And use Parser Page 4
Outline Parser Project Overview • Use Case Analysis • Heat-Translator Introduction • YANG-TO-TOSCA • Future Plan • 5
Parser Project Overview Parser is an integration project which aims to provide a • translation tooling for OPNFV platform. (we are a small team spread over 4 companies) The bulk of Parser work would be contributed to Heat-Translator • project which serves as a upstream project for Parser. However Parser will also develop its own code, including YANG->TOSCA translation work from HP team and some other work that would not be contributed to upstream but identified by the use cases. Current work is driven by use case analysis, which is provided by • ZTE Team. Such analysis generates what feature Parser need to enhance for the upstream project. Parser would be part of the OPNFV B release, and will make it in • time.
Parser Project Overview – Fun Facts November 2, 2015 OPNFV Introduction 7
Parser Project Overview – Architecture OpenStack Heat- Upstream Translator TOSCA- >HOT Parser Repo YANG- Use Case >TOSCA OpenStack Murano,… Upstream OPNFV Document Doc
Use Case Analysis for a vRNC CM: Control Module,with HA of resource pool and active vdu & standby vdu per resource. DM: Data Module,with HA of resource pool and a vdu per resource . MM: Maintain Module, with HA of standby vdu and active vdu . LB: LineCard Module,with HA of resource pool and vdu per resource .
The dependency and specification
Heat Translator TOSCA TOSCA HOT - Heat Map Generate TOSCA Types Nodes Orchestration Template Template Validation Tests Validation Tests tosca-parser heat-translator TOSCA-to-Heat-Translator is part of OpenStack Heat (from Kilo) Heat The tosca-parser is an OpenStack project and licensed under Apache 2. It is developed to parse TOSCA Simple Profile in YAML. It reads the TOSCA templates and creates an in-memory graph of TOSCA nodes and their relationship. Orch Heat-Translator is an Openstack project and licensed under Apache 2. It is a command line tool which takes non-Heat templates as an input and produces a Heat Orchestration Template (HOT) which can be deployed by Heat. Currently it OpenStack supports TOSCA to HOT translation. Services TOSCA-parser & Heat-Translator are available as independent Python library. https://pypi.python.org/pypi/heat-translator ; https://pypi.python.org/pypi/tosca-parser Heat-Translator available to use in python-openstackclient (OSC) via plugin Latest TOSCA features integrated: Networking, Block & Object Storage...
YANG-TO-TOSCA Provide a mechanism for a VNF provider to describe (VNF descriptor) • the deployment requirements (such as basic VM requirements – vCPU, memory, storage, as well as advanced HW enhancement requirements such as Huge Pages support, SR-IOV, NUMA, DPDK support etc.) of a VNF Python based script to convert VNF descriptor from YAML/XML based • on YANG to TOSCA VNFD based on the YANG schema defined in ETSI’s MANO specification • Enhancements planned to YANG definition for additional NFV • requirements DPDK, SRIOV, HUGE Page support, CPU Pinning etc. –
YANG-TO-TOSCA (details) The conversion from YANG to TOSCA is done with the help of a python • script which takes the YANG schema based VNFD as an input parameter and produces a TOSCA YAML file as output. This is being implemented as a Python script which makes use of a • “PYANG” library to convert the YANG YAML file to an in-memory XML object which is then fed as an input to a XSLT transformer to transform the XML file to TOSCA. OPNFV Parser Project – User guide
Shout out thank you to all the team members Julien (ZTE) Shitao (Huawei) Shiva (HP) Srinivas (TCS) Xiaodong (ZTE) Victor (Huawei) Vinayak (HP)
Thank you Page 15
Recommend
More recommend