sonata-nfv / tng-gtk-sp

The 5GTANGO Gatekeeper Service Platform specific components repository
1 stars 7 forks source link

add vnf migration request #377

Closed tsoenen closed 5 years ago

tsoenen commented 5 years ago

To enable customers to request the migration of a vnf, we need to expose this MANO feature through the GTK API.

GTK endpoint

/migrate ?

specifics of GTK - MANO interaction

topic: service.instance.migrate

payload:

---
service_instance_uuid: <id of the service instance>
vnf_uuid: <id of the vnf instance that needs to be migrated>
vim_uuid: <id of the vim that the vnf needs to be migrated to>

Immediate intermediate response by the MANO with same corr_id

topic: service.instance.migrate
status: 'MIGRATING' | 'ERROR'
error: null | <error message>

final response by MANO with same corr_id

topic: service.instance.migrate
status: `READY` | `ERROR`
error: null | <string indicating error>
duration: <float indicating how long the migration took>
nsr: <nsr, just like in instantiation message>
vnfrs: <list of vnfrs, just like in instantiation message>
jbonnet commented 5 years ago

Closed vi #397 and #398