Previous topic

The nova.compute.aggregate_states Module

Next topic

The nova.compute.instance_types Module

This Page

Psst... hey. You're reading the latest content, but it might be out of sync with code. You can read Nova 2011.2 docs or all OpenStack docs too.

The nova.compute.api Module

Handles all requests relating to compute resources (e.g. guest vms, networking and storage of vms, and compute hosts on which they run).

class API(image_service=None, network_api=None, volume_api=None, **kwargs)

Bases: nova.compute.api.BaseAPI

API for interacting with the compute manager.

add_fixed_ip(context, target, *args, **kwargs)

Add fixed_ip from specified network to given instance.

add_security_group(context, target, *args, **kwargs)

Add security group to the instance

associate_floating_ip(context, target, *args, **kwargs)

Makes calls to network_api to associate_floating_ip.

Parameters:address – is a string floating ip address
attach_volume(context, target, *args, **kwargs)

Attach an existing volume to an existing instance.

backup(context, target, *args, **kwargs)

Backup the given instance

Parameters:
  • instance – nova.db.sqlalchemy.models.Instance
  • name – name of the backup or snapshot name = backup_type # daily backups are called ‘daily’
  • rotation – int representing how many backups to keep around; None if rotation shouldn’t be used (as in the case of snapshots)
  • extra_properties – dict of extra image properties to include
confirm_resize(context, target, *args, **kwargs)

Confirms a migration/resize and deletes the ‘old’ instance.

create(context, instance_type, image_href, kernel_id=None, ramdisk_id=None, min_count=None, max_count=None, pute.aggregate_states.html" />

Previous topic

The nova.compute.aggregate_states Module

Next topic

The nova.compute.instance_types Module

This Page

Psst... hey. You're reading the latest content, but it might be out of sync with code. You can read Nova 2011.2 docs or all OpenStack docs too.

The nova.compute.api Module

Handles all requests relating to compute resources (e.g. guest vms, networking and storage of vms, and compute hosts on which they run).

class API(image_service=None, network_api=None, volume_api=None, **kwargs)

Bases: nova.compute.api.BaseAPI

API for interacting with the compute manager.

add_fixed_ip(context, target, *args, **kwargs)

Add fixed_ip from specified network to given instance.

add_security_group(context, target, *args, **kwargs)

Add security group to the instance

associate_floating_ip(context, target, *args, **kwargs)

Makes calls to network_api to associate_floating_ip.

Parameters:address – is a string floating ip address
attach_volume(context, target, *args, **kwargs)

Attach an existing volume to an existing instance.

backup(context, target, *args, **kwargs)

Backup the given instance

Parameters:
  • instance – nova.db.sqlalchemy.models.Instance
  • name – name of the backup or snapshot name = backup_type # daily backups are called ‘daily’
  • rotation – int representing how many backups to keep around; None if rotation shouldn’t be used (as in the case of snapshots)
  • extra_properties – dict of extra image properties to include
confirm_resize(context, target, *args, **kwargs)

Confirms a migration/resize and deletes the ‘old’ instance.

create(context, instance_type, image_href, kernel_id=None, ramdisk_id=None, min_count=None, max_count=None, pute.aggregate_states.html" />

Previous topic

The nova.compute.aggregate_states Module

Next topic

The nova.compute.instance_types Module

This Page

Psst... hey. You're reading the latest content, but it might be out of sync with code. You can read Nova 2011.2 docs or all OpenStack docs too.

The nova.compute.api Module

Handles all requests relating to compute resources (e.g. guest vms, networking and storage of vms, and compute hosts on which they run).

class API(image_service=None, network_api=None, volume_api=None, **kwargs)

Bases: nova.compute.api.BaseAPI

API for interacting with the compute manager.

add_fixed_ip(context, target, *args, **kwargs)

Add fixed_ip from specified network to given instance.

add_security_group(context, target, *args, **kwargs)

Add security group to the instance

associate_floating_ip(context, target, *args, **kwargs)

Makes calls to network_api to associate_floating_ip.

Parameters:address – is a string floating ip address
attach_volume(context, target, *args, **kwargs)

Attach an existing volume to an existing instance.

backup(context, target, *args, **kwargs)

Backup the given instance

Parameters:
  • instance – nova.db.sqlalchemy.models.Instance
  • name – name of the backup or snapshot name = backup_type # daily backups are called ‘daily’
  • rotation – int representing how many backups to keep around; None if rotation shouldn’t be used (as in the case of snapshots)
  • extra_properties – dict of extra image properties to include
confirm_resize(context, target, *args, **kwargs)

Confirms a migration/resize and deletes the ‘old’ instance.

create(context, instance_type, image_href, kernel_id=None, ramdisk_id=None, min_count=None, max_count=None, pute.aggregate_states.html" />

Previous topic

The nova.compute.aggregate_states Module

Next topic

The nova.compute.instance_types Module

This Page

Psst... hey. You're reading the latest content, but it might be out of sync with code. You can read Nova 2011.2 docs or all OpenStack docs too.

The nova.compute.api Module

Handles all requests relating to compute resources (e.g. guest vms, networking and storage of vms, and compute hosts on which they run).

class API(image_service=None, network_api=None, volume_api=None, **kwargs)

Bases: nova.compute.api.BaseAPI

API for interacting with the compute manager.

add_fixed_ip(context, target, *args, **kwargs)

Add fixed_ip from specified network to given instance.

add_security_group(context, target, *args, **kwargs)

Add security group to the instance

associate_floating_ip(context, target, *args, **kwargs)

Makes calls to network_api to associate_floating_ip.

Parameters:address – is a string floating ip address
attach_volume(context, target, *args, **kwargs)

Attach an existing volume to an existing instance.

backup(context, target, *args, **kwargs)

Backup the given instance

Parameters:
  • instance – nova.db.sqlalchemy.models.Instance
  • name – name of the backup or snapshot name = backup_type # daily backups are called ‘daily’
  • rotation – int representing how many backups to keep around; None if rotation shouldn’t be used (as in the case of snapshots)
  • extra_properties – dict of extra image properties to include
confirm_resize(context, target, *args, **kwargs)

Confirms a migration/resize and deletes the ‘old’ instance.

create(context, instance_type, image_href, kernel_id=None, ramdisk_id=None, min_count=None, max_count=None, pute.aggregate_states.html" />

Previous topic

The nova.compute.aggregate_states Module

Next topic

The nova.compute.instance_types Module

This Page

Psst... hey. You're reading the latest content, but it might be out of sync with code. You can read Nova 2011.2 docs or all OpenStack docs too.

The nova.compute.api Module

Handles all requests relating to compute resources (e.g. guest vms, networking and storage of vms, and compute hosts on which they run).

class API(image_service=None, network_api=None, volume_api=None, **kwargs)

Bases: nova.compute.api.BaseAPI

API for interacting with the compute manager.

add_fixed_ip(context, target,