You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

vfc_svnfm_huawei container

Create VNF REST API


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


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': []}



  • No labels