Skip to content

Subscription API client commands and library

Subscription API client commands and library

Proposers

  • Gerardo García (Telefónica)
  • Francisco Javier Ramón Salguero (Telefónica)

Type

Feature

Target MDG/TF

  • Devops MDG, particularly osmclient and tests repo

Description

Feature 7919 Subscription API for OSS/BSS management systems is oriented to include new API calls in NBI to allow subscription to NS LCM events like those derived from the instantion or termination of a NS instance.

The feature 7919 includes new API calls in OSM NBI following SOL005 API calls:

  • NS Lifecycle Management
  • NSD Management Interface
  • VNFD Management Interface

This feature complements feature 7919, by adding the support of those API calls in osmclient. The feature will add a new Python module in osmclient, subscription.py, and new user commands, so that it is possible to use the subscription API from both the command line client and from a Python program using osmclient as a library.

Demo or definition of done

A new Robot test will be added and will have to be passed. The test will involve the launch of a webserver written in Python that will receive the notification of a new instantiation in those circumstances where it makes sense:

  • Only notification of instantiation events of specific NS packages should be received.
  • If the subscription is removed, no notification must be received.