l.l.d.b.BrightboxLBDriver(Driver) : class documentation

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

Undocumented
Method list_protocols Return a list of supported protocols.
Method list_balancers List all loadbalancers
Method create_balancer Create a new load balancer instance
Method destroy_balancer Destroy a load balancer
Method get_balancer Return a LoadBalancer object.
Method balancer_attach_compute_node Attach a compute node as a member to the 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 _post Undocumented
Method _to_balancer Undocumented
Method _member_to_node Undocumented
Method _node_to_member Undocumented
Method _public_ip Undocumented

Inherited from Driver:

Method __init__
Method update_balancer Sets the name, algorithm, protocol, or port on a load balancer.
Method list_supported_algorithms Return algorithms supported by this driver.
Method _value_to_algorithm Return LBAlgorithm based on the value.
Method _algorithm_to_value Return value based in the algorithm (LBAlgorithm).

Inherited from BaseDriver (via Driver):

Method _ex_connection_class_kwargs Return extra connection keyword arguments which are passed to the Connection class constructor.
def list_protocols(self): (source)
Return a list of supported protocols.
def list_balancers(self): (source)
List all loadbalancers
Returnslist of LoadBalancer objects
def create_balancer(self, name, port, protocol, algorithm, members): (source)
Create a new load balancer instance
ParametersnameName of the new load balancer (required) (type: str)
memberslist ofMembers to attach to balancer
protocolLoadbalancer protocol, defaults to http.
portPort the load balancer should listen on, defaults to 80 (type: str)
algorithmLoad balancing algorithm, defaults to LBAlgorithm.ROUND_ROBIN (type: LBAlgorithm)
def destroy_balancer(self, balancer): (source)
Destroy a load balancer
Returnsbool True if the destroy was successful, otherwise False
def get_balancer(self, balancer_id): (source)
Return a LoadBalancer object.
Parametersbalancer_idid of a load balancer you want to fetch (type: str)
ReturnsLoadBalancer
def balancer_attach_compute_node(self, balancer, node): (source)
Attach a compute node as a member to the load balancer.
ParametersnodeMember to join to the balancer
def balancer_attach_member(self, balancer, member): (source)
Attach a member to balancer
ParametersmemberMember to join to the balancer (type: Member @return {Member} Member after joining the balancer.)
def balancer_detach_member(self, balancer, member): (source)
Detach member from balancer
Returnsbool True if member detach was successful, otherwise False
def balancer_list_members(self, balancer): (source)
Return list of members attached to balancer
Returnslist of Members
def _post(self, path, data={}): (source)
Undocumented
def _to_balancer(self, data): (source)
Undocumented
def _member_to_node(self, member): (source)
Undocumented
def _node_to_member(self, data): (source)
Undocumented
def _public_ip(self, data): (source)
Undocumented
API Documentation for libcloud, generated by pydoctor at 2012-07-15 18:48:28.