<p dir="ltr">Isn't that exposed through outputs ?<br>
And then use the output combined with configdrive cloudinit  to configure your NICS</p>
<p dir="ltr">outputs:<br>
  instance_ip:<br>
    description: The IP address of the deployed instance<br>
    value: { get_attr: [my_instance, first_address] }<br>
</p>
<div class="gmail_extra"><br><div class="gmail_quote">On Jul 20, 2016 5:58 PM, "Kaustubh Kelkar" <<a href="mailto:kaustubh.kelkar@casa-systems.com" target="_blank">kaustubh.kelkar@casa-systems.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">





<div lang="EN-US" link="#0563C1" vlink="#954F72">
<div>
<p class="MsoNormal"><span style="color:#1f4e79">My use case involves booting up an instance attached to two networks – one having Neutron DHCP service running and one without. Looking within the documentation [1], I was hoping to use configuration drive to
 provide IP information for the second interface. But, if I understand correctly, one could theoretically pass any IP information through it; which may or may not match the IP that is assigned to the Neutron port. I wonder if there is any way the actual IP
 assigned to the Neutron port is exposed in some way within the VM.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="color:#1f4e79"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="color:#1f4e79">One crude workaround I can think of is to create a port beforehand with a fixed IP, and use this information to configure static networking within the VM. However this might not be manageable if a user launches
 numerous VMs since he/she will have to ensure that IPs do not overlap.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="color:#1f4e79"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="color:#1f4e79">[2] looks promising, but I am not clear how I can just specify the second interface only.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="color:#1f4e79"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="color:#1f4e79">[1] <a href="http://docs.openstack.org/user-guide/cli_config_drive.html" target="_blank">
http://docs.openstack.org/user-guide/cli_config_drive.html</a><u></u><u></u></span></p>
<p class="MsoNormal"><span style="color:#1f4e79">[2]</span> <span style="color:#1f4e79">
<a href="http://blog.oddbit.com/2015/06/26/openstack-networking-without-dhcp/" target="_blank">http://blog.oddbit.com/2015/06/26/openstack-networking-without-dhcp/</a>
<u></u><u></u></span></p>
<p class="MsoNormal"><span style="color:#1f4e79"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="color:#1f4e79"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="color:#1f4e79">Thanks,<u></u><u></u></span></p>
<p class="MsoNormal"><span style="color:#1f4e79">Kaustubh<u></u><u></u></span></p>
</div>
</div>

<br>_______________________________________________<br>
Mailing list: <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" rel="noreferrer" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a><br>
Post to     : <a href="mailto:openstack@lists.openstack.org">openstack@lists.openstack.org</a><br>
Unsubscribe : <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" rel="noreferrer" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a><br>
<br></blockquote></div></div>