[Openstack] heat: Using IP address of one VM with-in another VM

ashish.jain14 at wipro.com ashish.jain14 at wipro.com
Wed May 6 15:42:35 UTC 2015


Thanks a lot Chris. That is helpful.

Regards
Ashish
________________________________________
From: Chris Friesen <chris.friesen at windriver.com>
Sent: Wednesday, May 06, 2015 7:16 PM
To: openstack at lists.openstack.org
Subject: Re: [Openstack] heat: Using IP address of one VM with-in another VM

On 05/06/2015 06:20 AM, ashish.jain14 at wipro.com wrote:
> Hi,
>
>
> Is it possible to somehow pass IP of a VM to another VM during heat deployment.
> For example IP of  a DB server in a VM to a client in another VM.

Yes.  As an example take a look at
"https://github.com/openstack/heat-templates/blob/master/hot/F20/WordPress_2_Instances.yaml".

The "WebServer" is configured with the IP address of the "DatabaseServer":

db_ipaddr: { get_attr: [DatabaseServer, networks, private, 0] }


Chris


_______________________________________________
Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to     : openstack at lists.openstack.org
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments. WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email. www.wipro.com




More information about the Openstack mailing list