X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=lcm%2Flcm%2Fnf%2Ftests%2Fconst.py;h=7ebb7d3222eeaf02c066b9312d5c44555ef617c1;hb=c23b4b6131096628c13469d4dc204beb4c05eb55;hp=c9509513142258ee5657d6ac361f5e27c3e34c49;hpb=89b6e7c193199259cda3f01b46082cc4e8cc9ffd;p=vfc%2Fgvnfm%2Fvnflcm.git diff --git a/lcm/lcm/nf/tests/const.py b/lcm/lcm/nf/tests/const.py index c9509513..7ebb7d32 100644 --- a/lcm/lcm/nf/tests/const.py +++ b/lcm/lcm/nf/tests/const.py @@ -1166,7 +1166,22 @@ multiple_vnf_lcm_op = [{ # } # } vnfd_for_scale = { - "volume_storages": [], + "volume_storages": [ + { + "volume_storage_id": "test", + "properties": { + "location_info": { + "vimid": "vim_1", + "tenant": "chinamobile", + "availability_zone": "test", + }, + "volume_name": "test", + "custom_volume_type": "test", + "size_of_storage": "\"10 GB\"", + }, + "image_file": "test", + }, + ], "vnf": { "type": "tosca.nodes.nfv.VNF", "requirements": { @@ -1202,7 +1217,16 @@ vnfd_for_scale = { { "description": "", "virtual_storages": [ - + { + "virtual_storage_id": "test", + "type_of_storage": "ephemeral", + "size_of_storage": "10 GB", + } + ], + "volume_storages": [ + { + "volume_storage_id": "test", + } ], "vdu_id": "sunshine", "artifacts": [ @@ -1222,11 +1246,6 @@ vnfd_for_scale = { "virtual_memory": { "virtual_mem_size": "4096 MB" }, - "virtual_local_storage": [ - { - "size_of_storage": "40 GB" - } - ] }, "vls": [ @@ -1403,7 +1422,16 @@ vnfd_for_scale = { "description": "", "vdu_id": "sunshine", "properties": { - "trunk_mode": "false" + "trunk_mode": "false", + "protocol_data": [{ + "address_data": { + "address_type": "ip_address", + "l3_address_data": { + "floating_ip_activated": False, + "ip_address_assignment": False + } + } + }] }, "cp_id": "ext_cp", "cpd_id": "ext_cp"