<div dir="ltr">Hi  Sean Mooney and Lajos Katona,<div><br></div><div>Thanks alot for your support,Accuvally we are planning to create VM through for my application (Using API and python script) after creating vm through python script we get JSON response in that response we get instance ID,through that id we can find VM IP's,for that public ID application connect to VM and do some process.This is orally idea.The application creates somany VM's</div><div><br></div><div>Thanks & Regards,</div><div>Venkat Reddy Sangam.</div><div>  </div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Aug 22, 2022 at 3:49 PM Sean Mooney <<a href="mailto:smooney@redhat.com">smooney@redhat.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On Mon, 2022-08-22 at 09:28 +0200, Lajos Katona wrote:<br>
> Hi,<br>
> Perhaps you can use Heat and hot templates:<br>
> <a href="https://docs.openstack.org/heat/latest/template_guide/basic_resources.html#create-and-associate-a-floating-ip-to-an-instance" rel="noreferrer" target="_blank">https://docs.openstack.org/heat/latest/template_guide/basic_resources.html#create-and-associate-a-floating-ip-to-an-instance</a><br>
<br>
heat would be one way.<br>
nova does not support creating an instance and automatically assigining a floating ip atomicly its also not something we plan to add in the future.<br>
<br>
if creating the server and addign the floating ip is not somethign that works for you you can do it the other way<br>
<br>
create the neutron port and add the floating ip to it then boot the vm with that port.<br>
that way the first time the vms boots it will already have the floating ip assgined to it but tis still going to require <br>
multiple steps.<br>
<br>
> <br>
> Lajos Katona (lajoskatona)<br>
> <br>
> Venkat Reddy <<a href="mailto:venkat.reddybe@gmail.com" target="_blank">venkat.reddybe@gmail.com</a>> ezt írta (időpont: 2022. aug. 20.,<br>
> Szo, 20:41):<br>
> <br>
> > Hi All Goodmorning,<br>
> > <br>
> > Please help me ,I have the requirement to assign floating IP<br>
> > automatically while creating an instance. Can please help me.<br>
> > <br>
> > --<br>
> > Thanks & Regards,<br>
> > <br>
> > Venkat Reddy.S<br>
> > <br>
<br>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature">Thanks & Regards,<br><br>Venkat Reddy.S</div>