From 9ec221693acb0e293c8ecd2f2f3df4dbff8fc645 Mon Sep 17 00:00:00 2001 From: Denes Nemeth Date: Thu, 17 May 2018 13:38:38 +0200 Subject: Add sample VNF for CMCC Change-Id: I821100981e382fb50e2abb435b91fb7a9af59410 Signed-off-by: Denes Nemeth Issue-ID: VFC-728 --- .../simple_cmcc/cbam.instantiation.request.json | 3 +++ nokiav2/docs/sampleVnfs/simple_cmcc/simple.csar | Bin 0 -> 12047 bytes .../sampleVnfs/simple_cmcc/vfc.ns.create.request.json | 9 +++++++++ .../sampleVnfs/simple_cmcc/vfc.ns.heal.request.json | 13 +++++++++++++ .../simple_cmcc/vfc.ns.instantiation.request.json | 7 +++++++ .../sampleVnfs/simple_cmcc/vfc.vnf.scale.request.json | 8 ++++++++ 6 files changed, 40 insertions(+) create mode 100644 nokiav2/docs/sampleVnfs/simple_cmcc/cbam.instantiation.request.json create mode 100644 nokiav2/docs/sampleVnfs/simple_cmcc/simple.csar create mode 100644 nokiav2/docs/sampleVnfs/simple_cmcc/vfc.ns.create.request.json create mode 100644 nokiav2/docs/sampleVnfs/simple_cmcc/vfc.ns.heal.request.json create mode 100644 nokiav2/docs/sampleVnfs/simple_cmcc/vfc.ns.instantiation.request.json create mode 100644 nokiav2/docs/sampleVnfs/simple_cmcc/vfc.vnf.scale.request.json diff --git a/nokiav2/docs/sampleVnfs/simple_cmcc/cbam.instantiation.request.json b/nokiav2/docs/sampleVnfs/simple_cmcc/cbam.instantiation.request.json new file mode 100644 index 00000000..0e0dcd23 --- /dev/null +++ b/nokiav2/docs/sampleVnfs/simple_cmcc/cbam.instantiation.request.json @@ -0,0 +1,3 @@ +{ + +} \ No newline at end of file diff --git a/nokiav2/docs/sampleVnfs/simple_cmcc/simple.csar b/nokiav2/docs/sampleVnfs/simple_cmcc/simple.csar new file mode 100644 index 00000000..da3637fe Binary files /dev/null and b/nokiav2/docs/sampleVnfs/simple_cmcc/simple.csar differ diff --git a/nokiav2/docs/sampleVnfs/simple_cmcc/vfc.ns.create.request.json b/nokiav2/docs/sampleVnfs/simple_cmcc/vfc.ns.create.request.json new file mode 100644 index 00000000..d6e9d2dc --- /dev/null +++ b/nokiav2/docs/sampleVnfs/simple_cmcc/vfc.ns.create.request.json @@ -0,0 +1,9 @@ +{ + "nsName": "simple_20180517_1", + "csarId": "58b0320f-f4f1-421f-ba38-2dda1f2d6484", + "context": { + "globalCustomerId" : "Demonstration", + "serviceType" : "Database" + }, + "description": "string" +} \ No newline at end of file diff --git a/nokiav2/docs/sampleVnfs/simple_cmcc/vfc.ns.heal.request.json b/nokiav2/docs/sampleVnfs/simple_cmcc/vfc.ns.heal.request.json new file mode 100644 index 00000000..49c79212 --- /dev/null +++ b/nokiav2/docs/sampleVnfs/simple_cmcc/vfc.ns.heal.request.json @@ -0,0 +1,13 @@ +{ + "healVnfData": { + "vnfInstanceId": "98dfd286-e4dc-437b-9607-15fb3964485d", + "cause": "cause", + "additionalParams": { + "action": "auto", + "actionvminfo": { + "vmid": "95a8f4bd-3384-48b9-8c97-8493ee6e7535", + "vmname": "CBAM-59fa6b5b2c004c689ed30df5eeff69ef-simple-0" + } + } + } +} \ No newline at end of file diff --git a/nokiav2/docs/sampleVnfs/simple_cmcc/vfc.ns.instantiation.request.json b/nokiav2/docs/sampleVnfs/simple_cmcc/vfc.ns.instantiation.request.json new file mode 100644 index 00000000..01f37938 --- /dev/null +++ b/nokiav2/docs/sampleVnfs/simple_cmcc/vfc.ns.instantiation.request.json @@ -0,0 +1,7 @@ +{ + "nsInstanceId": "601f68d2-b1cd-4c47-8af9-1a781eb5fa2a", + "additionalParamForNs": { + "location": "NokiaNonAdmin_RegionOne", + "45dd6e04-34d4-452f-8eff-d944c2b8e075": "{ \"computeResourceFlavours\": [ { \"vnfdVirtualComputeDescId\": \"server_compute\", \"resourceId\": \"m1.small\" } ], \"extVirtualLinks\": [ { \"extCps\": [ { \"cpdId\": \"universal_ecp\" } ], \"resourceId\": \"oam-nokia\" } ], \"zones\": [ { \"resourceId\": \"nova\", \"id\": \"zoneInfoId\" } ], \"flavourId\": \"scalable\", \"vimType\": \"OPENSTACK_V3_INFO\", \"instantiationLevel\": \"default\", \"softwareImages\": [ { \"resourceId\": \"ubuntu.16.04\", \"vnfdSoftwareImageId\": \"server_image\" } ] }" + } +} \ No newline at end of file diff --git a/nokiav2/docs/sampleVnfs/simple_cmcc/vfc.vnf.scale.request.json b/nokiav2/docs/sampleVnfs/simple_cmcc/vfc.vnf.scale.request.json new file mode 100644 index 00000000..3140f4a4 --- /dev/null +++ b/nokiav2/docs/sampleVnfs/simple_cmcc/vfc.vnf.scale.request.json @@ -0,0 +1,8 @@ +{ + "scaleVnfData" : + { + "type" : "SCALE_OUT", + "aspectId" : "simpleAspect", + "numberOfSteps" : "1" + } +} \ No newline at end of file -- cgit 1.2.3-korg