Part of libcloud.compute.drivers.opsource View Source View In Hierarchy
Opsource node driver
Method | list_nodes | List all nodes @return: C{list} of L{Node} objects |
Method | list_sizes | List sizes on a provider @return: C{list} of L{NodeSize} objects |
Method | list_images | return a list of available images Currently only returns the default 'base OS images' provided by opsource. Customer images (snapshots) are not yet supported. |
Method | list_locations | list locations (datacenters) available for instantiating servers and networks. |
Method | create_node | Create a new opsource node |
Method | reboot_node | reboots the node |
Method | destroy_node | Destroys the node |
Method | ex_start_node | Powers on an existing deployed server |
Method | ex_shutdown_graceful | No summary |
Method | ex_power_off | No summary |
Method | ex_list_networks | List networks deployed across all data center locations for your organization. The response includes the location of each network. |
Method | ex_get_location_by_id | Undocumented |
Method | _to_networks | Undocumented |
Method | _to_network | Undocumented |
Method | _to_locations | Undocumented |
Method | _to_location | Undocumented |
Method | _to_nodes | Undocumented |
Method | _to_node | Undocumented |
Method | _to_base_images | Undocumented |
Method | _to_base_image | Undocumented |
Method | _to_status | Undocumented |
Inherited from NodeDriver:
Method | __init__ | @keyword key: API key or username to used @type key: str |
Method | deploy_node | Create a new node, and start deployment. |
Method | _get_size_price | Undocumented |
List sizes on a provider @return: C{list} of L{NodeSize} objects
return a list of available images Currently only returns the default 'base OS images' provided by opsource. Customer images (snapshots) are not yet supported.
list locations (datacenters) available for instantiating servers and networks.
Create a new opsource node Standard keyword arguments from L{NodeDriver.create_node}: @keyword name: String with a name for this new node (required) @type name: str @keyword image: OS Image to boot on node. (required) @type image: L{NodeImage} @keyword auth: Initial authentication information for the node (required) @type auth: L{NodeAuthPassword} Non-standard keyword arguments: @keyword ex_description: description for this node (required) @type ex_description: C{str} @keyword ex_network: Network to create the node within (required) @type ex_network: L{OpsourceNetwork} @keyword ex_isStarted: Start server after creation? default true (required) @type ex_isStarted: C{bool} @return: The newly created L{Node}. NOTE: Opsource does not provide a way to determine the ID of the server that was just created, so the returned L{Node} is not guaranteed to be the same one that was created. This is only the case when multiple nodes with the same name exist.
This function will attempt to "gracefully" stop a server by initiating a shutdown sequence within the guest operating system. A successful response on this function means the system has successfully passed the request into the operating system.
This function will abruptly power-off a server. Unlike ex_shutdown_graceful, success ensures the node will stop but some OS and application configurations may be adversely affected by the equivalent of pulling the power plug out of the machine.
List networks deployed across all data center locations for your organization. The response includes the location of each network. Returns a list of OpsourceNetwork objects