Skip to content

Instantly share code, notes, and snippets.

@vipulsabhaya
Created September 23, 2013 17:55
Show Gist options
  • Save vipulsabhaya/6674397 to your computer and use it in GitHub Desktop.
Save vipulsabhaya/6674397 to your computer and use it in GitHub Desktop.
floating IPs
1. Listing floating IPs for a tenant
sabhaya@nova:~$ nova floating-ip-list
2. Nova supports multiple pools where Floating IPs can be created/allocated to a tenant from
sabhaya@nova:~$ nova floating-ip-pool-list
+--------------+
| name |
+--------------+
| public-pool1 |
| public-pool2 |
| public-pool3 |
+--------------+
3. Floating IPs must be created, with an optional Pool Name
sabhaya@nova:~$ nova floating-ip-create public-pool2
+-------------+-------------+----------+------------------------+
| Ip | Instance Id | Fixed Ip | Pool |
+-------------+-------------+----------+------------------------+
| 15.199.9.99 | None | None | public-pool2 |
+-------------+-------------+----------+------------------------+
4. After a Floating IP has been created, only then does it show up in the list for a given Tenant
sabhaya@nova:~$ nova floating-ip-list
+-------------+-------------+----------+------------------------+
| Ip | Instance Id | Fixed Ip | Pool |
+-------------+-------------+----------+------------------------+
| 15.199.9.99 | None | None | public-pool2 |
+-------------+-------------+----------+------------------------+
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment