Added: websites/staging/libcloud/trunk/content/apidocs/0.10.1/libcloud.dns.types.ZoneError.html ============================================================================== --- websites/staging/libcloud/trunk/content/apidocs/0.10.1/libcloud.dns.types.ZoneError.html (added) +++ websites/staging/libcloud/trunk/content/apidocs/0.10.1/libcloud.dns.types.ZoneError.html Thu May 24 04:03:26 2012 @@ -0,0 +1,123 @@ + + + + libcloud.dns.types.ZoneError : API documentation + + + + + + +

l.d.t.ZoneError(LibcloudError) : class documentation

+

+ Part of libcloud.dns.types + View Source + View In Hierarchy +

+
+

Known subclasses: libcloud.dns.types.ZoneAlreadyExistsError, libcloud.dns.types.ZoneDoesNotExistError

+
+
Undocumented
+ + + +
+ + + + + + + + + + + + + + + + + + + + + + + +
Method__init__Undocumented
Method__str__Undocumented
Method__repr__Undocumented
+ + +
+ + + + +
+ + + + + + +
+ + def + __init__(self, value, driver, zone_id): + + + (source) + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + __str__(self): + + + (source) + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + __repr__(self): + + + (source) + +
+
+ +
Undocumented
+
+
+
+ API Documentation for libcloud, generated by pydoctor at 2012-05-23 21:00:54. +
+ + \ No newline at end of file Added: websites/staging/libcloud/trunk/content/apidocs/0.10.1/libcloud.dns.types.html ============================================================================== --- websites/staging/libcloud/trunk/content/apidocs/0.10.1/libcloud.dns.types.html (added) +++ websites/staging/libcloud/trunk/content/apidocs/0.10.1/libcloud.dns.types.html Thu May 24 04:03:26 2012 @@ -0,0 +1,93 @@ + + + + libcloud.dns.types : API documentation + + + + + + +

l.d.types : module documentation

+

+ Part of libcloud.dns + View Source + +

+
+ +
+
No module docstring
+ + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
ClassProviderUndocumented
ClassRecordTypeDNS record type.
ClassZoneErrorUndocumented
ClassZoneDoesNotExistErrorUndocumented
ClassZoneAlreadyExistsErrorUndocumented
ClassRecordErrorUndocumented
ClassRecordDoesNotExistErrorUndocumented
ClassRecordAlreadyExistsErrorUndocumented
+ + +
+ + + + + +
+ API Documentation for libcloud, generated by pydoctor at 2012-05-23 21:00:54. +
+ + \ No newline at end of file Added: websites/staging/libcloud/trunk/content/apidocs/0.10.1/libcloud.html ============================================================================== --- websites/staging/libcloud/trunk/content/apidocs/0.10.1/libcloud.html (added) +++ websites/staging/libcloud/trunk/content/apidocs/0.10.1/libcloud.html Thu May 24 04:03:26 2012 @@ -0,0 +1,164 @@ + + + + libcloud : API documentation + + + + + + +

libcloud : package documentation

+

+ + View Source + +

+
+ +
+
libcloud provides a unified interface to the cloud computing resources.
+
+@var __version__: Current version of libcloud
+ + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
PackagecommonNo package docstring; 3/10 modules documented
PackagecomputeModule for working with Cloud Servers
PackagednsUndocumented
Modulehttplib_sslSubclass for httplib.HTTPSConnection with optional certificate name verification, depending on libcloud.security settings.
PackageloadbalancerModule for working with Load Balancers
ModulepricingNo module docstring; 5/7 functions documented
ModulesecuritySecurity (SSL) Settings
PackagestorageModule for working with Storage
PackageutilsUndocumented
+ + +
+ + +

From the __init__.py module:

+ + + + + + + + + + + + + + + + +
Functionenable_debugEnable library wide debugging to a file-like object.
Function_init_onceUtility function that is ran once on Library import.
+ +
+ + + + + + +
+ + def + enable_debug(fo): + + + (source) + +
+
+ +
Enable library wide debugging to a file-like object.
+
+@param fo: Where to append debugging information
+@type fo: File like object, only write operations are used.
+
+
+ + + + + + +
+ + def + _init_once(): + + + (source) + +
+
+ +
Utility function that is ran once on Library import.
+
+This checks for the LIBCLOUD_DEBUG enviroment variable, which if it exists
+is where we will log debug information about the provider transports.
+
+
+
+ API Documentation for libcloud, generated by pydoctor at 2012-05-23 21:00:54. +
+ + \ No newline at end of file Added: websites/staging/libcloud/trunk/content/apidocs/0.10.1/libcloud.httplib_ssl.html ============================================================================== --- websites/staging/libcloud/trunk/content/apidocs/0.10.1/libcloud.httplib_ssl.html (added) +++ websites/staging/libcloud/trunk/content/apidocs/0.10.1/libcloud.httplib_ssl.html Thu May 24 04:03:26 2012 @@ -0,0 +1,41 @@ + + + + libcloud.httplib_ssl : API documentation + + + + + + +

l.httplib_ssl : module documentation

+

+ Part of libcloud + View Source + +

+
+ +
+
Subclass for httplib.HTTPSConnection with optional certificate name
+verification, depending on libcloud.security settings.
+ + + +
+ + + +
+ + + + + +
+ API Documentation for libcloud, generated by pydoctor at 2012-05-23 21:00:54. +
+ + \ No newline at end of file Added: websites/staging/libcloud/trunk/content/apidocs/0.10.1/libcloud.loadbalancer.__init__.html ============================================================================== --- websites/staging/libcloud/trunk/content/apidocs/0.10.1/libcloud.loadbalancer.__init__.html (added) +++ websites/staging/libcloud/trunk/content/apidocs/0.10.1/libcloud.loadbalancer.__init__.html Thu May 24 04:03:26 2012 @@ -0,0 +1,40 @@ + + + + libcloud.loadbalancer.__init__ : API documentation + + + + + + +

l.l.__init__ : module documentation

+

+ Part of libcloud.loadbalancer + View Source + +

+
+ +
+
Module for working with Load Balancers
+ + + +
+ + + +
+ + + + + +
+ API Documentation for libcloud, generated by pydoctor at 2012-05-23 21:00:54. +
+ + \ No newline at end of file Added: websites/staging/libcloud/trunk/content/apidocs/0.10.1/libcloud.loadbalancer.base.Algorithm.html ============================================================================== --- websites/staging/libcloud/trunk/content/apidocs/0.10.1/libcloud.loadbalancer.base.Algorithm.html (added) +++ websites/staging/libcloud/trunk/content/apidocs/0.10.1/libcloud.loadbalancer.base.Algorithm.html Thu May 24 04:03:26 2012 @@ -0,0 +1,40 @@ + + + + libcloud.loadbalancer.base.Algorithm : API documentation + + + + + + +

l.l.b.Algorithm(object) : class documentation

+

+ Part of libcloud.loadbalancer.base + View Source + View In Hierarchy +

+
+ +
+
Undocumented
+ + + +
+ + + +
+ + + + + +
+ API Documentation for libcloud, generated by pydoctor at 2012-05-23 21:00:54. +
+ + \ No newline at end of file Added: websites/staging/libcloud/trunk/content/apidocs/0.10.1/libcloud.loadbalancer.base.Driver.html ============================================================================== --- websites/staging/libcloud/trunk/content/apidocs/0.10.1/libcloud.loadbalancer.base.Driver.html (added) +++ websites/staging/libcloud/trunk/content/apidocs/0.10.1/libcloud.loadbalancer.base.Driver.html Thu May 24 04:03:26 2012 @@ -0,0 +1,490 @@ + + + + libcloud.loadbalancer.base.Driver : API documentation + + + + + + +

l.l.b.Driver(BaseDriver) : class documentation

+

+ Part of libcloud.loadbalancer.base + View Source + View In Hierarchy +

+
+

Known subclasses: libcloud.loadbalancer.drivers.brightbox.BrightboxLBDriver, libcloud.loadbalancer.drivers.cloudstack.CloudStackLBDriver, libcloud.loadbalancer.drivers.gogrid.GoGridLBDriver, libcloud.loadbalancer.drivers.rackspace.RackspaceLBDriver

+
+
A base LBDriver class to derive from
+
+This class is always subclassed by a specific driver.
+ + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Method__init__@keyword key: API key or username to used @type key: str
Methodlist_protocolsReturn a list of supported protocols.
Methodlist_balancersList all loadbalancers
Methodcreate_balancerCreate a new load balancer instance
Methoddestroy_balancerDestroy a load balancer
Methodget_balancerReturn a C{LoadBalancer} object.
Methodupdate_balancerSets the name, algorithm, protocol, or port on a load balancer.
Methodbalancer_attach_compute_nodeAttach a compute node as a member to the load balancer.
Methodbalancer_attach_memberAttach a member to balancer
Methodbalancer_detach_memberDetach member from balancer
Methodbalancer_list_membersReturn list of members attached to balancer
Methodlist_supported_algorithmsReturn algorithms supported by this driver.
Method_value_to_algorithmReturn C{LBAlgorithm} based on the value.
Method_algorithm_to_valueReturn value based in the algorithm (C{LBAlgorithm}).
+ +

+ Inherited from BaseDriver: +

+ + + + + + + + + + + +
Method_ex_connection_class_kwargsReturn extra connection keyword arguments which are passed to the Connection class constructor.
+ + +
+ + + + +
+ + + + + + +
+ + def + __init__(self, key, secret=None, secure=True, host=None, port=None, **kwargs): + + + (source) + +
+
+ +
@keyword    key:    API key or username to used
+@type       key:    str
+
+@keyword    secret: Secret password to be used
+@type       secret: str
+
+@keyword    secure: Weither to use HTTPS or HTTP. Note: Some providers
+                    only support HTTPS, and it is on by default.
+@type       secure: bool
+
+@keyword    host: Override hostname used for connections.
+@type       host: str
+
+@keyword    port: Override port used for connections.
+@type       port: int
+
+@keyword    api_version: Optional API version. Only used by drivers
+                         which support multiple API versions.
+@type       api_version: str
+
+
+ + + + + + +
+ + def + list_protocols(self): + + + (source) + +
+
+ +
Return a list of supported protocols.
+
+
+ + + + + + +
+ + def + list_balancers(self): + + + (source) + +
+
+ +
List all loadbalancers
+
+@return: C{list} of L{LoadBalancer} objects
+
+
+ + + + + + +
+ + def + create_balancer(self, name, port, protocol, algorithm, members): + + + (source) + +
+
+ +
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}
+
+
+ + + + + + +
+ + def + destroy_balancer(self, balancer): + + + (source) + +
+
+ +
Destroy a load balancer
+
+@return: C{bool} True if the destroy was successful, otherwise False
+
+
+ + + + + + +
+ + def + get_balancer(self, balancer_id): + + + (source) + +
+
+ +
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}
+
+
+ + + + + + +
+ + def + update_balancer(self, balancer, **kwargs): + + + (source) + +
+
+ +
Sets the name, algorithm, protocol, or port on a load balancer.
+
+@keyword    name: New load balancer name
+@type       metadata: C{str}
+
+@keyword    algorithm: New load balancer algorithm
+@type       metadata: C{libcloud.loadbalancer.base.Algorithm}
+
+@keyword    protocol: New load balancer protocol
+@type       metadata: C{str}
+
+@keyword    port: New load balancer port
+@type       metadata: C{int}
+
+
+ + + + + + +
+ + def + balancer_attach_compute_node(self, balancer, node): + + + (source) + +
+
+ +
Attach a compute node as a member to the load balancer.
+
+@keyword node: Member to join to the balancer
+@type member: C{libcloud.compute.base.Node}
+@return {Member} Member after joining the balancer.
+
+
+ + + + + + +
+ + def + balancer_attach_member(self, balancer, member): + + + (source) + +
+
+ +
Attach a member to balancer
+
+@keyword member: Member to join to the balancer
+@type member: C{Member}
+@return {Member} Member after joining the balancer.
+
+
+ + + + + + +
+ + def + balancer_detach_member(self, balancer, member): + + + (source) + +
+
+ +
Detach member from balancer
+
+@return: C{bool} True if member detach was successful, otherwise False
+
+
+ + + + + + +
+ + def + balancer_list_members(self, balancer): + + + (source) + +
+
+ +
Return list of members attached to balancer
+
+@return: C{list} of L{Member}s
+
+
+ + + + + + +
+ + def + _value_to_algorithm(self, value): + + + (source) + +
+
+ +
Return C{LBAlgorithm} based on the value.
+
+
+ + + + + + +
+ + def + _algorithm_to_value(self, algorithm): + + + (source) + +
+
+ +
Return value based in the algorithm (C{LBAlgorithm}).
+
+
+ + + + + + +
+ + def + list_supported_algorithms(self): + + + (source) + +
+
+ +
Return algorithms supported by this driver.
+
+
+
+ API Documentation for libcloud, generated by pydoctor at 2012-05-23 21:00:54. +
+ + \ No newline at end of file Added: websites/staging/libcloud/trunk/content/apidocs/0.10.1/libcloud.loadbalancer.base.LoadBalancer.html ============================================================================== --- websites/staging/libcloud/trunk/content/apidocs/0.10.1/libcloud.loadbalancer.base.LoadBalancer.html (added) +++ websites/staging/libcloud/trunk/content/apidocs/0.10.1/libcloud.loadbalancer.base.LoadBalancer.html Thu May 24 04:03:26 2012 @@ -0,0 +1,227 @@ + + + + libcloud.loadbalancer.base.LoadBalancer : API documentation + + + + + + +

l.l.b.LoadBalancer(object) : class documentation

+

+ Part of libcloud.loadbalancer.base + View Source + View In Hierarchy +

+
+ +
+
Provide a common interface for handling Load Balancers.
+ + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Method__init__Undocumented
Methodattach_compute_nodeUndocumented
Methodattach_memberUndocumented
Methoddetach_memberUndocumented
Methodlist_membersUndocumented
MethoddestroyUndocumented
Method__repr__Undocumented
+ + +
+ + + + +
+ + + + + + +
+ + def + __init__(self, id, name, state, ip, port, driver, extra=None): + + + (source) + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + attach_compute_node(self, node): + + + (source) + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + attach_member(self, member): + + + (source) + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + detach_member(self, member): + + + (source) + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + list_members(self): + + + (source) + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + destroy(self): + + + (source) + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + __repr__(self): + + + (source) + +
+
+ +
Undocumented
+
+
+
+ API Documentation for libcloud, generated by pydoctor at 2012-05-23 21:00:54. +
+ + \ No newline at end of file Added: websites/staging/libcloud/trunk/content/apidocs/0.10.1/libcloud.loadbalancer.base.Member.html ============================================================================== --- websites/staging/libcloud/trunk/content/apidocs/0.10.1/libcloud.loadbalancer.base.Member.html (added) +++ websites/staging/libcloud/trunk/content/apidocs/0.10.1/libcloud.loadbalancer.base.Member.html Thu May 24 04:03:26 2012 @@ -0,0 +1,97 @@ + + + + libcloud.loadbalancer.base.Member : API documentation + + + + + + +

l.l.b.Member(object) : class documentation

+

+ Part of libcloud.loadbalancer.base + View Source + View In Hierarchy +

+
+ +
+
Undocumented
+ + + +
+ + + + + + + + + + + + + + + + + +
Method__init__Undocumented
Method__repr__Undocumented
+ + +
+ + + + +
+ + + + + + +
+ + def + __init__(self, id, ip, port, extra=None): + + + (source) + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + __repr__(self): + + + (source) + +
+
+ +
Undocumented
+
+
+
+ API Documentation for libcloud, generated by pydoctor at 2012-05-23 21:00:54. +
+ + \ No newline at end of file Added: websites/staging/libcloud/trunk/content/apidocs/0.10.1/libcloud.loadbalancer.base.html ============================================================================== --- websites/staging/libcloud/trunk/content/apidocs/0.10.1/libcloud.loadbalancer.base.html (added) +++ websites/staging/libcloud/trunk/content/apidocs/0.10.1/libcloud.loadbalancer.base.html Thu May 24 04:03:26 2012 @@ -0,0 +1,69 @@ + + + + libcloud.loadbalancer.base : API documentation + + + + + + +

l.l.base : module documentation

+

+ Part of libcloud.loadbalancer + View Source + +

+
+ +
+
No module docstring
+ + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
ClassMemberUndocumented
ClassAlgorithmUndocumented
ClassLoadBalancerProvide a common interface for handling Load Balancers.
ClassDriverA base LBDriver class to derive from
+ + +
+ + + + + +
+ API Documentation for libcloud, generated by pydoctor at 2012-05-23 21:00:54. +
+ + \ No newline at end of file Added: websites/staging/libcloud/trunk/content/apidocs/0.10.1/libcloud.loadbalancer.drivers.__init__.html ============================================================================== --- websites/staging/libcloud/trunk/content/apidocs/0.10.1/libcloud.loadbalancer.drivers.__init__.html (added) +++ websites/staging/libcloud/trunk/content/apidocs/0.10.1/libcloud.loadbalancer.drivers.__init__.html Thu May 24 04:03:26 2012 @@ -0,0 +1,40 @@ + + + + libcloud.loadbalancer.drivers.__init__ : API documentation + + + + + + +

l.l.d.__init__ : module documentation

+

+ Part of libcloud.loadbalancer.drivers + View Source + +

+
+ +
+
Undocumented
+ + + +
+ + + +
+ + + + + +
+ API Documentation for libcloud, generated by pydoctor at 2012-05-23 21:00:54. +
+ + \ No newline at end of file Added: websites/staging/libcloud/trunk/content/apidocs/0.10.1/libcloud.loadbalancer.drivers.brightbox.BrightboxLBDriver.html ============================================================================== --- websites/staging/libcloud/trunk/content/apidocs/0.10.1/libcloud.loadbalancer.drivers.brightbox.BrightboxLBDriver.html (added) +++ websites/staging/libcloud/trunk/content/apidocs/0.10.1/libcloud.loadbalancer.drivers.brightbox.BrightboxLBDriver.html Thu May 24 04:03:26 2012 @@ -0,0 +1,498 @@ + + + + libcloud.loadbalancer.drivers.brightbox.BrightboxLBDriver : API documentation + + + + + + +

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

+

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

+
+ +
+
Undocumented
+ + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Methodlist_protocolsReturn a list of supported protocols.
Methodlist_balancersList all loadbalancers
Methodcreate_balancerCreate a new load balancer instance
Methoddestroy_balancerDestroy a load balancer
Methodget_balancerReturn a C{LoadBalancer} object.
Methodbalancer_attach_compute_nodeAttach a compute node as a member to the load balancer.
Methodbalancer_attach_memberAttach a member to balancer
Methodbalancer_detach_memberDetach member from balancer
Methodbalancer_list_membersReturn list of members attached to balancer
Method_postUndocumented
Method_to_balancerUndocumented
Method_member_to_nodeUndocumented
Method_node_to_memberUndocumented
Method_public_ipUndocumented
+ +

+ Inherited from Driver: +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Method__init__@keyword key: API key or username to used @type key: str
Methodupdate_balancerSets the name, algorithm, protocol, or port on a load balancer.
Methodlist_supported_algorithmsReturn algorithms supported by this driver.
Method_value_to_algorithmReturn C{LBAlgorithm} based on the value.
Method_algorithm_to_valueReturn value based in the algorithm (C{LBAlgorithm}).
+ +

+ Inherited from BaseDriver (via Driver): +

+ + + + + + + + + + + +
Method_ex_connection_class_kwargsReturn 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
+
+@return: C{list} of L{LoadBalancer} objects
+
+
+ + + + + + +
+ + def + create_balancer(self, name, port, protocol, algorithm, members): + + + (source) + +
+
+ +
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}
+
+
+ + + + + + +
+ + def + destroy_balancer(self, balancer): + + + (source) + +
+
+ +
Destroy a load balancer
+
+@return: C{bool} True if the destroy was successful, otherwise False
+
+
+ + + + + + +
+ + def + get_balancer(self, balancer_id): + + + (source) + +
+
+ +
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}
+
+
+ + + + + + +
+ + def + balancer_attach_compute_node(self, balancer, node): + + + (source) + +
+
+ +
Attach a compute node as a member to the load balancer.
+
+@keyword node: Member to join to the balancer
+@type member: C{libcloud.compute.base.Node}
+@return {Member} Member after joining the balancer.
+
+
+ + + + + + +
+ + def + balancer_attach_member(self, balancer, member): + + + (source) + +
+
+ +
Attach a member to balancer
+
+@keyword member: Member to join to the balancer
+@type member: C{Member}
+@return {Member} Member after joining the balancer.
+
+
+ + + + + + +
+ + def + balancer_detach_member(self, balancer, member): + + + (source) + +
+
+ +
Detach member from balancer
+
+@return: C{bool} True if member detach was successful, otherwise False
+
+
+ + + + + + +
+ + def + balancer_list_members(self, balancer): + + + (source) + +
+
+ +
Return list of members attached to balancer
+
+@return: C{list} of L{Member}s
+
+
+ + + + + + +
+ + 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-05-23 21:00:54. +
+ + \ No newline at end of file Added: websites/staging/libcloud/trunk/content/apidocs/0.10.1/libcloud.loadbalancer.drivers.brightbox.html ============================================================================== --- websites/staging/libcloud/trunk/content/apidocs/0.10.1/libcloud.loadbalancer.drivers.brightbox.html (added) +++ websites/staging/libcloud/trunk/content/apidocs/0.10.1/libcloud.loadbalancer.drivers.brightbox.html Thu May 24 04:03:26 2012 @@ -0,0 +1,51 @@ + + + + libcloud.loadbalancer.drivers.brightbox : API documentation + + + + + + +

l.l.d.brightbox : module documentation

+

+ Part of libcloud.loadbalancer.drivers + View Source + +

+
+ +
+
Undocumented
+ + + +
+ + + + + + + + + + + +
ClassBrightboxLBDriverUndocumented
+ + +
+ + + + + +
+ API Documentation for libcloud, generated by pydoctor at 2012-05-23 21:00:54. +
+ + \ No newline at end of file Added: websites/staging/libcloud/trunk/content/apidocs/0.10.1/libcloud.loadbalancer.drivers.cloudstack.CloudStackLBDriver.html ============================================================================== --- websites/staging/libcloud/trunk/content/apidocs/0.10.1/libcloud.loadbalancer.drivers.cloudstack.CloudStackLBDriver.html (added) +++ websites/staging/libcloud/trunk/content/apidocs/0.10.1/libcloud.loadbalancer.drivers.cloudstack.CloudStackLBDriver.html Thu May 24 04:03:26 2012 @@ -0,0 +1,424 @@ + + + + libcloud.loadbalancer.drivers.cloudstack.CloudStackLBDriver : API documentation + + + + + + +

l.l.d.c.CloudStackLBDriver(CloudStackDriverMixIn, Driver) : class documentation

+

+ Part of libcloud.loadbalancer.drivers.cloudstack + View Source + View In Hierarchy +

+
+

Known subclasses: libcloud.loadbalancer.drivers.ninefold.NinefoldLBDriver

+
+
Driver for CloudStack load balancers.
+ + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Methodlist_protocolsWe don't actually have any protocol awareness beyond TCP.
Methodlist_balancersList all loadbalancers
Methodget_balancerReturn a C{LoadBalancer} object.
Methodcreate_balancerCreate a new load balancer instance
Methoddestroy_balancerDestroy a load balancer
Methodbalancer_attach_memberAttach a member to balancer
Methodbalancer_detach_memberDetach member from balancer
Methodbalancer_list_membersReturn list of members attached to balancer
Method_to_balancerUndocumented
Method_to_memberUndocumented
+ +

+ Inherited from CloudStackDriverMixIn: +

+ + + + + + + + + + + + + + + + + + + + + + + +
Method__init__Undocumented
Method_sync_requestUndocumented
Method_async_requestUndocumented
+ +

+ Inherited from Driver: +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Method__init__@keyword key: API key or username to used @type key: str
Methodupdate_balancerSets the name, algorithm, protocol, or port on a load balancer.
Methodbalancer_attach_compute_nodeAttach a compute node as a member to the load balancer.
Methodlist_supported_algorithmsReturn algorithms supported by this driver.
Method_value_to_algorithmReturn C{LBAlgorithm} based on the value.
Method_algorithm_to_valueReturn value based in the algorithm (C{LBAlgorithm}).
+ +

+ Inherited from BaseDriver (via Driver): +

+ + + + + + + + + + + +
Method_ex_connection_class_kwargsReturn extra connection keyword arguments which are passed to the Connection class constructor.
+ + +
+ + + + +
+ + + + + + +
+ + def + list_protocols(self): + + + (source) + +
+
+ +
We don't actually have any protocol awareness beyond TCP.
+
+
+ + + + + + +
+ + def + list_balancers(self): + + + (source) + +
+
+ +
List all loadbalancers
+
+@return: C{list} of L{LoadBalancer} objects
+
+
+ + + + + + +
+ + def + get_balancer(self, balancer_id): + + + (source) + +
+
+ +
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}
+
+
+ + + + + + +
+ + def + create_balancer(self, name, members, protocol='http', port=80, algorithm=DEFAULT_ALGORITHM, location=None, private_port=None): + + + (source) + +
+
+ +
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}
+
+
+ + + + + + +
+ + def + destroy_balancer(self, balancer): + + + (source) + +
+
+ +
Destroy a load balancer
+
+@return: C{bool} True if the destroy was successful, otherwise False
+
+
+ + + + + + +
+ + def + balancer_attach_member(self, balancer, member): + + + (source) + +
+
+ +
Attach a member to balancer
+
+@keyword member: Member to join to the balancer
+@type member: C{Member}
+@return {Member} Member after joining the balancer.
+
+
+ + + + + + +
+ + def + balancer_detach_member(self, balancer, member): + + + (source) + +
+
+ +
Detach member from balancer
+
+@return: C{bool} True if member detach was successful, otherwise False
+
+
+ + + + + + +
+ + def + balancer_list_members(self, balancer): + + + (source) + +
+
+ +
Return list of members attached to balancer
+
+@return: C{list} of L{Member}s
+
+
+ + + + + + +
+ + def + _to_balancer(self, obj): + + + (source) + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + _to_member(self, obj, port): + + + (source) + +
+
+ +
Undocumented
+
+
+
+ API Documentation for libcloud, generated by pydoctor at 2012-05-23 21:00:54. +
+ + \ No newline at end of file