Keep Calm Keep Calm and Use Parser and Use Parser Nov, 2015 - - PowerPoint PPT Presentation

keep calm keep calm and use parser and use parser
SMART_READER_LITE
LIVE PREVIEW

Keep Calm Keep Calm and Use Parser and Use Parser Nov, 2015 - - PowerPoint PPT Presentation

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


slide-1
SLIDE 1

Keep Calm Keep Calm and Use Parser and Use Parser

Nov, 2015 Howard Huang, Huawei Julien Zhang, ZTE

slide-2
SLIDE 2

How would OPNFV attract more open source software developers ?

2

slide-3
SLIDE 3

3 November 2, 2015 OPNFV Introduction

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 。。。

slide-4
SLIDE 4

KEEP CALM

And use

Parser

Page 4

slide-5
SLIDE 5

Outline

  • Parser Project Overview
  • Use Case Analysis
  • Heat-Translator Introduction
  • YANG-TO-TOSCA
  • Future Plan

5

slide-6
SLIDE 6

Parser Project Overview

  • Parser is an integration project which aims to provide a

translation tooling for OPNFV platform. (we are a small team spread

  • ver 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.

slide-7
SLIDE 7

7 November 2, 2015 OPNFV Introduction

Parser Project Overview – Fun Facts

slide-8
SLIDE 8

Parser Project Overview – Architecture

TOSCA- >HOT YANG- >TOSCA OpenStack Upstream Parser Repo OpenStack Upstream Heat- Translator Murano,… Document Use Case OPNFV Doc

slide-9
SLIDE 9

Use Case Analysis for a vRNC

MM: Maintain Module, with HA of standby vdu and active vdu. 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. LB: LineCard Module,with HA of resource pool and vdu per resource.

slide-10
SLIDE 10

The dependency and specification

slide-11
SLIDE 11

Heat Translator

TOSCA Types

TOSCA Template

TOSCA Nodes Validation Tests Map Generate Validation Tests

tosca-parser heat-translator HOT - Heat Orchestration Template

Heat

OpenStack Services

Orch

TOSCA-to-Heat-Translator is part of OpenStack Heat (from Kilo)

 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.  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 supports TOSCA to HOT translation.  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...

slide-12
SLIDE 12

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
  • n 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.

slide-13
SLIDE 13

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

  • bject which is then fed as an input to a XSLT transformer to

transform the XML file to TOSCA.

OPNFV

Parser Project – User guide

slide-14
SLIDE 14

Shout out thank you to all the team members

Julien (ZTE) Shitao (Huawei) Shiva (HP) Srinivas (TCS) Xiaodong (ZTE) Victor (Huawei) Vinayak (HP)

slide-15
SLIDE 15

Thank you

Page 15