可以查询网络的IP使用情况

neutron net-ip-availability-list

neutron net-ip-availability-show

GET /v2.0/network-ip-availabilities/{network_uuid}

{
"network_ip_availability": {
"network_id": "f944c153-3f46-417b-a3c2-487cd9a456b9",
"network_name": "net1",
"subnet_ip_availability": [
{
"cidr": "10.0.0.0/24",
"ip_version": 4,
"subnet_name": "",
"subnet_id": "46b1406a-8373-454c-8eb8-500a09eb77fb",
"total_ips": 253,
"used_ips": 3
}
],
"tenant_id": "test-tenant",
"total_ips": 253,
"used_ips": 3
}
}

http://docs.openstack.org/developer/neutron/devref/network_ip_availability.html

05-28 13:28