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" />
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" />
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" />
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" />
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,