openstack.network.v2.network_ip_availability

The NetworkIPAvailability Class

The NetworkIPAvailability class inherits from Resource.

class openstack.network.v2.network_ip_availability.NetworkIPAvailability(attrs=None, loaded=False)

Construct a Resource to interact with a service’s REST API.

The Resource class offers two class methods to construct resource objects, which are preferrable to entering through this initializer. See Resource.new() and Resource.existing().

Parameters:
  • attrs (dict) – The attributes to set when constructing this Resource.
  • loaded (bool) – True if this Resource exists on the server, False if it does not.
network_id = None

Network ID to use when listing network IP availability.

network_name = None

Network Name for the particular network IP availability.

subnet_ip_availability = None

The Subnet IP Availability of all subnets of a network. Type: list

project_id = None

The ID of the project this network IP availability is associated with.

total_ips = None

The total ips of a network. Type: int

used_ips = None

The used or consumed ip of a network Type: int