aboutsummaryrefslogtreecommitdiffstats
path: root/tests/usecases-pnf-sw-upgrade/pnf-sw-upgrade/data
diff options
context:
space:
mode:
Diffstat (limited to 'tests/usecases-pnf-sw-upgrade/pnf-sw-upgrade/data')
-rw-r--r--tests/usecases-pnf-sw-upgrade/pnf-sw-upgrade/data/blueprint_archive.zipbin0 -> 18151 bytes
-rw-r--r--tests/usecases-pnf-sw-upgrade/pnf-sw-upgrade/data/distributeServiceTemplate.json35
-rwxr-xr-xtests/usecases-pnf-sw-upgrade/pnf-sw-upgrade/data/mount.json18
-rw-r--r--tests/usecases-pnf-sw-upgrade/pnf-sw-upgrade/data/serviceInstantiationActivationRequest.json43
-rw-r--r--tests/usecases-pnf-sw-upgrade/pnf-sw-upgrade/data/serviceInstantiationDownloadRequest.json43
5 files changed, 139 insertions, 0 deletions
diff --git a/tests/usecases-pnf-sw-upgrade/pnf-sw-upgrade/data/blueprint_archive.zip b/tests/usecases-pnf-sw-upgrade/pnf-sw-upgrade/data/blueprint_archive.zip
new file mode 100644
index 00000000..4edc9ded
--- /dev/null
+++ b/tests/usecases-pnf-sw-upgrade/pnf-sw-upgrade/data/blueprint_archive.zip
Binary files differ
diff --git a/tests/usecases-pnf-sw-upgrade/pnf-sw-upgrade/data/distributeServiceTemplate.json b/tests/usecases-pnf-sw-upgrade/pnf-sw-upgrade/data/distributeServiceTemplate.json
new file mode 100644
index 00000000..c13eb8d5
--- /dev/null
+++ b/tests/usecases-pnf-sw-upgrade/pnf-sw-upgrade/data/distributeServiceTemplate.json
@@ -0,0 +1,35 @@
+{
+ "distributionID": "05fd08d8-c452-429a-a1ad-806c8d05e7c8",
+ "serviceName": "Demo_svc",
+ "serviceVersion": "1.0",
+ "serviceUUID": "cd4decf6-4f27-4775-9561-0e683ed43635",
+ "serviceDescription": "aaaa",
+ "serviceInvariantUUID": "fe41489e-1563-46a3-b90a-1db629e4375b",
+ "resources": [
+ {
+ "resourceInstanceName": "Demo_pnf 0",
+ "resourceCustomizationUUID": "36b46817-2eaf-41b3-bfa3-11a7e0fd9bb2",
+ "resourceName": "Demo_pnf",
+ "resourceVersion": "1.0",
+ "resoucreType": "PNF",
+ "resourceUUID": "a42f6566-6a29-43e1-bac9-b91a59d702ac",
+ "resourceInvariantUUID": "fdf44827-35db-4ee5-bd70-7500e633576e",
+ "category": "Network L4+",
+ "subcategory": "Common Network Resources",
+ "artifacts": []
+ }
+ ],
+ "serviceArtifacts": [
+ {
+ "artifactName": "service-DemoSvc-csar.csar",
+ "artifactType": "TOSCA_CSAR",
+ "artifactURL": "//unzipped_sdc_csar/v1/catalog/services/DemoSvc/1.0/artifacts/service-DemoSvc-csar.csar",
+ "artifactChecksum": "Njk4NDM4YTdjYmM4NWFkN2M1YWZiM2IzYzdmNWZjZTU\u003d",
+ "artifactDescription": "TOSCA definition package of the asset",
+ "artifactTimeout": 0,
+ "artifactVersion": "1",
+ "artifactUUID": "e2640671-a5ed-40a6-b231-8f33084b1c1a"
+ }
+ ],
+ "workloadContext": "Production"
+ } \ No newline at end of file
diff --git a/tests/usecases-pnf-sw-upgrade/pnf-sw-upgrade/data/mount.json b/tests/usecases-pnf-sw-upgrade/pnf-sw-upgrade/data/mount.json
new file mode 100755
index 00000000..58925b1a
--- /dev/null
+++ b/tests/usecases-pnf-sw-upgrade/pnf-sw-upgrade/data/mount.json
@@ -0,0 +1,18 @@
+{
+ "node": [
+ {
+ "node-id": "PNFDemo",
+ "netconf-node-topology:protocol": {
+ "name": "TLS"
+ },
+ "netconf-node-topology:host": "pnfaddr",
+ "netconf-node-topology:key-based": {
+ "username": "netconf",
+ "key-id": "ODL_private_key_0"
+ },
+ "netconf-node-topology:port": 6513,
+ "netconf-node-topology:tcp-only": false,
+ "netconf-node-topology:max-connection-attempts": 5
+ }
+ ]
+} \ No newline at end of file
diff --git a/tests/usecases-pnf-sw-upgrade/pnf-sw-upgrade/data/serviceInstantiationActivationRequest.json b/tests/usecases-pnf-sw-upgrade/pnf-sw-upgrade/data/serviceInstantiationActivationRequest.json
new file mode 100644
index 00000000..a25ebfda
--- /dev/null
+++ b/tests/usecases-pnf-sw-upgrade/pnf-sw-upgrade/data/serviceInstantiationActivationRequest.json
@@ -0,0 +1,43 @@
+{
+ "requestDetails":{
+ "requestInfo":{
+ "source":"VID",
+ "suppressRollback":false,
+ "requestorId":"demo"
+ },
+ "modelInfo":{
+ "modelType":"service",
+ "modelInvariantUuid":"fe41489e-1563-46a3-b90a-1db629e4375b",
+ "modelInvariantId" : "fe41489e-1563-46a3-b90a-1db629e4375b",
+ "modelUuid":"cd4decf6-4f27-4775-9561-0e683ed43635",
+ "modelVersionId" : "cd4decf6-4f27-4775-9561-0e683ed43635",
+ "modelName":"Demo_svc",
+ "modelVersion":"1.0"
+ },
+ "requestParameters":{
+ "userParams":[
+ {
+ "name":"targetSoftwareVersion",
+ "value":"pnf_sw_version-3.0.0"
+ },
+ {
+ "name":"pnfName",
+ "value":"PNFDemo"
+ }
+ ],
+ "subscriptionServiceType":"vCPE",
+ "aLaCarte":false
+
+ },
+ "subscriberInfo": {
+ "globalSubscriberId": "DemoCustomer"
+ },
+ "project": {
+ "projectName": "pnfSWUProject"
+ },
+ "owningEntity": {
+ "owningEntityId": "f2e1071e-3d47-4a65-94d4-e473ec03326a",
+ "owningEntityName": "OE-Demonstration"
+ }
+ }
+ } \ No newline at end of file
diff --git a/tests/usecases-pnf-sw-upgrade/pnf-sw-upgrade/data/serviceInstantiationDownloadRequest.json b/tests/usecases-pnf-sw-upgrade/pnf-sw-upgrade/data/serviceInstantiationDownloadRequest.json
new file mode 100644
index 00000000..0042ac26
--- /dev/null
+++ b/tests/usecases-pnf-sw-upgrade/pnf-sw-upgrade/data/serviceInstantiationDownloadRequest.json
@@ -0,0 +1,43 @@
+{
+ "requestDetails":{
+ "requestInfo":{
+ "source":"VID",
+ "suppressRollback":false,
+ "requestorId":"demo"
+ },
+ "modelInfo":{
+ "modelType":"service",
+ "modelInvariantUuid":"fe41489e-1563-46a3-b90a-1db629e4375b",
+ "modelInvariantId" : "fe41489e-1563-46a3-b90a-1db629e4375b",
+ "modelUuid":"cd4decf6-4f27-4775-9561-0e683ed43635",
+ "modelVersionId" : "cd4decf6-4f27-4775-9561-0e683ed43635",
+ "modelName":"Demo_svc",
+ "modelVersion":"1.0"
+ },
+ "requestParameters":{
+ "userParams":[
+ {
+ "name":"targetSoftwareVersion",
+ "value":"pnf_sw_version-2.0.0"
+ },
+ {
+ "name":"pnfName",
+ "value":"PNFDemo"
+ }
+ ],
+ "subscriptionServiceType":"vCPE",
+ "aLaCarte":false
+
+ },
+ "subscriberInfo": {
+ "globalSubscriberId": "DemoCustomer"
+ },
+ "project": {
+ "projectName": "pnfSWUProject"
+ },
+ "owningEntity": {
+ "owningEntityId": "f2e1071e-3d47-4a65-94d4-e473ec03326a",
+ "owningEntityName": "OE-Demonstration"
+ }
+ }
+ } \ No newline at end of file