Refactor codes for inst vnf ut
[vfc/gvnfm/vnflcm.git] / lcm / lcm / nf / tests / const.py
index 38d251e..3eec3e2 100644 (file)
 # limitations under the License.
 import json
 
+instantiate_grant_result = {
+    "vimConnections": [
+        {
+            "vimid": 'vim_1',
+            "accessInfo":
+            {
+                "tenant": 'chinamobile'
+            }
+        },
+    ],
+    "vnfId": "413aa1fe-b4d1-11e8-8268-dff5aab95c63",
+    "vimAssets":
+    {
+        "computeResourceFlavours": [
+            {
+                "resourceProviderId": "vgw",
+                "vimFlavourId": "yui",
+                "vimConnectionId": ""
+            },
+        ]
+    }
+}
+
+
 inst_req_data = {
     "flavourId": "flavour_1",
     "instantiationLevelId": "instantiationLevel_1",