Re: [one-users] Can I do this with openNebula?

2015-01-19 Thread Tino Vazquez
Dear Sergei,

Answering your questions:

- Can I specify a DVPortGroup for the VM? Currently all VMs inherit it
from a vMware template?

Yes, although you need a vOneCloud based on the newest OpenNebula
4.10.2. This vOneCloud is going to be available in a few days. In this
new version, DVPortGroups can be imported automatically from vCenter,
or created manually:
http://docs.opennebula.org/4.10/administration/virtualization/vcenterg.html#virtual-network-definition.

- Can I have VM name the same as a host name I supply instead of
'one-###' (I am using vOneCloud, not sure if it is a settable
parameter)

Currently this is not possible, this is a feature that has high
priority in our roadmap: http://dev.opennebula.org/issues/3468

- Can I, before creating a VM, call my own script and populate context
for the VM with the data from this script?

One way of achieving this would be through the Hook mechanism
(http://docs.opennebula.org/4.10/integration/infrastructure_integration/hooks.html).
For instance, a hook can be attached to the CREATED state of the VM,
so a script will be triggered to retrieve whatever desired information
and update the template of the VM to add the information to the
CONTEXT section.

Hope it helps,

-Tino

--
OpenNebula - Flexible Enterprise Cloud Made Simple

--
Constantino Vázquez Blanco, PhD, MSc
VP of Engineering | Head of Research at OpenNebula Systems
cvazquez@OpenNebula.Systems | @OpenNebula

--
Confidentiality Warning: The information contained in this e-mail and
any accompanying documents, unless otherwise expressly indicated, is
confidential and privileged, and is intended solely for the person
and/or entity to whom it is addressed (i.e. those identified in the
To and cc box). They are the property of OpenNebula.Systems S.L..
Unauthorized distribution, review, use, disclosure, or copying of this
communication, or any part thereof, is strictly prohibited and may be
unlawful. If you have received this e-mail in error, please notify us
immediately by e-mail at abuse@opennebula.systems and delete the
e-mail and attachments and any copy from your system. OpenNebula's
thanks you for your cooperation.


On 15 January 2015 at 21:04, Sergei Genchev sgenc...@gmail.com wrote:
  Hi,

  I am trying to see if OpenNebula can replace vCAC (or vRA) from
 vmware to automate our vm builds, miostly managing vSphere. I did read
 documentation but so far I cannot yet come up with the ways to do
 several things.

  I would really appreciate if you can tell me if things I want to do
 are possible and maybe point me to some docs/posts/script examples:

 - Can I specify a DVPortGroup for the VM? Currently all VMs inherit it
 from a vMware template?
 - Can I have VM name the same as a host name I supply instead of
 'one-###' (I am using vOneCloud, not sure if it is a settable
 parameter)
 - Can I, before creating a VM, call my own script and populate context
 for the VM with the data from this script?


  Thanks!
 ___
 Users mailing list
 Users@lists.opennebula.org
 http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


[one-users] Can I do this with openNebula?

2015-01-16 Thread Sergei Genchev
 Hi,

 I am trying to see if OpenNebula can replace vCAC (or vRA) from
vmware to automate our vm builds, miostly managing vSphere. I did read
documentation but so far I cannot yet come up with the ways to do
several things.

 I would really appreciate if you can tell me if things I want to do
are possible and maybe point me to some docs/posts/script examples:

- Can I specify a DVPortGroup for the VM? Currently all VMs inherit it
from a vMware template?
- Can I have VM name the same as a host name I supply instead of
'one-###' (I am using vOneCloud, not sure if it is a settable
parameter)
- Can I, before creating a VM, call my own script and populate context
for the VM with the data from this script?


 Thanks!
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org