Added: libcloud/site/trunk/content/apidocs/0.9.1/libcloud.compute.drivers.vpsnet.VPSNetNodeDriver.html URL: http://svn.apache.org/viewvc/libcloud/site/trunk/content/apidocs/0.9.1/libcloud.compute.drivers.vpsnet.VPSNetNodeDriver.html?rev=1308166&view=auto ============================================================================== --- libcloud/site/trunk/content/apidocs/0.9.1/libcloud.compute.drivers.vpsnet.VPSNetNodeDriver.html (added) +++ libcloud/site/trunk/content/apidocs/0.9.1/libcloud.compute.drivers.vpsnet.VPSNetNodeDriver.html Sun Apr 1 18:07:04 2012 @@ -0,0 +1,425 @@ + + + + libcloud.compute.drivers.vpsnet.VPSNetNodeDriver : API documentation + + + + + + +

l.c.d.v.VPSNetNodeDriver(NodeDriver) : class documentation

+

+ Part of libcloud.compute.drivers.vpsnet + View Source + View In Hierarchy +

+
+ +
+
VPS.net node driver
+ + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Methodcreate_nodeCreate a new VPS.net node
Methodreboot_nodeReboot a node.
Methodlist_sizesList sizes on a provider
Methoddestroy_nodeDestroy a node.
Methodlist_nodesList all nodes @return: C{list} of L{Node} objects
Methodlist_imagesList images on a provider
Methodlist_locationsList data centers for a provider @return: C{list} of L{NodeLocation} objects
Method_to_nodeUndocumented
Method_to_imageUndocumented
Method_to_sizeUndocumented
Method_get_price_per_nodeUndocumented
+ +

+ Inherited from NodeDriver: +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Method__init__@keyword key: API key or username to used @type key: str
Methoddeploy_nodeCreate a new node, and start deployment.
Method_wait_until_runningBlock until node is fully booted and has an IP address assigned.
Method_ssh_client_connectTry to connect to the remote SSH server. If a connection times out or is refused it is retried up to timeout number of seconds.
Method_run_deployment_scriptRun the deployment script on the provided node. At this point it is assumed that SSH connection has already been established.
Method_get_size_priceUndocumented
+ +

+ Inherited from BaseDriver (via NodeDriver): +

+ + + + + + + + + + + +
Method_ex_connection_class_kwargsReturn extra connection keyword arguments which are passed to the Connection class constructor.
+ + +
+ + + + +
+ + + + + + +
+ + def + _to_node(self, vm): + + + (source) + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + _to_image(self, image, cloud): + + + (source) + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + _to_size(self, num): + + + (source) + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + _get_price_per_node(self, num): + + + (source) + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + create_node(self, name, image, size, **kwargs): + + + (source) + +
+
+ +
Create a new VPS.net node
+
+See L{NodeDriver.create_node} for more keyword args.
+@keyword    ex_backups_enabled: Enable automatic backups
+@type       ex_backups_enabled: C{bool}
+
+@keyword    ex_fqdn:   Fully Qualified domain of the node
+@type       ex_fqdn:   C{string}
+
+
+ + + + + + +
+ + def + reboot_node(self, node): + + + (source) + +
+
+ +
Reboot a node.
+
+@param node: The node to be rebooted
+@type node: L{Node}
+
+@return: C{bool} True if the reboot was successful, otherwise False
+
+
+ + + + + + +
+ + def + list_sizes(self, location=None): + + + (source) + +
+
+ +
List sizes on a provider
+
+@keyword location: The location at which to list sizes
+@type location: L{NodeLocation}
+
+@return: C{list} of L{NodeSize} objects
+
+
+ + + + + + +
+ + def + destroy_node(self, node): + + + (source) + +
+
+ +
Destroy a node.
+
+Depending upon the provider, this may destroy all data associated with
+the node, including backups.
+
+@param node: The node to be destroyed
+@type node: L{Node}
+
+@return: C{bool} True if the destroy was successful, otherwise False
+
+
+ + + + + + +
+ + def + list_nodes(self): + + + (source) + +
+
+ +
List all nodes
+@return: C{list} of L{Node} objects
+
+
+ + + + + + +
+ + def + list_images(self, location=None): + + + (source) + +
+
+ +
List images on a provider
+
+@keyword location: The location at which to list images
+@type location: L{NodeLocation}
+
+@return: C{list} of L{NodeImage} objects
+
+
+ + + + + + +
+ + def + list_locations(self): + + + (source) + +
+
+ +
List data centers for a provider
+@return: C{list} of L{NodeLocation} objects
+
+
+
+ API Documentation for libcloud, generated by pydoctor at 2012-04-01 11:04:25. +
+ + \ No newline at end of file Added: libcloud/site/trunk/content/apidocs/0.9.1/libcloud.compute.drivers.vpsnet.VPSNetResponse.html URL: http://svn.apache.org/viewvc/libcloud/site/trunk/content/apidocs/0.9.1/libcloud.compute.drivers.vpsnet.VPSNetResponse.html?rev=1308166&view=auto ============================================================================== --- libcloud/site/trunk/content/apidocs/0.9.1/libcloud.compute.drivers.vpsnet.VPSNetResponse.html (added) +++ libcloud/site/trunk/content/apidocs/0.9.1/libcloud.compute.drivers.vpsnet.VPSNetResponse.html Sun Apr 1 18:07:04 2012 @@ -0,0 +1,158 @@ + + + + libcloud.compute.drivers.vpsnet.VPSNetResponse : API documentation + + + + + + +

l.c.d.v.VPSNetResponse(JsonResponse) : class documentation

+

+ Part of libcloud.compute.drivers.vpsnet + View Source + View In Hierarchy +

+
+ +
+
Undocumented
+ + + +
+ + + + + + + + + + + + + + + + + + + + + + + +
Methodparse_bodyParse response body.
MethodsuccessDetermine if our request was successful.
Methodparse_errorParse the error messages.
+ +

+ Inherited from Response (via JsonResponse): +

+ + + + + + + + + + + + + + + + + +
Method__init__Undocumented
Method_decompress_responseDecompress a response body if it is using deflate or gzip encoding.
+ + +
+ + + + +
+ + + + + + +
+ + def + parse_body(self): + + + (source) + +
+
+ +
Parse response body.
+
+Override in a provider's subclass.
+
+@return: Parsed body.
+
+
+ + + + + + +
+ + def + success(self): + + + (source) + +
+
+ +
Determine if our request was successful.
+
+The meaning of this can be arbitrary; did we receive OK status? Did
+the node get created? Were we authenticated?
+
+@return: C{True} or C{False}
+
+
+ + + + + + +
+ + def + parse_error(self): + + + (source) + +
+
+ +
Parse the error messages.
+
+Override in a provider's subclass.
+
+@return: Parsed error.
+
+
+
+ API Documentation for libcloud, generated by pydoctor at 2012-04-01 11:04:25. +
+ + \ No newline at end of file Added: libcloud/site/trunk/content/apidocs/0.9.1/libcloud.compute.drivers.vpsnet.html URL: http://svn.apache.org/viewvc/libcloud/site/trunk/content/apidocs/0.9.1/libcloud.compute.drivers.vpsnet.html?rev=1308166&view=auto ============================================================================== --- libcloud/site/trunk/content/apidocs/0.9.1/libcloud.compute.drivers.vpsnet.html (added) +++ libcloud/site/trunk/content/apidocs/0.9.1/libcloud.compute.drivers.vpsnet.html Sun Apr 1 18:07:04 2012 @@ -0,0 +1,63 @@ + + + + libcloud.compute.drivers.vpsnet : API documentation + + + + + + +

l.c.d.vpsnet : module documentation

+

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

+
+ +
+
VPS.net driver
+ + + +
+ + + + + + + + + + + + + + + + + + + + + + + +
ClassVPSNetResponseUndocumented
ClassVPSNetConnectionConnection class for the VPS.net driver
ClassVPSNetNodeDriverVPS.net node driver
+ + +
+ + + + + +
+ API Documentation for libcloud, generated by pydoctor at 2012-04-01 11:04:25. +
+ + \ No newline at end of file Added: libcloud/site/trunk/content/apidocs/0.9.1/libcloud.compute.html URL: http://svn.apache.org/viewvc/libcloud/site/trunk/content/apidocs/0.9.1/libcloud.compute.html?rev=1308166&view=auto ============================================================================== --- libcloud/site/trunk/content/apidocs/0.9.1/libcloud.compute.html (added) +++ libcloud/site/trunk/content/apidocs/0.9.1/libcloud.compute.html Sun Apr 1 18:07:04 2012 @@ -0,0 +1,81 @@ + + + + libcloud.compute : API documentation + + + + + + +

l.compute : package documentation

+

+ Part of libcloud + View Source + +

+
+ +
+
Module for working with Cloud Servers
+ + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
ModulebaseProvides base classes for working with drivers
ModuledeploymentProvides generic deployment steps for machines post boot.
PackagedriversDrivers for working with different providers
ModuleprovidersProvider related utilities
ModulesshWraps multiple ways to communicate over SSH
ModuletypesBase types used by other parts of libcloud
+ + +
+ + + + + +
+ API Documentation for libcloud, generated by pydoctor at 2012-04-01 11:04:25. +
+ + \ No newline at end of file Added: libcloud/site/trunk/content/apidocs/0.9.1/libcloud.compute.providers.html URL: http://svn.apache.org/viewvc/libcloud/site/trunk/content/apidocs/0.9.1/libcloud.compute.providers.html?rev=1308166&view=auto ============================================================================== --- libcloud/site/trunk/content/apidocs/0.9.1/libcloud.compute.providers.html (added) +++ libcloud/site/trunk/content/apidocs/0.9.1/libcloud.compute.providers.html Sun Apr 1 18:07:04 2012 @@ -0,0 +1,71 @@ + + + + libcloud.compute.providers : API documentation + + + + + + +

l.c.providers : module documentation

+

+ Part of libcloud.compute + View Source + +

+
+ +
+
Provider related utilities
+ + + +
+ + + + + + + + + + + +
Functionget_driverUndocumented
+ + +
+ + + + +
+ + + + + + +
+ + def + get_driver(provider): + + + (source) + +
+
+ +
Undocumented
+
+
+
+ API Documentation for libcloud, generated by pydoctor at 2012-04-01 11:04:25. +
+ + \ No newline at end of file Added: libcloud/site/trunk/content/apidocs/0.9.1/libcloud.compute.ssh.BaseSSHClient.html URL: http://svn.apache.org/viewvc/libcloud/site/trunk/content/apidocs/0.9.1/libcloud.compute.ssh.BaseSSHClient.html?rev=1308166&view=auto ============================================================================== --- libcloud/site/trunk/content/apidocs/0.9.1/libcloud.compute.ssh.BaseSSHClient.html (added) +++ libcloud/site/trunk/content/apidocs/0.9.1/libcloud.compute.ssh.BaseSSHClient.html Sun Apr 1 18:07:04 2012 @@ -0,0 +1,233 @@ + + + + libcloud.compute.ssh.BaseSSHClient : API documentation + + + + + + +

l.c.s.BaseSSHClient(object) : class documentation

+

+ Part of libcloud.compute.ssh + View Source + View In Hierarchy +

+
+

Known subclasses: libcloud.compute.ssh.ParamikoSSHClient, libcloud.compute.ssh.ShellOutSSHClient

+
+
Base class representing a connection over SSH/SCP to a remote node.
+ + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Method__init__@type hostname: C{str} @keyword hostname: Hostname or IP address to connect to.
MethodconnectConnect to the remote node over SSH.
MethodputUpload a file to the remote node.
MethoddeleteDelete/Unlink a file on the remote node.
MethodrunRun a command on a remote node.
MethodcloseShutdown connection to the remote node.
+ + +
+ + + + +
+ + + + + + +
+ + def + __init__(self, hostname, port=22, username='root', password=None, key=None, timeout=None): + + + (source) + +
+
+ +
@type hostname: C{str}
+@keyword hostname: Hostname or IP address to connect to.
+
+@type port: C{int}
+@keyword port: TCP port to communicate on, defaults to 22.
+
+@type username: C{str}
+@keyword username: Username to use, defaults to root.
+
+@type password: C{str}
+@keyword password: Password to authenticate with.
+
+@type key: C{list}
+@keyword key: Private SSH keys to authenticate with.
+
+
+ + + + + + +
+ + def + connect(self): + + + (source) + +
+
+ +
Connect to the remote node over SSH.
+
+@return: C{bool}
+
+
+ + + + + + +
+ + def + put(self, path, contents=None, chmod=None): + + + (source) + +
+
+ +
Upload a file to the remote node.
+
+@type path: C{str}
+@keyword path: File path on the remote node.
+
+@type contents: C{str}
+@keyword contents: File Contents.
+
+@type chmod: C{int}
+@keyword chmod: chmod file to this after creation.
+
+
+ + + + + + +
+ + def + delete(self, path): + + + (source) + +
+
+ +
Delete/Unlink a file on the remote node.
+
+@type path: C{str}
+@keyword path: File path on the remote node.
+
+
+ + + + + + +
+ + def + run(self, cmd): + + + (source) + +
+
+ +
Run a command on a remote node.
+
+@type cmd: C{str}
+@keyword cmd: Command to run.
+
+@return C{list} of [stdout, stderr, exit_status]
+
+
+ + + + + + +
+ + def + close(self): + + + (source) + +
+
+ +
Shutdown connection to the remote node.
+
+
+
+ API Documentation for libcloud, generated by pydoctor at 2012-04-01 11:04:25. +
+ + \ No newline at end of file Added: libcloud/site/trunk/content/apidocs/0.9.1/libcloud.compute.ssh.ParamikoSSHClient.html URL: http://svn.apache.org/viewvc/libcloud/site/trunk/content/apidocs/0.9.1/libcloud.compute.ssh.ParamikoSSHClient.html?rev=1308166&view=auto ============================================================================== --- libcloud/site/trunk/content/apidocs/0.9.1/libcloud.compute.ssh.ParamikoSSHClient.html (added) +++ libcloud/site/trunk/content/apidocs/0.9.1/libcloud.compute.ssh.ParamikoSSHClient.html Sun Apr 1 18:07:04 2012 @@ -0,0 +1,233 @@ + + + + libcloud.compute.ssh.ParamikoSSHClient : API documentation + + + + + + +

l.c.s.ParamikoSSHClient(BaseSSHClient) : class documentation

+

+ Part of libcloud.compute.ssh + View Source + View In Hierarchy +

+
+ +
+
A SSH Client powered by Paramiko.
+ + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Method__init__@type hostname: C{str} @keyword hostname: Hostname or IP address to connect to.
MethodconnectConnect to the remote node over SSH.
MethodputUpload a file to the remote node.
MethoddeleteDelete/Unlink a file on the remote node.
MethodrunRun a command on a remote node.
MethodcloseShutdown connection to the remote node.
+ + +
+ + + + +
+ + + + + + +
+ + def + __init__(self, hostname, port=22, username='root', password=None, key=None, timeout=None): + + + (source) + +
+
+ +
@type hostname: C{str}
+@keyword hostname: Hostname or IP address to connect to.
+
+@type port: C{int}
+@keyword port: TCP port to communicate on, defaults to 22.
+
+@type username: C{str}
+@keyword username: Username to use, defaults to root.
+
+@type password: C{str}
+@keyword password: Password to authenticate with.
+
+@type key: C{list}
+@keyword key: Private SSH keys to authenticate with.
+
+
+ + + + + + +
+ + def + connect(self): + + + (source) + +
+
+ +
Connect to the remote node over SSH.
+
+@return: C{bool}
+
+
+ + + + + + +
+ + def + put(self, path, contents=None, chmod=None): + + + (source) + +
+
+ +
Upload a file to the remote node.
+
+@type path: C{str}
+@keyword path: File path on the remote node.
+
+@type contents: C{str}
+@keyword contents: File Contents.
+
+@type chmod: C{int}
+@keyword chmod: chmod file to this after creation.
+
+
+ + + + + + +
+ + def + delete(self, path): + + + (source) + +
+
+ +
Delete/Unlink a file on the remote node.
+
+@type path: C{str}
+@keyword path: File path on the remote node.
+
+
+ + + + + + +
+ + def + run(self, cmd): + + + (source) + +
+
+ +
Run a command on a remote node.
+
+@type cmd: C{str}
+@keyword cmd: Command to run.
+
+@return C{list} of [stdout, stderr, exit_status]
+
+
+ + + + + + +
+ + def + close(self): + + + (source) + +
+
+ +
Shutdown connection to the remote node.
+
+
+
+ API Documentation for libcloud, generated by pydoctor at 2012-04-01 11:04:25. +
+ + \ No newline at end of file Added: libcloud/site/trunk/content/apidocs/0.9.1/libcloud.compute.ssh.ShellOutSSHClient.html URL: http://svn.apache.org/viewvc/libcloud/site/trunk/content/apidocs/0.9.1/libcloud.compute.ssh.ShellOutSSHClient.html?rev=1308166&view=auto ============================================================================== --- libcloud/site/trunk/content/apidocs/0.9.1/libcloud.compute.ssh.ShellOutSSHClient.html (added) +++ libcloud/site/trunk/content/apidocs/0.9.1/libcloud.compute.ssh.ShellOutSSHClient.html Sun Apr 1 18:07:04 2012 @@ -0,0 +1,86 @@ + + + + libcloud.compute.ssh.ShellOutSSHClient : API documentation + + + + + + +

l.c.s.ShellOutSSHClient(BaseSSHClient) : class documentation

+

+ Part of libcloud.compute.ssh + View Source + View In Hierarchy +

+
+ +
+
Undocumented
+ + + +
+ + +

+ Inherited from BaseSSHClient: +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Method__init__@type hostname: C{str} @keyword hostname: Hostname or IP address to connect to.
MethodconnectConnect to the remote node over SSH.
MethodputUpload a file to the remote node.
MethoddeleteDelete/Unlink a file on the remote node.
MethodrunRun a command on a remote node.
MethodcloseShutdown connection to the remote node.
+ + +
+ + + + + +
+ API Documentation for libcloud, generated by pydoctor at 2012-04-01 11:04:25. +
+ + \ No newline at end of file Added: libcloud/site/trunk/content/apidocs/0.9.1/libcloud.compute.ssh.html URL: http://svn.apache.org/viewvc/libcloud/site/trunk/content/apidocs/0.9.1/libcloud.compute.ssh.html?rev=1308166&view=auto ============================================================================== --- libcloud/site/trunk/content/apidocs/0.9.1/libcloud.compute.ssh.html (added) +++ libcloud/site/trunk/content/apidocs/0.9.1/libcloud.compute.ssh.html Sun Apr 1 18:07:04 2012 @@ -0,0 +1,63 @@ + + + + libcloud.compute.ssh : API documentation + + + + + + +

l.c.ssh : module documentation

+

+ Part of libcloud.compute + View Source + +

+
+ +
+
Wraps multiple ways to communicate over SSH
+ + + +
+ + + + + + + + + + + + + + + + + + + + + + + +
ClassBaseSSHClientBase class representing a connection over SSH/SCP to a remote node.
ClassParamikoSSHClientA SSH Client powered by Paramiko.
ClassShellOutSSHClientUndocumented
+ + +
+ + + + + +
+ API Documentation for libcloud, generated by pydoctor at 2012-04-01 11:04:25. +
+ + \ No newline at end of file Added: libcloud/site/trunk/content/apidocs/0.9.1/libcloud.compute.types.Architecture.html URL: http://svn.apache.org/viewvc/libcloud/site/trunk/content/apidocs/0.9.1/libcloud.compute.types.Architecture.html?rev=1308166&view=auto ============================================================================== --- libcloud/site/trunk/content/apidocs/0.9.1/libcloud.compute.types.Architecture.html (added) +++ libcloud/site/trunk/content/apidocs/0.9.1/libcloud.compute.types.Architecture.html Sun Apr 1 18:07:04 2012 @@ -0,0 +1,43 @@ + + + + libcloud.compute.types.Architecture : API documentation + + + + + + +

l.c.t.Architecture(object) : class documentation

+

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

+
+ +
+
Image and size architectures.
+
+@cvar I386: i386 (32 bt)
+@cvar X86_64: x86_64 (64 bit)
+ + + +
+ + + +
+ + + + + +
+ API Documentation for libcloud, generated by pydoctor at 2012-04-01 11:04:25. +
+ + \ No newline at end of file Added: libcloud/site/trunk/content/apidocs/0.9.1/libcloud.compute.types.DeploymentError.html URL: http://svn.apache.org/viewvc/libcloud/site/trunk/content/apidocs/0.9.1/libcloud.compute.types.DeploymentError.html?rev=1308166&view=auto ============================================================================== --- libcloud/site/trunk/content/apidocs/0.9.1/libcloud.compute.types.DeploymentError.html (added) +++ libcloud/site/trunk/content/apidocs/0.9.1/libcloud.compute.types.DeploymentError.html Sun Apr 1 18:07:04 2012 @@ -0,0 +1,95 @@ + + + + libcloud.compute.types.DeploymentError : API documentation + + + + + + +

l.c.t.DeploymentError(LibcloudError) : class documentation

+

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

+
+ +
+
Exception used when a Deployment Task failed.
+
+@ivar node: L{Node} on which this exception happened, you might want to call L{Node.destroy}
+ + + +
+ + + + + + + + + + + +
Method__init__Undocumented
+ +

+ Inherited from LibcloudError: +

+ + + + + + + + + + + + + + + + + +
Method__str__Undocumented
Method__repr__Undocumented
+ + +
+ + + + +
+ + + + + + +
+ + def + __init__(self, node, original_exception=None): + + + (source) + +
+
+ +
Undocumented
+
+
+
+ API Documentation for libcloud, generated by pydoctor at 2012-04-01 11:04:25. +
+ + \ No newline at end of file Added: libcloud/site/trunk/content/apidocs/0.9.1/libcloud.compute.types.NodeState.html URL: http://svn.apache.org/viewvc/libcloud/site/trunk/content/apidocs/0.9.1/libcloud.compute.types.NodeState.html?rev=1308166&view=auto ============================================================================== --- libcloud/site/trunk/content/apidocs/0.9.1/libcloud.compute.types.NodeState.html (added) +++ libcloud/site/trunk/content/apidocs/0.9.1/libcloud.compute.types.NodeState.html Sun Apr 1 18:07:04 2012 @@ -0,0 +1,46 @@ + + + + libcloud.compute.types.NodeState : API documentation + + + + + + +

l.c.t.NodeState(object) : class documentation

+

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

+
+ +
+
Standard states for a node
+
+@cvar RUNNING: Node is running
+@cvar REBOOTING: Node is rebooting
+@cvar TERMINATED: Node is terminated
+@cvar PENDING: Node is pending
+@cvar UNKNOWN: Node state is unknown
+ + + +
+ + + +
+ + + + + +
+ API Documentation for libcloud, generated by pydoctor at 2012-04-01 11:04:25. +
+ + \ No newline at end of file Added: libcloud/site/trunk/content/apidocs/0.9.1/libcloud.compute.types.Provider.html URL: http://svn.apache.org/viewvc/libcloud/site/trunk/content/apidocs/0.9.1/libcloud.compute.types.Provider.html?rev=1308166&view=auto ============================================================================== --- libcloud/site/trunk/content/apidocs/0.9.1/libcloud.compute.types.Provider.html (added) +++ libcloud/site/trunk/content/apidocs/0.9.1/libcloud.compute.types.Provider.html Sun Apr 1 18:07:04 2012 @@ -0,0 +1,68 @@ + + + + libcloud.compute.types.Provider : API documentation + + + + + + +

l.c.t.Provider(object) : class documentation

+

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

+
+ +
+
Defines for each of the supported providers
+
+@cvar DUMMY: Example provider
+@cvar EC2_US_EAST: Amazon AWS US N. Virgina
+@cvar EC2_US_WEST: Amazon AWS US N. California
+@cvar EC2_EU_WEST: Amazon AWS EU Ireland
+@cvar RACKSPACE: Rackspace Cloud Servers
+@cvar RACKSPACE_UK: Rackspace UK Cloud Servers
+@cvar SLICEHOST: Slicehost.com
+@cvar GOGRID: GoGrid
+@cvar VPSNET: VPS.net
+@cvar LINODE: Linode.com
+@cvar VCLOUD: vmware vCloud
+@cvar RIMUHOSTING: RimuHosting.com
+@cvar ECP: Enomaly
+@cvar IBM: IBM Developer Cloud
+@cvar OPENNEBULA: OpenNebula.org
+@cvar DREAMHOST: DreamHost Private Server
+@cvar CLOUDSIGMA: CloudSigma
+@cvar NIMBUS: Nimbus
+@cvar BLUEBOX: Bluebox
+@cvar OPSOURCE: Opsource Cloud
+@cvar NINEFOLD: Ninefold
+@cvar TERREMARK: Terremark
+@cvar: EC2_US_WEST_OREGON: Amazon AWS US West 2 (Oregon)
+@cvar CLOUDSTACK: CloudStack
+@cvar CLOUDSIGMA_US: CloudSigma US Las Vegas
+@cvar RACKSPACE_NOVA_BETA: Rackspace Nova Private Beta (ORD)
+@cvar LIBVIRT: Libvirt driver
+ + + +
+ + + +
+ + + + + +
+ API Documentation for libcloud, generated by pydoctor at 2012-04-01 11:04:25. +
+ + \ No newline at end of file Added: libcloud/site/trunk/content/apidocs/0.9.1/libcloud.compute.types.html URL: http://svn.apache.org/viewvc/libcloud/site/trunk/content/apidocs/0.9.1/libcloud.compute.types.html?rev=1308166&view=auto ============================================================================== --- libcloud/site/trunk/content/apidocs/0.9.1/libcloud.compute.types.html (added) +++ libcloud/site/trunk/content/apidocs/0.9.1/libcloud.compute.types.html Sun Apr 1 18:07:04 2012 @@ -0,0 +1,69 @@ + + + + libcloud.compute.types : API documentation + + + + + + +

l.c.types : module documentation

+

+ Part of libcloud.compute + View Source + +

+
+ +
+
Base types used by other parts of libcloud
+ + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
ClassProviderDefines for each of the supported providers
ClassNodeStateStandard states for a node
ClassArchitectureImage and size architectures.
ClassDeploymentErrorException used when a Deployment Task failed.
+ + +
+ + + + + +
+ API Documentation for libcloud, generated by pydoctor at 2012-04-01 11:04:25. +
+ + \ No newline at end of file Added: libcloud/site/trunk/content/apidocs/0.9.1/libcloud.dns.__init__.html URL: http://svn.apache.org/viewvc/libcloud/site/trunk/content/apidocs/0.9.1/libcloud.dns.__init__.html?rev=1308166&view=auto ============================================================================== --- libcloud/site/trunk/content/apidocs/0.9.1/libcloud.dns.__init__.html (added) +++ libcloud/site/trunk/content/apidocs/0.9.1/libcloud.dns.__init__.html Sun Apr 1 18:07:04 2012 @@ -0,0 +1,40 @@ + + + + libcloud.dns.__init__ : API documentation + + + + + + +

l.d.__init__ : module documentation

+

+ Part of libcloud.dns + View Source + +

+
+ +
+
Undocumented
+ + + +
+ + + +
+ + + + + +
+ API Documentation for libcloud, generated by pydoctor at 2012-04-01 11:04:25. +
+ + \ No newline at end of file Added: libcloud/site/trunk/content/apidocs/0.9.1/libcloud.dns.base.DNSDriver.html URL: http://svn.apache.org/viewvc/libcloud/site/trunk/content/apidocs/0.9.1/libcloud.dns.base.DNSDriver.html?rev=1308166&view=auto ============================================================================== --- libcloud/site/trunk/content/apidocs/0.9.1/libcloud.dns.base.DNSDriver.html (added) +++ libcloud/site/trunk/content/apidocs/0.9.1/libcloud.dns.base.DNSDriver.html Sun Apr 1 18:07:04 2012 @@ -0,0 +1,496 @@ + + + + libcloud.dns.base.DNSDriver : API documentation + + + + + + +

l.d.b.DNSDriver(BaseDriver) : class documentation

+

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

+
+

Known subclasses: libcloud.dns.drivers.dummy.DummyDNSDriver, libcloud.dns.drivers.linode.LinodeDNSDriver, libcloud.dns.drivers.rackspace.RackspaceDNSDriver, libcloud.dns.drivers.zerigo.ZerigoDNSDriver

+
+
DNS driver.
+ + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Method__init__@keyword key: API key or username to used @type key: str
Methodlist_record_typesReturn a list of RecordType objects supported by the provider.
Methodlist_zonesReturn a list of zones.
Methodlist_recordsReturn a list of records for the provided zone.
Methodget_zoneReturn a Zone instance.
Methodget_recordReturn a Record instance.
Methodcreate_zoneCreate a new zone.
Methodupdate_zoneUpdate en existing zone.
Methodcreate_recordCreate a new record.
Methodupdate_recordUpdate an existing record.
Methoddelete_zoneDelete a zone.
Methoddelete_recordDelete a record.
Method_string_to_record_typeReturn a string representation of a DNS record type to a libcloud RecordType ENUM.
+ +

+ 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_record_types(self): + + + (source) + +
+
+ +
Return a list of RecordType objects supported by the provider.
+
+@return: A list of C{RecordType} instances.
+
+
+ + + + + + +
+ + def + list_zones(self): + + + (source) + +
+
+ +
Return a list of zones.
+
+@return: A list of C{Zone} instances.
+
+
+ + + + + + +
+ + def + list_records(self, zone): + + + (source) + +
+
+ +
Return a list of records for the provided zone.
+
+@type zone: C{Zone}
+@param zone: Zone to list records for.
+
+@return: A list of C{Record} instances.
+
+
+ + + + + + +
+ + def + get_zone(self, zone_id): + + + (source) + +
+
+ +
Return a Zone instance.
+
+@return: C{Zone} instance.
+
+
+ + + + + + +
+ + def + get_record(self, zone_id, record_id): + + + (source) + +
+
+ +
Return a Record instance.
+
+@return: C{Record} instance.
+
+
+ + + + + + +
+ + def + create_zone(self, domain, type='master', ttl=None, extra=None): + + + (source) + +
+
+ +
Create a new zone.
+
+@type domain: C{string}
+@param domain: Zone domain name.
+
+@type type: C{string}
+@param type: Zone type (master / slave).
+
+@param ttl: C{int}
+@param ttl: (optional) TTL for new records.
+
+@type extra: C{dict}
+@param extra: (optional) Extra attributes (driver specific).
+
+
+ + + + + + +
+ + def + update_zone(self, zone, domain, type='master', ttl=None, extra=None): + + + (source) + +
+
+ +
Update en existing zone.
+
+@type zone: C{Zone}
+@param zone: Zone to update.
+
+@type domain: C{string}
+@param domain: Zone domain name.
+
+@type type: C{string}
+@param type: Zone type (master / slave).
+
+@param ttl: C{int}
+@param ttl: (optional) TTL for new records.
+
+@type extra: C{dict}
+@param extra: (optional) Extra attributes (driver specific).
+
+
+ + + + + + +
+ + def + create_record(self, name, zone, type, data, extra=None): + + + (source) + +
+
+ +
Create a new record.
+
+@param name: C{string}
+@type name: Hostname or FQDN.
+
+@type zone: C{Zone}
+@param zone: Zone where the requested record is created.
+
+@type type: C{RecordType}
+@param type: DNS record type (A, AAAA, ...).
+
+@type data: C{str}
+@param data: Data for the record (depends on the record type).
+
+@type extra: C{dict}
+@param extra: (optional) Extra attributes (driver specific).
+
+
+ + + + + + +
+ + def + update_record(self, record, name, type, data, extra): + + + (source) + +
+
+ +
Update an existing record.
+
+@param record: C{Record}
+@type record: Record to update.
+
+@param name: C{string}
+@type name: Hostname or FQDN.
+
+@type type: C{RecordType}
+@param type: DNS record type (A, AAAA, ...).
+
+@type data: C{str}
+@param data: Data for the record (depends on the record type).
+
+@type extra: C{dict}
+@param extra: (optional) Extra attributes (driver specific).
+
+
+ + + + + + +
+ + def + delete_zone(self, zone): + + + (source) + +
+
+ +
Delete a zone.
+
+Note: This will delete all the records belonging to this zone.
+
+@param zone: C{Zone}
+@type zone: Zone to delete.
+
+
+ + + + + + +
+ + def + delete_record(self, record): + + + (source) + +
+
+ +
Delete a record.
+
+@param record: C{Record}
+@type record: Record to delete.
+
+
+ + + + + + +
+ + def + _string_to_record_type(self, string): + + + (source) + +
+
+ +
Return a string representation of a DNS record type to a
+libcloud RecordType ENUM.
+
+
+
+ API Documentation for libcloud, generated by pydoctor at 2012-04-01 11:04:25. +
+ + \ No newline at end of file Added: libcloud/site/trunk/content/apidocs/0.9.1/libcloud.dns.base.Record.html URL: http://svn.apache.org/viewvc/libcloud/site/trunk/content/apidocs/0.9.1/libcloud.dns.base.Record.html?rev=1308166&view=auto ============================================================================== --- libcloud/site/trunk/content/apidocs/0.9.1/libcloud.dns.base.Record.html (added) +++ libcloud/site/trunk/content/apidocs/0.9.1/libcloud.dns.base.Record.html Sun Apr 1 18:07:04 2012 @@ -0,0 +1,168 @@ + + + + libcloud.dns.base.Record : API documentation + + + + + + +

l.d.b.Record(object) : class documentation

+

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

+
+ +
+
Zone record / resource.
+ + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Method__init__@type id: C{str} @param id: Record id
MethodupdateUndocumented
MethoddeleteUndocumented
Method__repr__Undocumented
+ + +
+ + + + +
+ + + + + + +
+ + def + __init__(self, id, name, type, data, zone, driver, extra=None): + + + (source) + +
+
+ +
@type id: C{str}
+@param id: Record id
+
+@type name: C{str}
+@param name: Hostname or FQDN.
+
+@type type: C{RecordType}
+@param type: DNS record type (A, AAAA, ...).
+
+@type data: C{str}
+@param data: Data for the record (depends on the record type).
+
+@type zone: C{Zone}
+@param zone: Zone instance.
+
+@type driver: C{DNSDriver}
+@param driver: DNSDriver instance.
+
+@type extra: C{dict}
+@param extra: (optional) Extra attributes (driver specific).
+
+
+ + + + + + +
+ + def + update(self, name=None, type=None, data=None, extra=None): + + + (source) + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + delete(self): + + + (source) + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + __repr__(self): + + + (source) + +
+
+ +
Undocumented
+
+
+
+ API Documentation for libcloud, generated by pydoctor at 2012-04-01 11:04:25. +
+ + \ No newline at end of file