Floating IPs bulk
1. floating_ips_bulk(host_name=None)
List Floating Ips or list by host name.
Parameters: host_name(string): the name of the host
Return value: FloatingIPBulk Object or a list
2. create_floating_ips_bulk(**attr)
Create floating ips.
Parameters: attr(Dict)
| Name | Type | Description |
|---|---|---|
| ip_range | String | The range of IP addresses to use for creating floating IPs. |
| pool | String | Virtual interface for the floating ip address |
| interface | String | The name of the floating ip pool |
Parameters example:
attr = {
"ip_range": "192.168.1.0/24",
"pool": "nova",
"interface": "eth0"
}
Return value: FloatingIPBulk Object
3. delete_floating_ips_bulk(**to_delete)
bulk delete floating ips.
Parameters:
- to_delete(Dict): ip_range , e.g: {“ip_range”, “192.168.1.0/24”}
Return value: None on success