X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=lcm%2Flcm%2Fnf%2Fvnfs%2Fconst.py;h=9adb4ed6c82bc200ed963b02fc81894a04e5156c;hb=f74e80669eb2ea45755fd7b111bfa7852c4a03f2;hp=66dae1ea036d46ae9dae4a99a00b3d86feba8a00;hpb=d672544f4b8c9a8b181b0f7feb6cf4ff710e0362;p=vfc%2Fgvnfm%2Fvnflcm.git diff --git a/lcm/lcm/nf/vnfs/const.py b/lcm/lcm/nf/vnfs/const.py index 66dae1ea..9adb4ed6 100644 --- a/lcm/lcm/nf/vnfs/const.py +++ b/lcm/lcm/nf/vnfs/const.py @@ -345,14 +345,14 @@ vnfd_model_dict = { "inner_hugepage_size": "2048", "action": "add" }, - "image_file": "omm_image", + "image_file": u'sss', "local_storages": [ "local_storage_id1", "local_storage_id2" ], "volume_storages": [ { - "volume_storage_id": "volume_storage_id1", + "volume_storage_id": "volume_storage1", "location": "/usr/data", "device": "/dev/hda1" } @@ -386,11 +386,9 @@ vnfd_model_dict = { }, "vls": [ "vlId1", - "vlIdN" ], "cps": [ "cpId1", - "cpIdN" ], "scalable": { "min_instances": 1, @@ -555,7 +553,7 @@ vnfd_model_dict = { ], 'cps': [ { - "cp_id": "cpId", + "cp_id": "cpId1", "description": "", "properties": { "name": "", @@ -692,7 +690,7 @@ c6_data_create_port = { "vnicType": "normal", "securityGroups": "" } -c1_data_create_flavor ={ +c7_data_create_flavor ={ "returnCode": 0, "vimId": "11111", "vimName": "11111", @@ -706,4 +704,43 @@ c1_data_create_flavor ={ "swap": 20, "isPublic": True, "extraSpecs": "testtt" -} \ No newline at end of file +} + +c8_data_list_image = { + "vimid": "", + "vimname": "", + "imageList": [ + { + "status": "active", + "id": "5e2757c1-f846-4727-915c-9a872553ed75", + "size": 862016, + "name": u'sss.vmdk' + } + ] +} +c9_data_create_vm = { + "returnCode": 1, + "id": "3c9eebdbbfd345658269340b9ea6fb73", + "name": "vm1", + "vimId": "11111", + "vimName": "11111", + "tenantId": "tenant1", + "boot": "boot_1", + "nicArray": "dfdf", + "volumeArray": "dfdf", + "availabilityZone": "fdvfdv", + "flavorId": "fdvfdv", + "metadata": "fdvfdv", + "securityGroups": "fdvfdv", + "serverGroup": "fdvfdv", + "status": "ACTIVE" +} +c10_data_get_vm = { + "returnCode": 1, + "id": "3c9eebdbbfd345658269340b9ea6fb73", + "name": "vm1", + "vimId": "11111", + "vimName": "11111", + "tenantId": "tenant1", + "status": "ACTIVE" +}