X-Git-Url: https://gerrit.onap.org/r/gitweb?p=vfc%2Fgvnfm%2Fvnflcm.git;a=blobdiff_plain;f=lcm%2Flcm%2Fsamples%2Ftests.py;fp=lcm%2Flcm%2Fsamples%2Ftests.py;h=f834e7ca6b43ffb74ad5c9a9bea1fc59d2c84805;hp=01c87debec1268558e128cc4b474ceb72c91722c;hb=76aa6cb99671fe222837b45e2564c6244da63262;hpb=eb2b62f063e14a85a66cc8dfe54cf404b9099ef8 diff --git a/lcm/lcm/samples/tests.py b/lcm/lcm/samples/tests.py index 01c87deb..f834e7ca 100644 --- a/lcm/lcm/samples/tests.py +++ b/lcm/lcm/samples/tests.py @@ -46,21 +46,17 @@ inst_res_data = { }, "artifacts": [ { - "artifact_name": "cirros.img", + "artifact_name": "sw_image", + "deploy_path": "", "type": "tosca.artifacts.nfv.SwImage", - "properties": { - "operating_system": "unbant", - "sw_image": "/swimages/xenial-snat.qcow2", - "name": "cirros.img", - "checksum": "5000", - "min_ram": "1 GB", - "disk_format": "qcow2", - "version": "1.0", - "container_format": "bare", - "min_disk": "10 GB", - "size": "10 GB" - }, - "file": "/swimages/xenial-snat.qcow2" + "repository": "", + "file": "ubuntu_16.04" + }, + ], + "inject_files": [ + { + "source_path": "artifacts/keys/authorized_keys", + "dest_path": "/home/ubuntu/.ssh/authorized_keys" } ], "image_file": "cirros.img", @@ -76,6 +72,8 @@ inst_res_data = { "cp_vNat" ], "properties": { + "user_data": "just test user data", + "meta_data": "just test meta data", "configurable_properties": { "test": { "additional_vnfc_configurable_properties": { @@ -330,7 +328,7 @@ c5_data_get_flavor = [{ c6_data_list_image = { "images": [ { - "name": "cirros.img", + "name": "ubuntu_16.04", "id": "678" } ]