Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

There are three TOSCA parsers submited into modeling project, their API are listed below:

...

     --debug debug mode for print more details other than raise exceptions when errors happen


  2) use api, which is used to parse and get the result of service template. it can be used as

   ToscaTemplate(path=None, parsed_params=None, a_file=True, yaml_dict_tpl=None, 

...

TOSCA Simple Profile 1.0 NFV Referecne  http://ariatosca.incubator.apache.org/docs/html/aria_extension_tosca.simple_nfv_v1_0.html

...


Install ARIA from pypi

[root@localhost] # pip install apache-ariatosca


[root@488GTB ariatosca]$ aria --help
Usage: aria [OPTIONS] COMMAND [ARGS]...
ARIA's Command Line Interface.
To activate bash-completion run::
eval "$(_ARIA_COMPLETE=source aria)"
ARIA's working directory resides by default in "~/.aria". To change it,
set the environment variable ARIA_WORKDIR to something else (e.g.
"/tmp/").
Options:
-v, --verbose Show verbose output; you can supply this up to three times
(i.e. -vvv)
--version Display the version and exit
-h, --help Show this message and exit.
Commands:
executions Manage executions
logs Manage logs of workflow executions
node-templates Manages stored service templates' node...
nodes Manage services' nodes
plugins Manage plugins
reset Reset ARIA working directory
service-templates Manage service templates
services Manage services
workflows Manage service workflows



  • Java based Tosca Parser API: (Java)

...