VDU configuration support

Asked by ajinkya

I would like to know if there is any way to do VDU level configuration using tacker? Once a VDU is spawned, is there any way to run user provided script to make it usable? Script that I am referring to over here can considered as scripts for chef/puppet etc.
Only method that I am currently aware of is user data section from VDU configuration where we can do cloud-init scripting.

Question information

Language:
English Edit question
Status:
Answered
For:
tacker Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Sridhar Ramaswamy (srics-r) said :
#1

> Once a VDU is spawned, is there any way to run user provided script to make it usable?

Are you looking to run the script inside the VDU virtual machine or outside on the tacker controller side ? There is a mgmt-driver framework, where a script can run within the context of Tacker immediately after a VDU is spawned.

> Script that I am referring to over here can considered as scripts for chef/puppet etc. Only method that I am currently aware of is user data section from VDU configuration where we can do cloud-init scripting.

Yes, user-data is the way to run scripts within the context of the VDU,

http://docs.openstack.org/developer/tacker/devref/vnfd_template_description.html#providing-user-data

Now, can't you use this user-data to start puppet agent within the VDU ?

Revision history for this message
ajinkya (jindev) said :
#2

Thanks for clarification Sridhar. I am currently using user data only. Just wanted to understand if there is some other way as well.
Could you give me scenario where mgmt driver would come handy ? Is it for VDU specific configuration or entire VNF level configuration ?

Can you help with this problem?

Provide an answer of your own, or ask ajinkya for more information if necessary.

To post a message you must log in.