yardstick.benchmark.scenarios.parser package

Submodules

yardstick.benchmark.scenarios.parser.parser module

class yardstick.benchmark.scenarios.parser.parser.Parser(scenario_cfg, context_cfg)[source]

Bases: yardstick.benchmark.scenarios.base.Scenario

running Parser Yang-to-Tosca module as a tool validating output against expected outcome

more info https://wiki.opnfv.org/parser

PARSER_SCRIPT = 'parser.sh'
SETUP_SCRIPT = 'parser_setup.sh'
TEARDOWN_SCRIPT = 'parser_teardown.sh'
run(result)[source]

execute the translation

setup()[source]

scenario setup

teardown()[source]

for scenario teardown remove parser and pyang

Module contents