summaryrefslogtreecommitdiffstats
path: root/nokiav2/docs/sampleVnfs
diff options
context:
space:
mode:
authorDenes Nemeth <denes.nemeth@nokia.com>2018-02-12 20:55:54 +0100
committerDenes Nemeth <denes.nemeth@nokia.com>2018-02-23 11:44:45 +0100
commitb17042b955489d8a023d09abad5436ff9b900dc3 (patch)
tree1e4392ac04a2fb1ed8d17075d504cf6594acaf16 /nokiav2/docs/sampleVnfs
parentd4982f7b1777e9cdae9a4cc7d0d104263889ac69 (diff)
Updating Nokia driver
Change-Id: I950afe6acbdb359cd67a448024f006a45e8fc293 Signed-off-by: Denes Nemeth <denes.nemeth@nokia.com> Issue-ID: VFC-728
Diffstat (limited to 'nokiav2/docs/sampleVnfs')
-rw-r--r--nokiav2/docs/sampleVnfs/simple/cbam.instantiation.request.json60
-rw-r--r--nokiav2/docs/sampleVnfs/simple/simple.csarbin0 -> 12147 bytes
-rw-r--r--nokiav2/docs/sampleVnfs/simple/vfc.ns.create.request.json9
-rw-r--r--nokiav2/docs/sampleVnfs/simple/vfc.ns.instantiation.request.json41
-rw-r--r--nokiav2/docs/sampleVnfs/simpleDual/cbam.instantiation.request.json60
-rw-r--r--nokiav2/docs/sampleVnfs/simpleDual/sample/vfc.to.cbam.instantiation.json65
-rw-r--r--nokiav2/docs/sampleVnfs/simpleDual/simpleDual.csarbin0 -> 11470 bytes
-rw-r--r--nokiav2/docs/sampleVnfs/simpleDual/vfc.ns.create.request.json9
-rw-r--r--nokiav2/docs/sampleVnfs/simpleDual/vfc.ns.heal.request.json13
-rw-r--r--nokiav2/docs/sampleVnfs/simpleDual/vfc.ns.instantiation.request.json41
-rw-r--r--nokiav2/docs/sampleVnfs/simpleDual/vfc.vnf.scale.request.json9
11 files changed, 307 insertions, 0 deletions
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
--- /dev/null
+++ b/nokiav2/docs/sampleVnfs/simple/simple.csar
Binary files 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
--- /dev/null
+++ b/nokiav2/docs/sampleVnfs/simpleDual/simpleDual.csar
Binary files 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