title: Compute -> Base API ## Base API ## * [list_nodes](#list_nodes) * [list_images](#list_images) * [list_sizes](#list_sizes) * [list_locations](#list_locations) * [create_node](#create_node) * [deploy_node](#deploy_node) * [reboot_node](#reboot_node) * [destroy_node](#destroy_node)

list_nodes

**Method signature**: [driver.list_nodes()](/apidocs/current/libcloud.compute.base.NodeDriver.html#list_nodes) **Description**: Return a list of all the nodes belonging to your account.

list_images

**Method signature**: [driver.list_images()](/apidocs/current/libcloud.compute.base.NodeDriver.html#list_images) **Description**: Return a list of all the available images.

list_sizes

**Method signature**: [driver.list_sizes()](/apidocs/current/libcloud.compute.base.NodeDriver.html#list_sizes) **Description**: Return a list of all the available sizes.

list_locations

**Method signature**: [driver.list_locations()](/apidocs/current/libcloud.compute.base.NodeDriver.html#list_locations) **Description**: Return a list of all the available locations.

create_node

**Method signature**: [driver.create_node(name, size, image)](/apidocs/current/libcloud.compute.base.NodeDriver.html#create_node) **Description**: Create a new node instance. Keep in mind that a lot drivers also take additional optional keyword arguments which are documented in the each driver API docs page.

deploy_node

**Method signature**: [driver.deploy_node(name, size, image, deploy)](/apidocs/current/libcloud.compute.base.NodeDriver.html#deploy_node) **Description**: Create a new node instance and run a deployment script on it. More about deployment functionality can be found on the [Deployment page](/docs/compute-deployment.html).

reboot_node

**Method signature**: [driver.reboot_node(node)](/apidocs/current/libcloud.compute.base.NodeDriver.html#reboot_node), [node.reboot()](/apidocs/current/libcloud.compute.base.Node.html#reboot) **Description**: Restart a node.

destroy_node

**Method signature**: [driver.destroy_node(node)](/apidocs/current/libcloud.compute.base.NodeDriver.html#destroy_node), [node.destroy()](/apidocs/current/libcloud.compute.base.Node.html#destroy) **Description**: Destroy a running or stopped node. This operation will in most cases also destroy all the data (disk, snapshots, etc.) associated with this node so be careful when you use it.