Dealing with test related stuffs.
[vfc/gvnfm/vnflcm.git] / lcm / lcm / nf / const.py
index 33ba654..4159644 100644 (file)
@@ -31,6 +31,7 @@ inst_req_data = {
             "vimConnectionId": "vimConnection_1",
             "resourceProviderId": "resourceProvider_1",
             "resourceId": "resource_1",
+            "resourceSubnetId": "resourceSubnet_1",
             "extCps": [
                 {
                     "cpdId": "cpd_1",
@@ -100,10 +101,9 @@ inst_req_data = {
     ],
     "localizationLanguage": "en_US",
     "additionalParams": {
-        # "inputs": {
+        "vimId": "vim_1",
         "key1": "test1",
-        "key2": "test2"
-        # }
+        "key2": "test2",
     }
 }
 
@@ -586,7 +586,22 @@ c10_data_get_vm = {
 }
 
 vnfdModel = {
-    "volume_storages": [],
+    "volume_storages": [
+        {
+            "volume_storage_id": "test",
+            "properties": {
+                "location_info": {
+                    "vimid": "test",
+                    "tenant": "tenantname_1",
+                    "availability_zone": "test",
+                },
+                "volume_name": "test",
+                "custom_volume_type": "test",
+                "size": "1",
+            },
+            "image_file": "test",
+        },
+    ],
     "inputs": {
         "pe1_id": {
             "type": "string",