openstack.network.v2.pool¶
The Pool Class¶
The Pool
class inherits from Resource
.
-
class
openstack.network.v2.pool.
Pool
(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()
andResource.existing()
.Parameters: -
description
= None¶ Description for the pool.
-
health_monitor_id
= None¶ The ID of the associated health monitor.
-
is_admin_state_up
= None¶ The administrative state of the pool, which is up
True
or downFalse
. Type: bool
-
lb_algorithm
= None¶ The load-balancer algorithm, which is round-robin, least-connections, and so on. This value, which must be supported, is dependent on the load-balancer provider. Round-robin must be supported.
-
listener_ids
= None¶ List of associated listeners. Type: list of dicts which contain the listener IDs
-
load_balancer_ids
= None¶ List of associated load balancers. Type: list of dicts which contain the load balancer IDs
-
member_ids
= None¶ List of members that belong to the pool. Type: list of dicts which contain the member IDs
-
name
= None¶ Pool name. Does not have to be unique.
-
project_id
= None¶ The ID of the project this pool is associated with.
-
protocol
= None¶ The protocol of the pool, which is TCP, HTTP, or HTTPS.
-
session_persistence
= None¶ Session persistence algorithm that should be used (if any). Type: dict with keys ``type`` and ``cookie_name``
-