The nova.scheduler.rpcapi Module

Client side of the scheduler manager RPC API.

class SchedulerAPI

Bases: nova.openstack.common.rpc.proxy.RpcProxy

Client side of the scheduler rpc API.

API version history:

1.0 - Initial version. 1.1 - Changes to prep_resize():

  • remove instance_uuid, add instance
  • remove instance_type_id, add instance_type
  • remove topic, it was unused

1.2 - Remove topic from run_instance, it was unused 1.3 - Remove instance_id, add instance to live_migration 1.4 - Remove update_db from prep_resize 1.5 - Add reservations argument to prep_resize() 1.6 - Remove reservations argument to run_instance() 1.7 - Add create_volume() method, remove topic from live_migration()

2.0 - Remove 1.x backwards compat 2.1 - Add image_id to create_volume() 2.2 - Remove reservations argument to create_volume() 2.3 - Remove create_volume() 2.4 - Change update_service_capabilities()

  • accepts a list of capabilities

2.5 - Add get_backdoor_port() 2.6 - Add select_hosts()

BASE_RPC_API_VERSION = '2.0'
get_backdoor_port(context, host)
live_migration(ctxt, block_migration, disk_over_commit, instance, dest)
prep_resize(ctxt, instance, instance_type, image, request_spec, filter_properties, reservations)
run_instance(ctxt, request_spec, admin_password, injected_files, requested_networks, is_first_time, filter_properties)
select_hosts(ctxt, request_spec, filter_properties)
show_host_resources(ctxt, host)
update_service_capabilities(ctxt, service_name, host, capabilities)

Previous topic

The nova.scheduler.multi Module

Next topic

The nova.scheduler.scheduler_options Module

This Page