sonata-nfv/son-catalogue-repos

Changes in 'status' field of descriptors

Closed this issue · 1 comments

Network-services descriptors include a status field set to 'Inactive' when stored to the Catalogue.
In order to modify/update this status, we need a new interface method, e.g.:

PUT /network-services/status/{new_status}/id/{id} ??
Then ns["status"] = params['new_status']
return 200 OK

This new interface method is implemented. It currenly accepts next new_status:
Inactive, Active, Delete