l.c.base : module documentation

Part of libcloud.compute View Source

Provides base classes for working with drivers
Class ConnectionKey A Base Connection class to derive from, which includes a
Class ConnectionUserAndKey Base connection which accepts a user_id and key.
Class LibcloudHTTPSConnection LibcloudHTTPSConnection
Class UuidMixin Mixin class for get_uuid function.
Class Node Provide a common interface for handling nodes of all types.
Class NodeSize A Base NodeSize class to derive from.
Class NodeImage An operating system image.
Class NodeLocation A physical location where nodes can be.
Class NodeAuthSSHKey An SSH key to be installed for authentication to a node.
Class NodeAuthPassword A password to be used for authentication to a node.
Class StorageVolume A base StorageVolume class to derive from.
Class NodeDriver A base NodeDriver class to derive from
Function is_private_subnet Utility function to check if an IP address is inside a private subnet.
Function is_valid_ip_address Check if the provided address is valid IPv4 or IPv6 adddress.
def is_private_subnet(ip): (source)
Utility function to check if an IP address is inside a private subnet.

@type ip: C{str}
@keyword ip: IP address to check

@return: C{bool} if the specified IP address is private.
def is_valid_ip_address(address, family=socket.AF_INET): (source)
Check if the provided address is valid IPv4 or IPv6 adddress.

@return: C{bool} True if the provided address is valid.
API Documentation for libcloud, generated by pydoctor at 2013-07-01 17:02:02.