l.l.d.r.RackspaceLBDriver(Driver, OpenStackDriverMixin) : class documentation

Part of libcloud.loadbalancer.drivers.rackspace View Source View In Hierarchy

Known subclasses: libcloud.loadbalancer.drivers.rackspace.RackspaceUKLBDriver

No class docstring
Method __init__ @param key: API key or username to be used (required) @type key: C{str}
Method list_protocols Return a list of supported protocols.
Method ex_list_protocols_with_default_ports List protocols with default ports.
Method list_balancers @inherits: L{Driver.list_balancers}
Method create_balancer Create a new load balancer instance
Method ex_create_balancer Creates a new load balancer instance
Method destroy_balancer Destroy a load balancer
Method ex_destroy_balancers Destroys a list of Balancers (the API supports up to 10).
Method get_balancer Return a L{LoadBalancer} object.
Method balancer_attach_member Attach a member to balancer
Method ex_balancer_attach_members Attaches a list of members to a load balancer.
Method balancer_detach_member Detach member from balancer
Method ex_balancer_detach_members Detaches a list of members from a balancer (the API supports up to 10). This method blocks until the detach request has been processed and the balancer is in a RUNNING state again.
Method ex_balancer_detach_members_no_poll Detaches a list of members from a balancer (the API supports up to 10). This method returns immediately.
Method balancer_list_members Return list of members attached to balancer
Method update_balancer Sets the name, algorithm, protocol, or port on a load balancer.
Method ex_update_balancer_no_poll Update balancer no poll.
Method ex_balancer_update_member No summary
Method ex_balancer_update_member_no_poll Updates a Member's extra attributes for a Balancer. The attribute can include 'weight' or 'condition'. This method returns immediately.
Method ex_list_algorithm_names Lists algorithms supported by the API. Returned as strings because this list may change in the future.
Method ex_get_balancer_error_page List error page configured for the specified load balancer.
Method ex_balancer_access_list List the access list.
Method ex_update_balancer_health_monitor Sets a Balancer's health monitor. This method blocks until the update request has been processed and the balancer is in a RUNNING state again.
Method ex_update_balancer_health_monitor_no_poll Sets a Balancer's health monitor. This method returns immediately.
Method ex_disable_balancer_health_monitor Disables a Balancer's health monitor. This method blocks until the disable request has been processed and the balancer is in a RUNNING state again.
Method ex_disable_balancer_health_monitor_no_poll Disables a Balancer's health monitor. This method returns immediately.
Method ex_update_balancer_connection_throttle Updates a Balancer's connection throttle. This method blocks until the update request has been processed and the balancer is in a RUNNING state again.
Method ex_update_balancer_connection_throttle_no_poll Sets a Balancer's connection throttle. This method returns immediately.
Method ex_disable_balancer_connection_throttle Disables a Balancer's connection throttle. This method blocks until the disable request has been processed and the balancer is in a RUNNING state again.
Method ex_disable_balancer_connection_throttle_no_poll Disables a Balancer's connection throttle. This method returns immediately.
Method ex_enable_balancer_connection_logging Enables connection logging for a Balancer. This method blocks until the enable request has been processed and the balancer is in a RUNNING state again.
Method ex_enable_balancer_connection_logging_no_poll Enables connection logging for a Balancer. This method returns immediately.
Method ex_disable_balancer_connection_logging Disables connection logging for a Balancer. This method blocks until the enable request has been processed and the balancer is in a RUNNING state again.
Method ex_disable_balancer_connection_logging_no_poll Disables connection logging for a Balancer. This method returns immediately.
Method ex_enable_balancer_session_persistence Enables session persistence for a Balancer by setting the persistence type to 'HTTP_COOKIE'. This method blocks until the enable request has been processed and the balancer is in a RUNNING state again.
Method ex_enable_balancer_session_persistence_no_poll Enables session persistence for a Balancer by setting the persistence type to 'HTTP_COOKIE'. This method returns immediately.
Method ex_disable_balancer_session_persistence Disables session persistence for a Balancer. This method blocks until the disable request has been processed and the balancer is in a RUNNING state again.
Method ex_disable_balancer_session_persistence_no_poll Disables session persistence for a Balancer. This method returns immediately.
Method ex_update_balancer_error_page Updates a Balancer's custom error page. This method blocks until the update request has been processed and the balancer is in a RUNNING state again.
Method ex_update_balancer_error_page_no_poll Updates a Balancer's custom error page. This method returns immediately.
Method ex_disable_balancer_custom_error_page No summary
Method ex_disable_balancer_custom_error_page_no_poll Disables a Balancer's custom error page, returning its error page to the Rackspace-provided default. This method returns immediately.
Method ex_create_balancer_access_rule Adds an access rule to a Balancer's access list. This method blocks until the update request has been processed and the balancer is in a RUNNING state again.
Method ex_create_balancer_access_rule_no_poll Adds an access rule to a Balancer's access list. This method returns immediately.
Method ex_create_balancer_access_rules Adds a list of access rules to a Balancer's access list. This method blocks until the update request has been processed and the balancer is in a RUNNING state again.
Method ex_create_balancer_access_rules_no_poll Adds a list of access rules to a Balancer's access list. This method returns immediately.
Method ex_destroy_balancer_access_rule Removes an access rule from a Balancer's access list. This method blocks until the update request has been processed and the balancer is in a RUNNING state again.
Method ex_destroy_balancer_access_rule_no_poll Removes an access rule from a Balancer's access list. This method returns immediately.
Method ex_destroy_balancer_access_rules Removes a list of access rules from a Balancer's access list. This method blocks until the update request has been processed and the balancer is in a RUNNING state again.
Method ex_destroy_balancer_access_rules_no_poll Removes a list of access rules from a Balancer's access list. This method returns immediately.
Method _ex_connection_class_kwargs Return extra connection keyword arguments which are passed to the Connection class constructor.
Method _member_attributes Undocumented
Method _get_updated_balancer No summary
Method _find_matching_rule No summary
Method _to_protocols Undocumented
Method _to_protocols_with_default_ports Undocumented
Method _to_balancers Undocumented
Method _to_balancer Undocumented
Method _to_members Undocumented
Method _to_member Undocumented
Method _protocol_to_value Undocumented
Method _kwargs_to_mutable_attrs Undocumented
Method _kwargs_to_mutable_member_attrs Undocumented
Method _to_health_monitor Undocumented
Method _to_connection_throttle Undocumented
Method _to_access_rule Undocumented
Method _to_access_rule_type Undocumented
Method _iso_to_datetime Undocumented

Inherited from Driver:

Method balancer_attach_compute_node Attach a compute node as a member to the load balancer.
Method list_supported_algorithms Return algorithms supported by this driver.
Method _value_to_algorithm Return C{LBAlgorithm} based on the value.
Method _algorithm_to_value Return value based in the algorithm (C{LBAlgorithm}).

Inherited from OpenStackDriverMixin:

Method openstack_connection_kwargs @rtype: C{dict}
Method _get_argument_pairs Undocumented
def __init__(self, *args, **kwargs): (source)
@param    key:    API key or username to be used (required)
@type     key:    C{str}

@param    secret: Secret password to be used (required)
@type     secret: C{str}

@param    secure: Weither to use HTTPS or HTTP. Note: Some providers
                    only support HTTPS, and it is on by default.
@type     secure: C{bool}

@param    host: Override hostname used for connections.
@type     host: C{str}

@param    port: Override port used for connections.
@type     port: C{int}

@param    api_version: Optional API version. Only used by drivers
                         which support multiple API versions.
@type     api_version: C{str}

@rtype: C{None}
def _ex_connection_class_kwargs(self): (source)
Return extra connection keyword arguments which are passed to the
Connection class constructor.
def list_protocols(self): (source)
Return a list of supported protocols.

@rtype: C{list} of C{str}
def ex_list_protocols_with_default_ports(self): (source)
List protocols with default ports.

@rtype: C{list} of C{tuple}
@return: A list of protocols with default ports included.
def list_balancers(self, ex_member_address=None): (source)
@inherits: L{Driver.list_balancers}

@param ex_member_address: Optional IP address of the attachment member.
                          If provided, only the load balancers which
                          have this member attached will be returned.
@type ex_member_address: C{str}
def create_balancer(self, name, members, protocol='http', port=80, algorithm=DEFAULT_ALGORITHM): (source)
Create a new load balancer instance

@param name: Name of the new load balancer (required)
@type  name: C{str}

@param port: Port the load balancer should listen on, defaults to 80
@type  port: C{str}

@param protocol: Loadbalancer protocol, defaults to http.
@type  protocol: C{str}

@param members: list of Members to attach to balancer
@type  members: C{list} of L{Member}

@param algorithm: Load balancing algorithm, defaults to ROUND_ROBIN
@type algorithm: L{Algorithm}

@rtype: L{LoadBalancer}
def ex_create_balancer(self, name, members, protocol='http', port=80, algorithm=DEFAULT_ALGORITHM, vip='PUBLIC'): (source)
Creates a new load balancer instance

@param name: Name of the new load balancer (required)
@type  name: C{str}

@param members: C{list} ofL{Member}s to attach to balancer
@type  members: C{list} of L{Member}

@param protocol: Loadbalancer protocol, defaults to http.
@type  protocol: C{str}

@param port: Port the load balancer should listen on, defaults to 80
@type  port: C{str}

@param algorithm: Load balancing algorithm, defaults to
                    LBAlgorithm.ROUND_ROBIN
@type  algorithm: L{Algorithm}

@param vip: Virtual ip type of PUBLIC, SERVICENET, or ID of a virtual
              ip
@type  vip: C{str}

@rtype: L{LoadBalancer}
def _member_attributes(self, member): (source)
Undocumented
def destroy_balancer(self, balancer): (source)
Destroy a load balancer

@param balancer: LoadBalancer which should be used
@type  balancer: L{LoadBalancer}

@return: True if the destroy was successful, otherwise False
@rtype: C{bool}
def ex_destroy_balancers(self, balancers): (source)
Destroys a list of Balancers (the API supports up to 10).

@param balancers: A list of Balancers to destroy.
@type balancers: C{list} of L{LoadBalancer}

@return: Returns whether the destroy request was accepted.
@rtype: C{bool}
def get_balancer(self, balancer_id): (source)
Return a L{LoadBalancer} object.

@param balancer_id: id of a load balancer you want to fetch
@type  balancer_id: C{str}

@rtype: L{LoadBalancer}
def balancer_attach_member(self, balancer, member): (source)
Attach a member to balancer

@param balancer: LoadBalancer which should be used
@type  balancer: L{LoadBalancer}

@param member: Member to join to the balancer
@type member: L{Member}

@return: Member after joining the balancer.
@rtype: L{Member}
def ex_balancer_attach_members(self, balancer, members): (source)
Attaches a list of members to a load balancer.

@param balancer: The Balancer to which members will be attached.
@type  balancer: L{LoadBalancer}

@param members: A list of Members to attach.
@type  members: C{list} of L{Member}

@rtype: C{list} of L{Member}
def balancer_detach_member(self, balancer, member): (source)
Detach member from balancer

@param balancer: LoadBalancer which should be used
@type  balancer: L{LoadBalancer}

@param member: Member which should be used
@type member: L{Member}

@return: True if member detach was successful, otherwise False
@rtype: C{bool}
def ex_balancer_detach_members(self, balancer, members): (source)
Detaches a list of members from a balancer (the API supports up to 10).
This method blocks until the detach request has been processed and the
balancer is in a RUNNING state again.

@param balancer: The Balancer to detach members from.
@type  balancer: L{LoadBalancer}

@param members: A list of Members to detach.
@type  members: C{list} of L{Member}

@return: Updated Balancer.
@rtype: L{LoadBalancer}
def ex_balancer_detach_members_no_poll(self, balancer, members): (source)
Detaches a list of members from a balancer (the API supports up to 10).
This method returns immediately.

@param balancer: The Balancer to detach members from.
@type  balancer: L{LoadBalancer}

@param members: A list of Members to detach.
@type  members: C{list} of L{Member}

@return: Returns whether the detach request was accepted.
@rtype: C{bool}
def balancer_list_members(self, balancer): (source)
Return list of members attached to balancer

@param balancer: LoadBalancer which should be used
@type  balancer: L{LoadBalancer}

@rtype: C{list} of L{Member}
def update_balancer(self, balancer, **kwargs): (source)
Sets the name, algorithm, protocol, or port on a load balancer.

@param   balancer: LoadBalancer which should be used
@type    balancer: L{LoadBalancer}

@keyword name: New load balancer name
@type    name: C{str}

@keyword algorithm: New load balancer algorithm
@type    algorithm: L{Algorithm}

@keyword protocol: New load balancer protocol
@type    protocol: C{str}

@keyword port: New load balancer port
@type    port: C{int}

@rtype: L{LoadBalancer}
def ex_update_balancer_no_poll(self, balancer, **kwargs): (source)
Update balancer no poll.

@inherits: L{Driver.update_balancer}
def ex_balancer_update_member(self, balancer, member, **kwargs): (source)
Updates a Member's extra attributes for a Balancer.  The attributes can
include 'weight' or 'condition'.  This method blocks until the update
request has been processed and the balancer is in a RUNNING state
again.

@param balancer: Balancer to update the member on.
@type  balancer: L{LoadBalancer}

@param member: Member which should be used
@type member: L{Member}

@keyword **kwargs: New attributes.  Should contain either 'weight'
or 'condition'.  'condition' can be set to 'ENABLED', 'DISABLED'.
or 'DRAINING'.  'weight' can be set to a positive integer between
1 and 100, with a higher weight indicating that the node will receive
more traffic (assuming the Balancer is using a weighted algorithm).
@type **kwargs: C{dict}

@return: Updated Member.
@rtype: L{Member}
def ex_balancer_update_member_no_poll(self, balancer, member, **kwargs): (source)
Updates a Member's extra attributes for a Balancer.  The attribute can
include 'weight' or 'condition'.  This method returns immediately.

@param balancer: Balancer to update the member on.
@type balancer: L{LoadBalancer}

@param member: Member which should be used
@type member: L{Member}

@keyword **kwargs: New attributes.  Should contain either 'weight'
or 'condition'.  'condition' can be set to 'ENABLED', 'DISABLED'.
or 'DRAINING'.  'weight' can be set to a positive integer between
1 and 100, with a higher weight indicating that the node will receive
more traffic (assuming the Balancer is using a weighted algorithm).
@type **kwargs: C{dict}

@return: Returns whether the update request was accepted.
@rtype: C{bool}
def ex_list_algorithm_names(self): (source)
Lists algorithms supported by the API.  Returned as strings because
this list may change in the future.

@rtype: C{list} of C{str}
def ex_get_balancer_error_page(self, balancer): (source)
List error page configured for the specified load balancer.

@param balancer: Balancer which should be used
@type balancer: L{LoadBalancer}

@rtype: C{str}
def ex_balancer_access_list(self, balancer): (source)
List the access list.

@param balancer: Balancer which should be used
@type balancer: L{LoadBalancer}

@rtype: C{list} of L{RackspaceAccessRule}
def _get_updated_balancer(self, balancer): (source)
Updating a balancer's attributes puts a balancer into
'PENDING_UPDATE' status.  Wait until the balancer is
back in 'ACTIVE' status and then return the individual
balancer details call.
def ex_update_balancer_health_monitor(self, balancer, health_monitor): (source)
Sets a Balancer's health monitor.  This method blocks until the update
request has been processed and the balancer is in a RUNNING state
again.

@param balancer: Balancer to update.
@type  balancer: L{LoadBalancer}

@param health_monitor: Health Monitor for the balancer.
@type  health_monitor: L{RackspaceHealthMonitor}

@return: Updated Balancer.
@rtype: L{LoadBalancer}
def ex_update_balancer_health_monitor_no_poll(self, balancer, health_monitor): (source)
Sets a Balancer's health monitor.  This method returns immediately.

@param balancer: Balancer to update health monitor on.
@type  balancer: L{LoadBalancer}

@param health_monitor: Health Monitor for the balancer.
@type  health_monitor: L{RackspaceHealthMonitor}

@return: Returns whether the update request was accepted.
@rtype: C{bool}
def ex_disable_balancer_health_monitor(self, balancer): (source)
Disables a Balancer's health monitor.  This method blocks until the
disable request has been processed and the balancer is in a RUNNING
state again.

@param balancer: Balancer to disable health monitor on.
@type  balancer: L{LoadBalancer}

@return: Updated Balancer.
@rtype: L{LoadBalancer}
def ex_disable_balancer_health_monitor_no_poll(self, balancer): (source)
Disables a Balancer's health monitor.  This method returns
immediately.

@param balancer: Balancer to disable health monitor on.
@type  balancer: L{LoadBalancer}

@return: Returns whether the disable request was accepted.
@rtype: C{bool}
def ex_update_balancer_connection_throttle(self, balancer, connection_throttle): (source)
Updates a Balancer's connection throttle.  This method blocks until
the update request has been processed and the balancer is in a
RUNNING state again.

@param balancer: Balancer to update connection throttle on.
@type  balancer: L{LoadBalancer}

@param connection_throttle: Connection Throttle for the balancer.
@type  connection_throttle: L{RackspaceConnectionThrottle}

@return: Updated Balancer.
@rtype: L{LoadBalancer}
def ex_update_balancer_connection_throttle_no_poll(self, balancer, connection_throttle): (source)
Sets a Balancer's connection throttle.  This method returns
immediately.

@param balancer: Balancer to update connection throttle on.
@type  balancer: L{LoadBalancer}

@param connection_throttle: Connection Throttle for the balancer.
@type  connection_throttle: L{RackspaceConnectionThrottle}

@return: Returns whether the update request was accepted.
@rtype: C{bool}
def ex_disable_balancer_connection_throttle(self, balancer): (source)
Disables a Balancer's connection throttle.  This method blocks until
the disable request has been processed and the balancer is in a RUNNING
state again.

@param balancer: Balancer to disable connection throttle on.
@type  balancer: L{LoadBalancer}

@return: Updated Balancer.
@rtype: L{LoadBalancer}
def ex_disable_balancer_connection_throttle_no_poll(self, balancer): (source)
Disables a Balancer's connection throttle.  This method returns
immediately.

@param balancer: Balancer to disable connection throttle on.
@type  balancer: L{LoadBalancer}

@return: Returns whether the disable request was accepted.
@rtype: C{bool}
def ex_enable_balancer_connection_logging(self, balancer): (source)
Enables connection logging for a Balancer.  This method blocks until
the enable request has been processed and the balancer is in a RUNNING
state again.

@param balancer: Balancer to enable connection logging on.
@type  balancer: L{LoadBalancer}

@return: Updated Balancer.
@rtype: L{LoadBalancer}
def ex_enable_balancer_connection_logging_no_poll(self, balancer): (source)
Enables connection logging for a Balancer.  This method returns
immediately.

@param balancer: Balancer to enable connection logging on.
@type  balancer: L{LoadBalancer}

@return: Returns whether the enable request was accepted.
@rtype: C{bool}
def ex_disable_balancer_connection_logging(self, balancer): (source)
Disables connection logging for a Balancer.  This method blocks until
the enable request has been processed and the balancer is in a RUNNING
state again.

@param balancer: Balancer to disable connection logging on.
@type  balancer: L{LoadBalancer}

@return: Updated Balancer.
@rtype: L{LoadBalancer}
def ex_disable_balancer_connection_logging_no_poll(self, balancer): (source)
Disables connection logging for a Balancer.  This method returns
immediately.

@param balancer: Balancer to disable connection logging on.
@type  balancer: L{LoadBalancer}

@return: Returns whether the disable request was accepted.
@rtype: C{bool}
def ex_enable_balancer_session_persistence(self, balancer): (source)
Enables session persistence for a Balancer by setting the persistence
type to 'HTTP_COOKIE'.  This method blocks until the enable request
has been processed and the balancer is in a RUNNING state again.

@param balancer: Balancer to enable session persistence on.
@type  balancer: L{LoadBalancer}

@return: Updated Balancer.
@rtype: L{LoadBalancer}
def ex_enable_balancer_session_persistence_no_poll(self, balancer): (source)
Enables session persistence for a Balancer by setting the persistence
type to 'HTTP_COOKIE'.  This method returns immediately.

@param balancer: Balancer to enable session persistence on.
@type  balancer: L{LoadBalancer}

@return: Returns whether the enable request was accepted.
@rtype: C{bool}
def ex_disable_balancer_session_persistence(self, balancer): (source)
Disables session persistence for a Balancer.  This method blocks until
the disable request has been processed and the balancer is in a RUNNING
state again.

@param balancer: Balancer to disable session persistence on.
@type balancer:  L{LoadBalancer}

@return: Updated Balancer.
@rtype: L{LoadBalancer}
def ex_disable_balancer_session_persistence_no_poll(self, balancer): (source)
Disables session persistence for a Balancer.  This method returns
immediately.

@param balancer: Balancer to disable session persistence for.
@type  balancer: L{LoadBalancer}

@return: Returns whether the disable request was accepted.
@rtype: C{bool}
def ex_update_balancer_error_page(self, balancer, page_content): (source)
Updates a Balancer's custom error page.  This method blocks until
the update request has been processed and the balancer is in a
RUNNING state again.

@param balancer: Balancer to update the custom error page for.
@type  balancer: L{LoadBalancer}

@param page_content: HTML content for the custom error page.
@type  page_content: C{str}

@return: Updated Balancer.
@rtype:  L{LoadBalancer}
def ex_update_balancer_error_page_no_poll(self, balancer, page_content): (source)
Updates a Balancer's custom error page.  This method returns
immediately.

@param balancer: Balancer to update the custom error page for.
@type  balancer: L{LoadBalancer}

@param page_content: HTML content for the custom error page.
@type  page_content: C{str}

@return: Returns whether the update request was accepted.
@rtype: C{bool}
def ex_disable_balancer_custom_error_page(self, balancer): (source)
Disables a Balancer's custom error page, returning its error page to
the Rackspace-provided default.  This method blocks until the disable
request has been processed and the balancer is in a RUNNING state
again.

@param balancer: Balancer to disable the custom error page for.
@type  balancer: L{LoadBalancer}

@return: Updated Balancer.
@rtype: L{LoadBalancer}
def ex_disable_balancer_custom_error_page_no_poll(self, balancer): (source)
Disables a Balancer's custom error page, returning its error page to
the Rackspace-provided default.  This method returns immediately.

@param balancer: Balancer to disable the custom error page for.
@type  balancer: L{LoadBalancer}

@return: Returns whether the disable request was accepted.
@rtype: C{bool}
def ex_create_balancer_access_rule(self, balancer, rule): (source)
Adds an access rule to a Balancer's access list.  This method blocks
until the update request has been processed and the balancer is in a
RUNNING state again.

@param balancer: Balancer to create the access rule for.
@type balancer: L{LoadBalancer}

@param rule: Access Rule to add to the balancer.
@type rule: L{RackspaceAccessRule}

@return: The created access rule.
@rtype: L{RackspaceAccessRule}
def ex_create_balancer_access_rule_no_poll(self, balancer, rule): (source)
Adds an access rule to a Balancer's access list.  This method returns
immediately.

@param balancer: Balancer to create the access rule for.
@type balancer: L{LoadBalancer}

@param rule: Access Rule to add to the balancer.
@type rule: L{RackspaceAccessRule}

@return: Returns whether the create request was accepted.
@rtype: C{bool}
def ex_create_balancer_access_rules(self, balancer, rules): (source)
Adds a list of access rules to a Balancer's access list.  This method
blocks until the update request has been processed and the balancer is
in a RUNNING state again.

@param balancer: Balancer to create the access rule for.
@type  balancer: L{LoadBalancer}

@param rules: List of L{RackspaceAccessRule} to add to the balancer.
@type  rules: C{list} of L{RackspaceAccessRule}

@return: The created access rules.
@rtype: L{RackspaceAccessRule}
def _find_matching_rule(self, rule_to_find, access_list): (source)
LB API does not return the ID for the newly created rules, so we have
to search the list to find the rule with a matching rule type and
address to return an object with the right identifier.it.  The API
enforces rule type and address uniqueness.
def ex_create_balancer_access_rules_no_poll(self, balancer, rules): (source)
Adds a list of access rules to a Balancer's access list.  This method
returns immediately.

@param balancer: Balancer to create the access rule for.
@type balancer: L{LoadBalancer}

@param rules: List of L{RackspaceAccessRule} to add to the balancer.
@type  rules: C{list} of L{RackspaceAccessRule}

@return: Returns whether the create request was accepted.
@rtype: C{bool}
def ex_destroy_balancer_access_rule(self, balancer, rule): (source)
Removes an access rule from a Balancer's access list.  This method
blocks until the update request has been processed and the balancer
is in a RUNNING state again.

@param balancer: Balancer to remove the access rule from.
@type  balancer: L{LoadBalancer}

@param rule: Access Rule to remove from the balancer.
@type  rule: L{RackspaceAccessRule}

@return: Updated Balancer.
@rtype: L{LoadBalancer}
def ex_destroy_balancer_access_rule_no_poll(self, balancer, rule): (source)
Removes an access rule from a Balancer's access list.  This method
returns immediately.

@param balancer: Balancer to remove the access rule from.
@type  balancer: L{LoadBalancer}

@param rule: Access Rule to remove from the balancer.
@type  rule: L{RackspaceAccessRule}

@return: Returns whether the destroy request was accepted.
@rtype: C{bool}
def ex_destroy_balancer_access_rules(self, balancer, rules): (source)
Removes a list of access rules from a Balancer's access list.  This
method blocks until the update request has been processed and the
balancer is in a RUNNING state again.

@param balancer: Balancer to remove the access rules from.
@type  balancer: L{LoadBalancer}

@param rules: List of L{RackspaceAccessRule} objects to remove from the
               balancer.
@type  rules: C{list} of L{RackspaceAccessRule}

@return: Updated Balancer.
@rtype: L{LoadBalancer}
def ex_destroy_balancer_access_rules_no_poll(self, balancer, rules): (source)
Removes a list of access rules from a Balancer's access list.  This
method returns immediately.

@param balancer: Balancer to remove the access rules from.
@type  balancer: L{LoadBalancer}

@param rules: List of L{RackspaceAccessRule} objects to remove from the
                    balancer.
@type  rules: C{list} of L{RackspaceAccessRule}

@return: Returns whether the destroy request was accepted.
@rtype: C{bool}
def _to_protocols(self, object): (source)
Undocumented
def _to_protocols_with_default_ports(self, object): (source)
Undocumented
def _to_balancers(self, object): (source)
Undocumented
def _to_balancer(self, el): (source)
Undocumented
def _to_members(self, object, balancer=None): (source)
Undocumented
def _to_member(self, el, balancer=None): (source)
Undocumented
def _protocol_to_value(self, protocol): (source)
Undocumented
def _kwargs_to_mutable_attrs(self, **attrs): (source)
Undocumented
def _kwargs_to_mutable_member_attrs(self, **attrs): (source)
Undocumented
def _to_health_monitor(self, el): (source)
Undocumented
def _to_connection_throttle(self, el): (source)
Undocumented
def _to_access_rule(self, el): (source)
Undocumented
def _to_access_rule_type(self, type): (source)
Undocumented
def _iso_to_datetime(self, isodate): (source)
Undocumented
API Documentation for libcloud, generated by pydoctor at 2013-09-04 21:31:29.