<div dir="ltr">Hello EveryOne,<div>Any update on this, please.</div><div><br></div><div><br></div><div>-Lokendra</div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Oct 28, 2021 at 2:43 PM Lokendra Rathour <<a href="mailto:lokendrarathour@gmail.com">lokendrarathour@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Hi,<div><i>In Tacker, while deploying VNFD can we pass a file ( parameter file) and keep it at a defined path using cloud-config way?</i></div><div><br></div><div>Like in <b>generic hot template</b>s, we have the below-mentioned way to pass a file directly as below:</div><div>parameters:<br>  foo:<br>    default: bar<br><br>resources:<br><br>  the_server:<br>    type: OS::Nova::Server<br>    properties:<br>      # flavor, image etc<br>      user_data:<br>        str_replace:<br>          template: {get_file: the_server_boot.sh}<br>          params:<br>            $FOO: {get_param: foo}<br></div><div><br></div><div><br></div><div><b>but when using this approach in Tacker BaseHOT it gives an error saying </b></div><div>"nstantiation wait failed for vnf 77693e61-c80e-41e0-af9a-a0f702f3a9a7, error: VNF Create Resource CREATE failed: resources.obsvrnnu62mb: resources.CAS_0_group.Property error: resources.soft_script.properties.config: No content found in the "files" section for get_file path: Files/scripts/install.py</div>2021-10-28 00:46:35.677 3853831 ERROR oslo_messaging.rpc.server<div><div>"</div><div>do we have a defined way to use the hot capability in TACKER? </div><div><br></div><div>Defined Folder Structure for CSAR:</div><div>.<br>├── BaseHOT<br>│   └── default<br>│       ├── RIN_vnf_hot.yaml<br>│       └── nested<br>│           ├── RIN_0.yaml<br>│           └── RIN_1.yaml<br>├── Definitions<br>│   ├── RIN_df_default.yaml<br>│   ├── RIN_top_vnfd.yaml<br>│   ├── RIN_types.yaml<br>│   ├── etsi_nfv_sol001_common_types.yaml<br>│   └── etsi_nfv_sol001_vnfd_types.yaml<br>├── Files<br>│   ├── images<br>│   └── scripts<br>│       └── install.py<br>├── Scripts<br>├── TOSCA-Metadata<br>│   └── TOSCA.meta<br>├── UserData<br>│   ├── __init__.py<br>│   └── lcm_user_data.py<br></div><div><br></div><div><b>Objective: </b></div><div>To pass a file at a defined path on the VDU after the VDU is instantiated/launched. </div><div><br></div><div>-- <br><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr">~ Lokendra<br></div><div>skype: lokendrarathour</div><div dir="ltr"><img src="https://drive.google.com/uc?id=0BynJnQEa1sUyU2dxclR4dVVWM0E&export=download&resourcekey=0-SqQLe-ZfiPFkKfdNa8WpMg" width="200" height="41"><br></div><div dir="ltr"><br></div></div></div></div></div></div></div>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div dir="ltr">~ Lokendra</div><div dir="ltr"><a href="http://www.inertiaspeaks.com" target="_blank">www.inertiaspeaks.com</a></div><div dir="ltr"><a href="http://www.inertiagroups.com" target="_blank">www.inertiagroups.com</a></div><div>skype: lokendrarathour</div><div dir="ltr"><img src="https://drive.google.com/uc?id=0BynJnQEa1sUyU2dxclR4dVVWM0E&export=download&resourcekey=0-SqQLe-ZfiPFkKfdNa8WpMg" width="200" height="41"><br></div><div dir="ltr"><br></div></div></div></div></div>