Skip to content

Cancel operation task

Proposers

  • Gabriel Cuba (Whitestack)
  • Sergio Tarazona (Whitestack)

Description

Currently there is no way to stop an LCM task that may be queued or blocked. ETSI SOL 005 specifies the "Cancel operation task":

The POST method initiates cancelling an ongoing NS lifecycle management operation while it is being executed or rolled back, i.e. the related "NS LCM operation occurrence" is either in "PROCESSING" or "ROLLING_BACK" state.

The main motivation is to solve bug 2144, so stopping an ongoing operation should be left out of the scope at the moment.

Demo or definition of done

The task would be called by the NBI URI {apiRoot}/nslcm/{apiMajorVersion}/ns_lcm_op_occs/{nsLcmOpOccId}/cancel. A corresponding command ns-op-cancel in osmclient should be implemented as well.

Edited by garciadeblas