[one-users] Network addressing and IP recognition in ONE

Andreas Calvo Gómez andreas.calvo at scytl.com
Wed Oct 16 13:04:33 PDT 2013


Jaime,

Thanks, I’ll try to have some script that reads from one end and feeds the
other end.

 

However, do you foresee useful to have some kind of daemon inside the VM
that will update the IP address shown in ONE?

For instance, a VM is configured with a context that has the IP and port of
a REST service on ONE.

Once the ONE daemon inside the VM has started and it gets a valid IP
address, it pushes that information to ONE, so the IP address shown in the
WEBUI is valid.

I assume there will be some other dependencies – VMID, for instance – but it
could be a nice feature to deploy VMs in a mixing environment, or to have a
centralized network server.

 

It may not work with all network drivers, as it stills requires to have a
virtual network assigned with VLAN tagging – not having a virtual network or
some tagging at layer 2 would mean defining manually the MAC-IP pairs.

 

Thanks!

 

---

Andreas Calvo Gómez

Systems Engineer

Scytl Secure Electronic Voting

Plaça Gal·la Placidia, 1-3, 1st floor · 08006 Barcelona

Phone: + 34 934 230 324

Fax:   + 34 933 251 028

 <http://www.scytl.com/> http://www.scytl.com

 

NOTICE: The information in this e-mail and in any of its attachments is

confidential and intended solely for the attention and use of the named

addressee(s). If you are not the intended recipient, any disclosure,

copying,

distribution or retaining of this message or any part of it, without the

prior

written consent of Scytl Secure Electronic Voting, SA is prohibited and

may be

unlawful. If you have received this in error, please contact the sender

and

delete the material from any computer.

 

From: Jaime Melis [mailto:jmelis at opennebula.org] 
Sent: miércoles, 16 de octubre de 2013 16:55
To: Andreas Calvo Gómez
Cc: users
Subject: Re: [one-users] Network addressing and IP recognition in ONE

 

Hi Andreas,

 

no, that's not currently supported by OpenNebula.

 

You can use however user-defined fields to store any information. If you do
"onevm update <id>" you can add any key=value. If you have a third-party
tool that reads from the template that user-defined field, you can simulate
this feature.

 

cheers

 

On Thu, Oct 3, 2013 at 1:02 PM, Andreas Calvo Gómez
<andreas.calvo at scytl.com> wrote:

Hello all,
Network addressing under ONE (with any of the drivers) seems target to
isolated/dedicated networks, where one can assume all IP address can be
guessed by the MAC.
However, when mixing a working network segment with ONE, you have to
sacrifice something to get it working.
Currently, there are 3 options:
- Virtual Router
- Virtual Network with fixed range
- Virtual Network without range

None of the mentioned options will fit with an external network services
server (DHCP, DNS) and let ONE know the right address of a VM.

Would it be possible to, given a VM and all context parameters, push the IP
information into ONE?
In a more practical approach: during the startup of the OS, get a valid IP
address, and during the context script, push that information to ONE.
Seems a little bit more dynamic, since nothing is hardcoded either in
Virtual Networks or in the network service (DHCP), plus it gives the ability
to control from outside and integrated with other services.

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





 

-- 

Jaime Melis
Project Engineer
OpenNebula - Flexible Enterprise Cloud Made Simple
www.OpenNebula.org | jmelis at opennebula.org

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20131016/0edd9e77/attachment-0002.htm>


More information about the Users mailing list