Part of libcloud.loadbalancer.drivers.cloudstack View Source View In Hierarchy
Known subclasses: libcloud.loadbalancer.drivers.ninefold.NinefoldLBDriver
Driver for CloudStack load balancers.
Method | __init__ | @inherits: L{Driver.__init__} |
Method | list_protocols | We don't actually have any protocol awareness beyond TCP. |
Method | list_balancers | List all loadbalancers |
Method | get_balancer | Return a L{LoadBalancer} object. |
Method | create_balancer | @inherits: L{Driver.create_balancer} |
Method | destroy_balancer | Destroy a load balancer |
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 | _to_balancer | Undocumented |
Method | _to_member | Undocumented |
Inherited from CloudStackDriverMixIn:
Method | _sync_request | Undocumented |
Method | _async_request | Undocumented |
Inherited from Driver:
Method | update_balancer | Sets the name, algorithm, protocol, or port on a load balancer. |
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 BaseDriver (via Driver):
Method | _ex_connection_class_kwargs | Return extra connection keyword arguments which are passed to the Connection class constructor. |
We don't actually have any protocol awareness beyond TCP. @rtype: C{list} of C{str}
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}
@inherits: L{Driver.create_balancer} @param location: Location @type location: L{NodeLocation} @param private_port: Private port @type private_port: C{int}
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}
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}
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}
Return list of members attached to balancer @param balancer: LoadBalancer which should be used @type balancer: L{LoadBalancer} @rtype: C{list} of L{Member}