VM's nic IP address from vcenter

Hi

Can you help me if there is a way to provide an IP address of VM deployed in vcenter to sunstone ?

I’ve tried to use onegate, but onegate updates info in “USER_TEMPLATE” section, but as it seems IP address in another.

Sunstone knows only Mac address by default.

Maybe there is another ways to set an IP of VM, from VM’s script like example ?

If you define a IPv6 AR in your virtual network OpenNebula should start handing IPs to VMs.

Note that you’ll need VMware tools + OpenNebula context packages available in the guestOS.

I’ve defined IPv4 AR, is it not enough ?

Yes, what that prior to deploying the VM?

I found where IP was. I’ve searching for it in nic description, but it was above.

Thx

Can i get Network Monitoring Attributes from onegate ?

Hello @Jehe,

The network information that is retrieved in OneGate is the following:

IP
IP6_LINK
IP6_SITE
IP6_GLOBAL
NETWORK
MAC
NAME
PARENT
EXTERNAL
EXTERNAL_IP

And the network information that is retrieve from monitoring is:

GUEST_IP
AWS_IP_ADDRESS
AWS_PUBLIC_IP_ADDRESS
AWS_PRIVATE_IP_ADDRESS
AZ_IPADDRESS
SL_PRIMARYIPADDRESS

This array can be found in /usr/lib/one/ruby/opennebula/virtual_machine.rb.

Best,
Álex.