How many floating ip's are available globally
It should be possible for an admin user to see how many floating IP's on each/global
'router:
network are free/used.
Example:
neutron floatingip-list --free --all-tenants
+------
| id | network_name | Free | Max
+------
|2aa6c2xxxxx | test_pub | 34 | 250 |
+------
To prevent have enough floating IP's in the pool of a growing stack. The configured stack should have enough IP's for customers.
Cheers
Heiko
Blueprint information
- Status:
- Complete
- Approver:
- None
- Priority:
- Undefined
- Drafter:
- Heiko Krämer
- Direction:
- Needs approval
- Assignee:
- None
- Definition:
- Superseded
- Series goal:
- None
- Implementation:
- Unknown
- Milestone target:
- None
- Started by
- Completed by
- Armando Migliaccio
Whiteboard
I'd rather add this informations on the $neutron subnet-list command, where we see 'start' and 'end' for every allocation pool (not only those 'external:True', the same problem applies to internal networks):
$ neutron subnet-list
+------
| id | name | cidr | allocation_pools |
+------
| c391f529-
| 95439d1e-
+------
The code might affect the DB model: neutron/
Here is one of the affected tables:
MariaDB [neutron_ml2]> select * from ipavailabilityr
+------
| allocation_pool_id | first_ip | last_ip |
+------
| 7d81d92f-
| cdcc918f-
+------
Either they add a DB field with the size of the range, or they dynamically calculate it as part of the checks done in the method _validate_
Anyhow, the API should report back the total capacity of the ip pool (the 'MAX' column in the blueprint proposal), plus display somewhere the current used capacity or the current available capacity (the 'FREE' column). This might relate to this BP https:/
Here is an example of the extended API (example modified from http://
Note the added two fields 'free' and 'max' under 'allocation_pools'
GET /v2.0/subnets/
{
"subnet": {
"name": "my_subnet",
{
}
],
"cidr": "192.0.0.0/8",
"id": "54d6f61d-
}
}
Malini-k-bhandaru: Are we not interested in any bandwidth capacity that is unsed?