← Back to team overview

openstack team mailing list archive

Re: Allocate specific floating IP to an instance

 

Hello Sebastien,


What you can do today is to choose manually which floating IP you need to associate with a specific instance.
You need to run OpenStack Folsom + Quantum.

First, you need to create Floating IP pool(s) from Quantum CLI, and after that, the tenant is able to associate this IP to a private instance :
quantum floatingip-create ext_net
quantum floatingip-associate $FLOATING_ID $PORT_ID
More informations about Networking configuration with Quantum CLI here :
http://docs.openstack.org/trunk/openstack-network/admin/content/demo_logical_network_config.html


Cheers ;-)



Emilien Macchi
----------------------------------------------------
// eNovance Inc. http://enovance.com
// ✉ emilien@xxxxxxxxxxxx ☎ +33 (0)1 49 70 99 80
// 10 rue de la Victoire 75009 Paris

----- Mail original -----

De: "Sébastien Han" <han.sebastien@xxxxxxxxx>
À: "Openstack" <openstack@xxxxxxxxxxxxxxxxxxx>
Envoyé: Lundi 29 Octobre 2012 17:25:47
Objet: [Openstack] Allocate specific floating IP to an instance

Hi Stacker,

I know OpenStack is not designed that way and I don't think it's
possible (or maybe I misses something :)) but I was wondering if there
is any simple workaround to choose a specific floating IP to allocate.
In other words, don't give me a random or N+1 next floating IP
available but let me decide which floating IP I want to assign to my
instance. It doesn't make sense in a public cloud but it does for a
corporate/private cloud. It would be nice to have :)

Thanks in advance.

Cheers!

_______________________________________________
Mailing list: https://launchpad.net/~openstack
Post to : openstack@xxxxxxxxxxxxxxxxxxx
Unsubscribe : https://launchpad.net/~openstack
More help : https://help.launchpad.net/ListHelp

Follow ups

References