Module ImportFrom alias alias ImportFrom alias Assign NameStore ListLoad Str Str Str Str Str ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad body Expr Str Assign AttributeStore NameLoad attr IfExp NameLoad Call NameLoad NameLoad NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr BoolOpOr NameLoad Dict decorator_list FunctionDef arguments args NameParam defaults body Return BinOpMod Str TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults NameLoad body Expr Str Assign AttributeStore NameLoad attr IfExp NameLoad Call NameLoad NameLoad NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr BoolOpOr NameLoad Dict decorator_list FunctionDef arguments args NameParam NameParam defaults body Return Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad keyword NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Return Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad keyword NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Return Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad keyword NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return BinOpMod Str TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list decorator_list ClassDef bases NameLoad body Expr Str Assign NameStore Num Assign NameStore Num Assign NameStore Num Assign NameStore Num Assign NameStore Num Assign NameStore Num Assign NameStore Num decorator_list Assign NameStore AttributeLoad NameLoad attr ClassDef bases NameLoad body Expr Str Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore Dict Assign NameStore Dict FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad NameLoad NameLoad kwarg body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Raise Call NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Raise Call NameLoad Str decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam defaults body Expr Str Raise Call NameLoad Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Raise Call NameLoad Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Raise Call NameLoad Str decorator_list FunctionDef arguments args NameParam NameParam defaults kwarg body Expr Str Raise Call NameLoad Str decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Assign NameStore Call NameLoad keyword NameLoad keyword SubscriptLoad AttributeLoad NameLoad attr Index Num keyword AttributeLoad NameLoad attr Return Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Raise Call NameLoad Str decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Raise Call NameLoad Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Raise Call NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str TryExcept body Return SubscriptLoad AttributeLoad NameLoad attr Index NameLoad handlers ExceptHandler type NameLoad body Raise Call NameLoad keyword BinOpMod Str NameLoad keyword NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str TryExcept body Return SubscriptLoad AttributeLoad NameLoad attr Index NameLoad handlers ExceptHandler type NameLoad body Raise Call NameLoad keyword BinOpMod Str NameLoad keyword NameLoad decorator_list decorator_list
N/A libcloud.common.base ConnectionKey BaseDriver libcloud.common.types LibcloudError N/A __all__ N/A Member LoadBalancer Algorithm Driver DEFAULT_ALGORITHM Member N/A object N/A N/A 
    Represents a load balancer member.
     __init__ N/A N/A self id ip port balancer extra N/A None None N/A N/A 
        :param id: Member ID.
        :type id: ``str``

        :param ip: IP address of this member.
        :param ip: ``str``

        :param port: Port of this member
        :param port: ``str``

        :param balancer: Balancer this member is attached to. (optional)
        :param balancer: :class:`.LoadBalancer`

        :param extra: Provider specific attributes.
        :type extra: ``dict``
         N/A N/A self id N/A id N/A str id None N/A N/A self ip ip N/A N/A self port port N/A N/A self balancer balancer N/A N/A self extra N/A extra N/A N/A __repr__ N/A N/A self N/A N/A N/A N/A <Member: id=%s, address=%s:%s> N/A N/A self id N/A self ip N/A self port N/A N/A LoadBalancer N/A object N/A N/A 
    Provide a common interface for handling Load Balancers.
     __init__ N/A N/A self id name state ip port driver extra N/A None N/A N/A 
        :param id: Load balancer ID.
        :type id: ``str``

        :param name: Load balancer name.
        :type name: ``str``

        :param state: State this loadbalancer is in.
        :type state: :class:`libcloud.loadbalancer.types.State`

        :param ip: IP address of this loadbalancer.
        :type ip: ``str``

        :param port: Port of this loadbalancer.
        :type port: ``int``

        :param driver: Driver this loadbalancer belongs to.
        :type driver: :class:`.Driver`

        :param extra: Provider specific attributes. (optional)
        :type extra: ``dict``
         N/A N/A self id N/A id N/A str id None N/A N/A self name name N/A N/A self state state N/A N/A self ip ip N/A N/A self port port N/A N/A self driver driver N/A N/A self extra N/A extra N/A N/A attach_compute_node N/A N/A self node N/A N/A N/A N/A N/A N/A self driver balancer_attach_compute_node balancer self node node N/A attach_member N/A N/A self member N/A N/A N/A N/A N/A N/A self driver balancer_attach_member balancer self member member N/A detach_member N/A N/A self member N/A N/A N/A N/A N/A N/A self driver balancer_detach_member balancer self member member N/A list_members N/A N/A self N/A N/A N/A N/A N/A N/A self driver balancer_list_members balancer self N/A destroy N/A N/A self N/A N/A N/A N/A N/A N/A self driver destroy_balancer balancer self N/A __repr__ N/A N/A self N/A N/A N/A N/A <LoadBalancer: id=%s, name=%s, state=%s, ip=%s, port=%s> N/A N/A self id N/A self name N/A self state N/A self ip N/A self port N/A N/A Algorithm N/A object N/A N/A 
    Represents a load balancing algorithm.
     N/A RANDOM 0 N/A ROUND_ROBIN 1 N/A LEAST_CONNECTIONS 2 N/A WEIGHTED_ROUND_ROBIN 3 N/A WEIGHTED_LEAST_CONNECTIONS 4 N/A SHORTEST_RESPONSE 5 N/A PERSISTENT_IP 6 N/A N/A DEFAULT_ALGORITHM N/A Algorithm ROUND_ROBIN Driver N/A BaseDriver N/A N/A 
    A base Driver class to derive from

    This class is always subclassed by a specific driver.
     N/A name None N/A website None N/A connectionCls ConnectionKey N/A _ALGORITHM_TO_VALUE_MAP N/A N/A _VALUE_TO_ALGORITHM_MAP N/A __init__ N/A N/A self key secret secure host port N/A None True None None kwargs N/A N/A N/A N/A N/A super Driver self __init__ key key secret secret secure secure host host port port kwargs N/A list_protocols N/A N/A self N/A N/A N/A 
        Return a list of supported protocols.

        :rtype: ``list`` of ``str``
         N/A N/A NotImplementedError list_protocols not implemented for this driver N/A list_balancers N/A N/A self N/A N/A N/A 
        List all loadbalancers

        :rtype: ``list`` of :class:`LoadBalancer`
         N/A N/A NotImplementedError list_balancers not implemented for this driver N/A create_balancer N/A N/A self name port protocol algorithm members N/A N/A N/A 
        Create a new load balancer instance

        :param name: Name of the new load balancer (required)
        :type  name: ``str``

        :param port: Port the load balancer should listen on, defaults to 80
        :type  port: ``str``

        :param protocol: Loadbalancer protocol, defaults to http.
        :type  protocol: ``str``

        :param members: list of Members to attach to balancer
        :type  members: ``list`` of :class:`Member`

        :param algorithm: Load balancing algorithm, defaults to ROUND_ROBIN.
        :type algorithm: :class:`.Algorithm`

        :rtype: :class:`LoadBalancer`
         N/A N/A NotImplementedError create_balancer not implemented for this driver N/A destroy_balancer N/A N/A self balancer N/A N/A N/A 
        Destroy a load balancer

        :param balancer: LoadBalancer which should be used
        :type  balancer: :class:`LoadBalancer`

        :return: ``True`` if the destroy was successful, otherwise ``False``.
        :rtype: ``bool``
         N/A N/A NotImplementedError destroy_balancer not implemented for this driver N/A get_balancer N/A N/A self balancer_id N/A N/A N/A 
        Return a :class:`LoadBalancer` object.

        :param balancer_id: id of a load balancer you want to fetch
        :type  balancer_id: ``str``

        :rtype: :class:`LoadBalancer`
         N/A N/A NotImplementedError get_balancer not implemented for this driver N/A update_balancer N/A N/A self balancer N/A kwargs N/A N/A 
        Sets the name, algorithm, protocol, or port on a load balancer.

        :param   balancer: LoadBalancer which should be used
        :type    balancer: :class:`LoadBalancer`

        :param name: New load balancer name
        :type    name: ``str``

        :param algorithm: New load balancer algorithm
        :type    algorithm: :class:`.Algorithm`

        :param protocol: New load balancer protocol
        :type    protocol: ``str``

        :param port: New load balancer port
        :type    port: ``int``

        :rtype: :class:`LoadBalancer`
         N/A N/A NotImplementedError update_balancer not implemented for this driver N/A balancer_attach_compute_node N/A N/A self balancer node N/A N/A N/A 
        Attach a compute node as a member to the load balancer.

        :param balancer: LoadBalancer which should be used
        :type  balancer: :class:`LoadBalancer`

        :param node: Node to join to the balancer
        :type  node: :class:`Node`

        :return: Member after joining the balancer.
        :rtype: :class:`Member`
         N/A member N/A Member id None ip N/A N/A node public_ips N/A 0 port N/A balancer port N/A N/A N/A self balancer_attach_member balancer member N/A balancer_attach_member N/A N/A self balancer member N/A N/A N/A 
        Attach a member to balancer

        :param balancer: LoadBalancer which should be used
        :type  balancer: :class:`LoadBalancer`

        :param member: Member to join to the balancer
        :type member: :class:`Member`

        :return: Member after joining the balancer.
        :rtype: :class:`Member`
         N/A N/A NotImplementedError balancer_attach_member not implemented for this driver N/A balancer_detach_member N/A N/A self balancer member N/A N/A N/A 
        Detach member from balancer

        :param balancer: LoadBalancer which should be used
        :type  balancer: :class:`LoadBalancer`

        :param member: Member which should be used
        :type member: :class:`Member`

        :return: ``True`` if member detach was successful, otherwise ``False``.
        :rtype: ``bool``
         N/A N/A NotImplementedError balancer_detach_member not implemented for this driver N/A balancer_list_members N/A N/A self balancer N/A N/A N/A 
        Return list of members attached to balancer

        :param balancer: LoadBalancer which should be used
        :type  balancer: :class:`LoadBalancer`

        :rtype: ``list`` of :class:`Member`
         N/A N/A NotImplementedError balancer_list_members not implemented for this driver N/A list_supported_algorithms N/A N/A self N/A N/A N/A 
        Return algorithms supported by this driver.

        :rtype: ``list`` of ``str``
         N/A N/A list N/A N/A N/A self _ALGORITHM_TO_VALUE_MAP keys N/A _value_to_algorithm N/A N/A self value N/A N/A N/A 
        Return :class:`.Algorithm` based on the value.

        :param value: Algorithm name (e.g. http, tcp, ...).
        :type  value: ``str``

        :rtype: :class:`.Algorithm`
         N/A N/A N/A N/A N/A self _VALUE_TO_ALGORITHM_MAP N/A value N/A N/A N/A KeyError N/A N/A N/A LibcloudError value N/A Invalid value: %s value driver self N/A _algorithm_to_value N/A N/A self algorithm N/A N/A N/A 
        Return string value for the provided algorithm.

        :param value: Algorithm enum.
        :type  value: :class:`Algorithm`

        :rtype: ``str``
         N/A N/A N/A N/A N/A self _ALGORITHM_TO_VALUE_MAP N/A algorithm N/A N/A N/A KeyError N/A N/A N/A LibcloudError value N/A Invalid algorithm: %s algorithm driver self N/A N/A