Skip to content

Command-line parameters to get list of primitives and their details

Command-line parameters to get list of primitives and their details

Proposers

  • Gerardo Garcia (Telefonica)
  • Francisco Javier Ramon (Telefonica)

Type

Feature

Target MDG/TF

DevOps (osmclient)

Description

Currently the end user needs to read the VNF descriptor or the NS descriptor (or get them through the NBI) in order to know what primitives exist for each VNF or NS.

It would be desirable to have commands in osmclient that allow:

  • Getting the list of primitives of a VNF or NS package
  • Getting the params and default values for a primitive of a VNF or NS package
  • Getting the list of primitives of a VNF or NS instance
  • Getting the params and default values for a primitive of a VNF or NS instance

The feature won't add any new NB API call, but will use the existing ones, wrapping that behaviour in the osmclient.

The specific commands will be defined as part of the design.

Demo or definition of done

A new Robot testsuite will be added. That testsuite will use existing packages with VNF and NS primitives. After onboarding the packages, the tests will check the list of primitives and will obtain its params and default values for a subset of them, checking that the output is correct.