Part of libcloud.loadbalancer.drivers.gogrid View Source View In Hierarchy
Method | list_protocols | Return a list of supported protocols. |
Method | list_balancers | List all loadbalancers |
Method | ex_create_balancer_nowait | Undocumented |
Method | create_balancer | Create a new load balancer instance |
Method | destroy_balancer | Destroy a load balancer |
Method | get_balancer | Return a C{LoadBalancer} object. |
Method | balancer_attach_member | Attach a member to balancer |
Method | balancer_detach_member | Detach member from balancer |
Method | balancer_list_members | Return list of members attached to balancer |
Method | _update_balancer | Undocumented |
Method | _members_to_params | Helper method to convert list of L{Member} objects to GET params. |
Method | _to_balancers | Undocumented |
Method | _to_balancer | Undocumented |
Method | _to_members | Undocumented |
Method | _to_member | Undocumented |
Inherited from BaseGoGridDriver:
Method | ex_list_ips | Return list of IP addresses assigned to the account. |
Method | _get_ip | Undocumented |
Method | _to_ip | Undocumented |
Method | _to_ips | Undocumented |
Method | _to_location | Undocumented |
Method | _to_locations | Undocumented |
Method | _get_first_ip | Undocumented |
Inherited from Driver:
Method | __init__ | Undocumented |
Method | balancer_attach_compute_node | Attach a compute node as a member to the load balancer. |
Method | _value_to_algorithm | Return C{LBAlgorithm} based on the value. |
Method | _algorithm_to_value | Return value based in the algorithm (C{LBAlgorithm}). |
List all loadbalancers @return: C{list} of L{LoadBalancer} objects
Create a new load balancer instance @keyword name: Name of the new load balancer (required) @type name: C{str} @keyword members: C{list} ofL{Member}s to attach to balancer @type: C{list} of L{Member}s @keyword protocol: Loadbalancer protocol, defaults to http. @type: C{str} @keyword port: Port the load balancer should listen on, defaults to 80 @type port: C{str} @keyword algorithm: Load balancing algorithm, defaults to LBAlgorithm.ROUND_ROBIN @type algorithm: C{LBAlgorithm}
Destroy a load balancer @return: C{bool} True if the destroy was successful, otherwise False
Return a C{LoadBalancer} object. @keyword balancer_id: id of a load balancer you want to fetch @type balancer_id: C{str} @return: C{LoadBalancer}
Attach a member to balancer @keyword member: Member to join to the balancer @type member: C{Member} @return {Member} Member after joining the balancer.
Detach member from balancer @return: C{bool} True if member detach was successful, otherwise False
Return list of members attached to balancer @return: C{list} of L{Member}s
Helper method to convert list of L{Member} objects to GET params.