There are two modes for Heat context,  user-defined templates or generated 
templates.

With user-defined templates, you can add any Heat option you like.  Example for 
user_data 
https://git.opnfv.org/yardstick/tree/yardstick/vTC/apexlake/heat_templates/vTC.yaml#n79.
  If you are doing fancy stuff then you probably want your own heat templates.

For the generated templates, it looks like we have some code in the template 
generator, but it is not fully connected.

I made a quick patch, untested:  https://gerrit.opnfv.org/gerrit/#/c/30623/

--
Ross


On 03/15/2017 07:04 AM, Marco Varlese wrote:
> Hi,
> 
> Is there a way in yardstick to pass the user-data information to the VM 
> instance
> creation?
> 
> I'm thinking something inline with what I can do via "nova boot --user-data
> user_data.file"
> 
> Is there a way to pass either a file or instructions to Yardstick so that it 
> can
> execute or configure something via the cloud-init?
> 
> 
> Thanks,
> Marco
> _______________________________________________
> opnfv-tech-discuss mailing list
> opnfv-tech-discuss@lists.opnfv.org
> https://lists.opnfv.org/mailman/listinfo/opnfv-tech-discuss
> 
_______________________________________________
opnfv-tech-discuss mailing list
opnfv-tech-discuss@lists.opnfv.org
https://lists.opnfv.org/mailman/listinfo/opnfv-tech-discuss

Reply via email to