Reputation: 549
How do I allocate Floating IP to a tenant after the tenant releases it from the project in openstack?
Suppose I want IP 10.10.90.95, how can I add this specific IP to my pool available list?
Upvotes: 1
Views: 642
Reputation: 4704
To claim a specific floating-ip for a tenant, you can run the following neutron command. Note that this will succeed only if that IP address is not already claimed by some other tenant:
neutron floatingip-create --floating-ip-address 10.10.90.95 ext-net
Above assumes that your external network is named "ext-net" and the IP address you are trying to allocate is 10.10.90.95.
Upvotes: 2
Reputation: 711
Once floating IP is released, it gets automatically added to the available floating ip pool.
Use:
nova floating-ip-associate < instance-id > < floating-ip >
to associate specific floating-ip to the instance.
Upvotes: 0