From b17042b955489d8a023d09abad5436ff9b900dc3 Mon Sep 17 00:00:00 2001 From: Denes Nemeth Date: Mon, 12 Feb 2018 20:55:54 +0100 Subject: Updating Nokia driver Change-Id: I950afe6acbdb359cd67a448024f006a45e8fc293 Signed-off-by: Denes Nemeth Issue-ID: VFC-728 --- .../simple/cbam.instantiation.request.json | 60 +++++++++++++++++++ nokiav2/docs/sampleVnfs/simple/simple.csar | Bin 0 -> 12147 bytes .../sampleVnfs/simple/vfc.ns.create.request.json | 9 +++ .../simple/vfc.ns.instantiation.request.json | 41 +++++++++++++ .../simpleDual/cbam.instantiation.request.json | 60 +++++++++++++++++++ .../sample/vfc.to.cbam.instantiation.json | 65 +++++++++++++++++++++ nokiav2/docs/sampleVnfs/simpleDual/simpleDual.csar | Bin 0 -> 11470 bytes .../simpleDual/vfc.ns.create.request.json | 9 +++ .../sampleVnfs/simpleDual/vfc.ns.heal.request.json | 13 +++++ .../simpleDual/vfc.ns.instantiation.request.json | 41 +++++++++++++ .../simpleDual/vfc.vnf.scale.request.json | 9 +++ 11 files changed, 307 insertions(+) create mode 100644 nokiav2/docs/sampleVnfs/simple/cbam.instantiation.request.json create mode 100644 nokiav2/docs/sampleVnfs/simple/simple.csar create mode 100644 nokiav2/docs/sampleVnfs/simple/vfc.ns.create.request.json create mode 100644 nokiav2/docs/sampleVnfs/simple/vfc.ns.instantiation.request.json create mode 100644 nokiav2/docs/sampleVnfs/simpleDual/cbam.instantiation.request.json create mode 100644 nokiav2/docs/sampleVnfs/simpleDual/sample/vfc.to.cbam.instantiation.json create mode 100644 nokiav2/docs/sampleVnfs/simpleDual/simpleDual.csar create mode 100644 nokiav2/docs/sampleVnfs/simpleDual/vfc.ns.create.request.json create mode 100644 nokiav2/docs/sampleVnfs/simpleDual/vfc.ns.heal.request.json create mode 100644 nokiav2/docs/sampleVnfs/simpleDual/vfc.ns.instantiation.request.json create mode 100644 nokiav2/docs/sampleVnfs/simpleDual/vfc.vnf.scale.request.json (limited to 'nokiav2/docs/sampleVnfs') diff --git a/nokiav2/docs/sampleVnfs/simple/cbam.instantiation.request.json b/nokiav2/docs/sampleVnfs/simple/cbam.instantiation.request.json new file mode 100644 index 00000000..5ec6acbc --- /dev/null +++ b/nokiav2/docs/sampleVnfs/simple/cbam.instantiation.request.json @@ -0,0 +1,60 @@ +{ + "apiVersion":"3.1", + "computeResourceFlavours": [ + { + "vnfdVirtualComputeDescId": "server_compute", + "resourceId": "m1.small" + } + ], + "extVirtualLinks": [ + { + "extCps": [ + { + "cpdId": "commisioning_ecp" + } + ], + "resourceId": "pub_net" + }, + { + "extCps": [ + { + "cpdId": "vnftovnf_ecp" + } + ], + "resourceId": "preservedNetwork" + } + ], + "zones": [ + { + "resourceId": "compute-a", + "id": "zoneInfoId" + } + ], + "flavourId": "scalable", + "grantlessMode": true, + "softwareImages": [ + { + "resourceId": "ubuntu.16.04", + "vnfdSoftwareImageId": "server_image" + } + ], + "vims": [ + { + "accessInfo": { + "username": "develadm", + "tenant": "devel", + "password": "develpass", + "region": "RegionOne" + }, + "interfaceInfo": { + "endpoint": "https://10.41.49.107:5000/v2.0/", + "trustedCertificates": [], + "skipCertificateVerification": true, + "skipCertificateHostnameCheck": true + }, + "vimInfoType": "OPENSTACK_V2_INFO", + "id": "vim_id" + } + ], + "instantiationLevelId": "default" +} diff --git a/nokiav2/docs/sampleVnfs/simple/simple.csar b/nokiav2/docs/sampleVnfs/simple/simple.csar new file mode 100644 index 00000000..3d87246d Binary files /dev/null and b/nokiav2/docs/sampleVnfs/simple/simple.csar differ diff --git a/nokiav2/docs/sampleVnfs/simple/vfc.ns.create.request.json b/nokiav2/docs/sampleVnfs/simple/vfc.ns.create.request.json new file mode 100644 index 00000000..81e9abc4 --- /dev/null +++ b/nokiav2/docs/sampleVnfs/simple/vfc.ns.create.request.json @@ -0,0 +1,9 @@ +{ + "nsName": "cbam_ns_dual_2", + "csarId": "0479b45c-85cb-4dae-979a-e44618b1a49f", + "context": { + "globalCustomerId" : "123456", + "serviceType" : "Database" + }, + "description": "string" +} diff --git a/nokiav2/docs/sampleVnfs/simple/vfc.ns.instantiation.request.json b/nokiav2/docs/sampleVnfs/simple/vfc.ns.instantiation.request.json new file mode 100644 index 00000000..30efc96e --- /dev/null +++ b/nokiav2/docs/sampleVnfs/simple/vfc.ns.instantiation.request.json @@ -0,0 +1,41 @@ +{ + "nsInstanceId": "e7d79bd8-8e97-48fa-bbb8-fe2e8166b61c", + "additionalParamForNs": { + "location": "Nokia_RegionOne", + "vnfs": { + "669e8f94-b3a4-47ff-9245-c023c9fd5657": { + "computeResourceFlavours": [ + { + "vnfdVirtualComputeDescId": "server_compute", + "resourceId": "m1.small" + } + ], + "extVirtualLinks": [ + { + "extCps": [ + { + "cpdId": "comuniversal_ecp" + } + ], + "resourceId": "external" + } + ], + "zones": [ + { + "resourceId": "nova", + "id": "zoneInfoId" + } + ], + "flavourId": "scalable", + "vimType": "OPENSTACK_V2_INFO", + "instantiationLevel": "default", + "softwareImages": [ + { + "resourceId": "ubuntu-16.04", + "vnfdSoftwareImageId": "server_image" + } + ] + } + } + } +} \ No newline at end of file diff --git a/nokiav2/docs/sampleVnfs/simpleDual/cbam.instantiation.request.json b/nokiav2/docs/sampleVnfs/simpleDual/cbam.instantiation.request.json new file mode 100644 index 00000000..5ec6acbc --- /dev/null +++ b/nokiav2/docs/sampleVnfs/simpleDual/cbam.instantiation.request.json @@ -0,0 +1,60 @@ +{ + "apiVersion":"3.1", + "computeResourceFlavours": [ + { + "vnfdVirtualComputeDescId": "server_compute", + "resourceId": "m1.small" + } + ], + "extVirtualLinks": [ + { + "extCps": [ + { + "cpdId": "commisioning_ecp" + } + ], + "resourceId": "pub_net" + }, + { + "extCps": [ + { + "cpdId": "vnftovnf_ecp" + } + ], + "resourceId": "preservedNetwork" + } + ], + "zones": [ + { + "resourceId": "compute-a", + "id": "zoneInfoId" + } + ], + "flavourId": "scalable", + "grantlessMode": true, + "softwareImages": [ + { + "resourceId": "ubuntu.16.04", + "vnfdSoftwareImageId": "server_image" + } + ], + "vims": [ + { + "accessInfo": { + "username": "develadm", + "tenant": "devel", + "password": "develpass", + "region": "RegionOne" + }, + "interfaceInfo": { + "endpoint": "https://10.41.49.107:5000/v2.0/", + "trustedCertificates": [], + "skipCertificateVerification": true, + "skipCertificateHostnameCheck": true + }, + "vimInfoType": "OPENSTACK_V2_INFO", + "id": "vim_id" + } + ], + "instantiationLevelId": "default" +} diff --git a/nokiav2/docs/sampleVnfs/simpleDual/sample/vfc.to.cbam.instantiation.json b/nokiav2/docs/sampleVnfs/simpleDual/sample/vfc.to.cbam.instantiation.json new file mode 100644 index 00000000..504c7f11 --- /dev/null +++ b/nokiav2/docs/sampleVnfs/simpleDual/sample/vfc.to.cbam.instantiation.json @@ -0,0 +1,65 @@ +{ + "vnfInstanceName": "vnf669e8f94-b3a4-47ff-9245-c02", + "extVirtualLink": [ + { + "resourceSubnetId": "23abdbc0-7c16-4dbc-a879-2d68f87c0ecf", + "resourceId": "da9a2d26-e70b-4402-b343-d0060f2ab298", + "vlInstanceId": "c1d78629-7121-400d-9ced-84340508feec", + "cpdId": "vnftovnf_cp", + "vim": { + "vimid": "Nokia_RegionOne" + } + } + ], + "vnfPackageId": "669e8f94-b3a4-47ff-9245-c023c9fd5657", + "additionalParam": { + "inputs": { + "vnfs": { + "669e8f94-b3a4-47ff-9245-c023c9fd5657": { + "extVirtualLinks": [ + { + "resourceId": "external", + "extCps": [ + { + "cpdId": "commisioning_ecp" + } + ] + } + ], + "vimType": "OPENSTACK_V2_INFO", + "instantiationLevel": "default", + "softwareImages": [ + { + "vnfdSoftwareImageId": "server_image", + "resourceId": "ubuntu-16.04" + } + ], + "flavourId": "scalable", + "zones": [ + { + "resourceId": "nova", + "id": "zoneInfoId" + } + ], + "computeResourceFlavours": [ + { + "resourceId": "m1.small", + "vnfdVirtualComputeDescId": "server_compute" + } + ] + } + }, + "location": "Nokia_RegionOne" + }, + "extVirtualLinks": [ + { + "key_name": "vnftovnf_cp.virtual_link", + "vl_instance_id": "c1d78629-7121-400d-9ced-84340508feec", + "network_name": "myNetworkName", + "subnetwork_name": "mySubnetName" + } + ], + "vimId": "Nokia_RegionOne" + }, + "vnfDescriptorId": "669e8f94-b3a4-47ff-9245-c023c9fd5657" +} \ No newline at end of file diff --git a/nokiav2/docs/sampleVnfs/simpleDual/simpleDual.csar b/nokiav2/docs/sampleVnfs/simpleDual/simpleDual.csar new file mode 100644 index 00000000..32c3f893 Binary files /dev/null and b/nokiav2/docs/sampleVnfs/simpleDual/simpleDual.csar differ diff --git a/nokiav2/docs/sampleVnfs/simpleDual/vfc.ns.create.request.json b/nokiav2/docs/sampleVnfs/simpleDual/vfc.ns.create.request.json new file mode 100644 index 00000000..fd2f724b --- /dev/null +++ b/nokiav2/docs/sampleVnfs/simpleDual/vfc.ns.create.request.json @@ -0,0 +1,9 @@ +{ + "nsName": "cbam_ns_dual_20180125_1", + "csarId": "96ea0048-b91d-4478-ab18-b88d15bcd1aa", + "context": { + "globalCustomerId" : "123456", + "serviceType" : "Database" + }, + "description": "string" +} \ No newline at end of file diff --git a/nokiav2/docs/sampleVnfs/simpleDual/vfc.ns.heal.request.json b/nokiav2/docs/sampleVnfs/simpleDual/vfc.ns.heal.request.json new file mode 100644 index 00000000..e62665db --- /dev/null +++ b/nokiav2/docs/sampleVnfs/simpleDual/vfc.ns.heal.request.json @@ -0,0 +1,13 @@ +{ + "healVnfData": { + "vnfInstanceId": "05901205-622e-495b-9673-25c433c1c35a", + "cause": "cause", + "additionalParams": { + "action": "restartvm", + "actionvminfo": { + "vmid": "vmId", + "vmname": "vmname" + } + } + } +} \ No newline at end of file diff --git a/nokiav2/docs/sampleVnfs/simpleDual/vfc.ns.instantiation.request.json b/nokiav2/docs/sampleVnfs/simpleDual/vfc.ns.instantiation.request.json new file mode 100644 index 00000000..4b0ce8fd --- /dev/null +++ b/nokiav2/docs/sampleVnfs/simpleDual/vfc.ns.instantiation.request.json @@ -0,0 +1,41 @@ +{ + "nsInstanceId": "b65572a1-4f2e-4787-950d-bb489e970623", + "additionalParamForNs": { + "location": "Nokia_RegionOne", + "vnfs": { + "f85f054f-0928-4fab-ac76-b47b8fba0d6d": { + "computeResourceFlavours": [ + { + "vnfdVirtualComputeDescId": "server_compute", + "resourceId": "m1.small" + } + ], + "extVirtualLinks": [ + { + "extCps": [ + { + "cpdId": "commisioning_ecp" + } + ], + "resourceId": "pub_net" + } + ], + "zones": [ + { + "resourceId": "compute-a", + "id": "zoneInfoId" + } + ], + "flavourId": "scalable", + "vimType": "OPENSTACK_V2_INFO", + "instantiationLevel": "default", + "softwareImages": [ + { + "resourceId": "ubuntu.16.04", + "vnfdSoftwareImageId": "server_image" + } + ] + } + } + } +} \ No newline at end of file diff --git a/nokiav2/docs/sampleVnfs/simpleDual/vfc.vnf.scale.request.json b/nokiav2/docs/sampleVnfs/simpleDual/vfc.vnf.scale.request.json new file mode 100644 index 00000000..af194c88 --- /dev/null +++ b/nokiav2/docs/sampleVnfs/simpleDual/vfc.vnf.scale.request.json @@ -0,0 +1,9 @@ +{ + "scaleVnfData" : [ + { + "type" : "SCALE_OUT", + "aspectId" : "simpleAspect", + "numberOfSteps" : "1" + } + ] +} \ No newline at end of file -- cgit 1.2.3-korg