The LoadBalancer
class inherits from Resource
.
openstack.load_balancer.v2.load_balancer.
LoadBalancer
(_synchronized=False, connection=None, **attrs)¶The base resource
Parameters: |
|
---|
is_admin_state_up
¶The administrative state of the load balancer Type: bool
created_at
¶Timestamp when the load balancer was created
description
¶The load balancer description
flavor_id
¶The load balancer flavor ID
listeners
¶List of listeners associated with this load balancer
name
¶The load balancer name
operating_status
¶Operating status of the load balancer
pools
¶List of pools associated with this load balancer
project_id
¶The ID of the project this load balancer is associated with.
provider
¶Provider name for the load balancer.
provisioning_status
¶The provisioning status of this load balancer
updated_at
¶Timestamp when the load balancer was last updated
vip_address
¶VIP address of load balancer
vip_network_id
¶VIP netowrk ID
vip_port_id
¶VIP port ID
vip_subnet_id
¶VIP subnet ID
delete
(session, error_message=None)¶Delete the remote resource based on this instance.
Parameters: | session (Adapter ) – The session to use for making this request. |
---|---|
Returns: | This Resource instance. |
Raises: | MethodNotSupported if
Resource.allow_commit is not set to True . |
Raises: | ResourceNotFound if
the resource was not found. |
The LoadBalancerStats
class inherits from
Resource
.
openstack.load_balancer.v2.load_balancer.
LoadBalancerStats
(_synchronized=False, connection=None, **attrs)¶The base resource
Parameters: |
|
---|
lb_id
¶The ID of the load balancer.
active_connections
¶The currently active connections.
bytes_in
¶The total bytes received.
bytes_out
¶The total bytes sent.
request_errors
¶The total requests that were unable to be fulfilled.
total_connections
¶The total connections handled.
The LoadBalancerFailover
class inherits from
Resource
.
openstack.load_balancer.v2.load_balancer.
LoadBalancerFailover
(_synchronized=False, connection=None, **attrs)¶The base resource
Parameters: |
|
---|
lb_id
¶The ID of the load balancer.
commit
(session, base_path=None)¶Commit the state of the instance to the remote resource.
Parameters: |
|
---|---|
Returns: | This |
Raises: |
|
Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.