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
It's easily scripted. /openstack server create/ /myserver ... /followed by /openstack server add floating ip//myserver 192.168.1.123/. If this doesn't help you, consider explaining what your problem is. On 2022/08/19 2:33 PM, Venkat Reddy wrote:
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
Hi, Perhaps you can use Heat and hot templates: https://docs.openstack.org/heat/latest/template_guide/basic_resources.html#c... 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
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#c...
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
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#c...
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
participants (4)
-
Bernd Bausch
-
Lajos Katona
-
Sean Mooney
-
Venkat Reddy