Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

vfc_svnfm_huawei container

Create VNF REST API

Code Block
POST /{vnfmtype}/v1/{vnfmid}/vnfs
Example: POST http://10.0.14.1:80/api/huaweivnfmdriver/v1/a0400010-11d7-4875-b4ae-5f42ed5d3a85/vnfs
Body: {"vnfInstanceName": "vnfe9f952fb-a766-4a10-9df8-bda", "extVirtualLink": [], "vnfPackageId": "e9f952fb-a766-4a10-9df8-bdad5895294c", "additionalParam": {"inputs": {"sdncontroller": "IP-WAN-Controller-1"}, "extVirtualLinks": [], "vimId": "pod25_RegionOne"}, "vnfDescriptorId": "e9f952fb-a766-4a10-9df8-bdad5895294c"}

Response: 200
{"vnfInstanceId":"fa3dca847b054f4eb9d3bc8bb9e5eec9","jobId":"fa3dca847b054f4eb9d3bc8bb9e5eec9_post"}


Notification sent to nslcm

Code Block
POST /nslcm/v1/ns/{vnfmid}/vnfs/{vnfInstanceId}/Notify
Example: POST http://10.0.14.1:80/api/nslcm/v1/ns/a0400010-11d7-4875-b4ae-5f42ed5d3a85/vnfs/fa3dca847b054f4eb9d3bc8bb9e5eec9/Notify

Response code: 202
Body: {u'status': u'Building', u'vnfInstanceId': u'fa3dca847b054f4eb9d3bc8bb9e5eec9', u'operation': u'Instantiate', u'affectedVnfc': []}