Network IP Availability Extension

可以查询网络的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

posted on 2016-05-12 16:21  allcloud  阅读(381)  评论(0编辑  收藏  举报

导航