Ask Your Question

How could I auto assign floating IP to instance through REST API?

asked 2020-04-16 14:29:03 -0500

OS_RM gravatar image

Hello All!

I've trying to find solution for the following problem: how could I auto assign floating IP to the running instance on OpenStack through REST API? I have been using this

POST to v2.1/servers/{server_id}/action



but unfortunatelly it does not answer my question.

Many thanks for your help!

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2020-04-16 17:40:07 -0500

You can use the Compute API as documented at, but it's deprecated and may not work any more. Instead, associate the floating IP with a Neutron port:

edit flag offensive delete link more


Thank you very much for quick response.

I tried to associate the floating IP with a Neutron port and I got a positive result.

I thank you for taking the time.

OS_RM gravatar imageOS_RM ( 2020-04-19 14:26:24 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2020-04-16 14:29:03 -0500

Seen: 66 times

Last updated: Apr 16