Hi  Sean Mooney and Lajos Katona,

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

Thanks & Regards,
Venkat Reddy Sangam.
  

On Mon, Aug 22, 2022 at 3:49 PM Sean Mooney <smooney@redhat.com> wrote:
On Mon, 2022-08-22 at 09:28 +0200, Lajos Katona wrote:
> Hi,
> Perhaps you can use Heat and hot templates:
> https://docs.openstack.org/heat/latest/template_guide/basic_resources.html#create-and-associate-a-floating-ip-to-an-instance

heat would be one way.
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.

if creating the server and addign the floating ip is not somethign that works for you you can do it the other way

create the neutron port and add the floating ip to it then boot the vm with that port.
that way the first time the vms boots it will already have the floating ip assgined to it but tis still going to require
multiple steps.

>
> Lajos Katona (lajoskatona)
>
> Venkat Reddy <venkat.reddybe@gmail.com> ezt írta (időpont: 2022. aug. 20.,
> Szo, 20:41):
>
> > Hi All Goodmorning,
> >
> > Please help me ,I have the requirement to assign floating IP
> > automatically while creating an instance. Can please help me.
> >
> > --
> > Thanks & Regards,
> >
> > Venkat Reddy.S
> >



--
Thanks & Regards,

Venkat Reddy.S