Bases: nova.openstack.common.rpc.proxy.RpcProxy
Client side of the conductor RPC API
API version history:
1.0 - Initial version.
1.1 - Added migration_update
1.2 - Added instance_get_by_uuid and instance_get_all_by_host
1.3 - Added aggregate_host_add and aggregate_host_delete
1.4 - Added migration_get
1.5 - Added bw_usage_update
1.6 - Added get_backdoor_port()
1.7 - Added aggregate_get_by_host, aggregate_metadata_add,
and aggregate_metadata_delete
- 1.8 - Added security_group_get_by_instance and
- security_group_rule_get_by_security_group
1.9 - Added provider_fw_rule_get_all
1.10 - Added agent_build_get_by_triple
1.11 - Added aggregate_get
1.12 - Added block_device_mapping_update_or_create
1.13 - Added block_device_mapping_get_all_by_instance
1.14 - Added block_device_mapping_destroy
1.15 - Added instance_get_all_by_filters and
instance_get_all_hung_in_rebooting and
instance_get_active_by_window
Deprecated instance_get_all_by_host
1.16 - Added instance_destroy
1.17 - Added instance_info_cache_delete
1.18 - Added instance_type_get
1.19 - Added vol_get_usage_by_time and vol_usage_update
1.20 - Added migration_get_unconfirmed_by_dest_compute
1.21 - Added service_get_all_by
1.22 - Added ping
1.23 - Added instance_get_all
Un-Deprecate instance_get_all_by_host
1.24 - Added instance_get
1.25 - Added action_event_start and action_event_finish
1.26 - Added instance_info_cache_update
1.27 - Added service_create
1.28 - Added binary arg to service_get_all_by
1.29 - Added service_destroy
1.30 - Added migration_create
1.31 - Added migration_get_in_progress_by_host_and_node
1.32 - Added optional node to instance_get_all_by_host
1.33 - Added compute_node_create and compute_node_update
1.34 - Added service_update
1.35 - Added instance_get_active_by_window_joined
1.36 - Added instance_fault_create
1.37 - Added task_log_get, task_log_begin_task, task_log_end_task
1.38 - Added service name to instance_update
1.39 - Added notify_usage_exists
1.40 - Added security_groups_trigger_handler and
security_groups_trigger_members_refresh
Remove instance_get_active_by_window
- 1.41 - Added fixed_ip_get_by_instance, network_get,
- instance_floating_address_get_all, quota_commit,
quota_rollback
1.42 - Added get_ec2_ids, aggregate_metadata_get_by_host
1.43 - Added compute_stop
1.44 - Added compute_node_delete
1.45 - Added project_id to quota_commit and quota_rollback
1.46 - Added compute_confirm_resize
1.47 - Added columns_to_join to instance_get_all_by_host and
instance_get_all_by_filters
1.48 - Added compute_unrescue
-
BASE_RPC_API_VERSION = '1.0'
-
action_event_finish(context, values)
-
action_event_start(context, values)
-
agent_build_get_by_triple(context, hypervisor, os, architecture)
-
aggregate_get(context, aggregate_id)
-
aggregate_get_by_host(context, host, key=None)
-
aggregate_host_add(context, aggregate, host)
-
aggregate_host_delete(context, aggregate, host)
-
aggregate_metadata_add(context, aggregate, metadata, set_delete=False)
-
aggregate_metadata_delete(context, aggregate, key)
-
aggregate_metadata_get_by_host(context, host, key)
-
block_device_mapping_destroy(context, bdms=None, instance=None, volume_id=None, device_name=None)
-
block_device_mapping_get_all_by_instance(context, instance)
-
block_device_mapping_update_or_create(context, values, create=None)
-
bw_usage_update(context, uuid, mac, start_period, bw_in=None, bw_out=None, last_ctr_in=None, last_ctr_out=None, last_refreshed=None)
-
compute_confirm_resize(context, instance, migration_ref)
-
compute_node_create(context, values)
-
compute_node_delete(context, node)
-
compute_node_update(context, node, values, prune_stats=False)
-
compute_stop(context, instance, do_cast=True)
-
compute_unrescue(context, instance)
-
get_backdoor_port(context)
-
get_ec2_ids(context, instance)
-
instance_destroy(context, instance)
-
instance_fault_create(context, values)
-
instance_get(context, instance_id)
-
instance_get_active_by_window_joined(context, begin, end=None, project_id=None, host=None)
-
instance_get_all(context)
-
instance_get_all_by_filters(context, filters, sort_key, sort_dir, columns_to_join=None)
-
instance_get_all_by_host(context, host, node=None, columns_to_join=None)
-
instance_get_all_hung_in_rebooting(context, timeout)
-
instance_get_by_uuid(context, instance_uuid)
-
instance_info_cache_delete(context, instance)
-
instance_info_cache_update(context, instance, values)
-
instance_type_get(context, instance_type_id)
-
instance_update(context, instance_uuid, updates, service=None)
-
migration_create(context, instance, values)
-
migration_get(context, migration_id)
-
migration_get_in_progress_by_host_and_node(context, host, node)
-
migration_get_unconfirmed_by_dest_compute(context, confirm_window, dest_compute)
-
migration_update(context, migration, status)
-
network_migrate_instance_finish(context, instance, migration)
-
network_migrate_instance_start(context, instance, migration)
-
notify_usage_exists(context, instance, current_period=False, ignore_missing_network_data=True, system_metadata=None, extra_usage_info=None)
-
ping(context, arg, timeout=None)
-
provider_fw_rule_get_all(context)
-
quota_commit(context, reservations, project_id=None)
-
quota_rollback(context, reservations, project_id=None)
-
security_group_get_by_instance(context, instance)
-
security_group_rule_get_by_security_group(context, secgroup)
-
security_groups_trigger_handler(context, event, args)
-
security_groups_trigger_members_refresh(context, group_ids)
-
service_create(context, values)
-
service_destroy(context, service_id)
-
service_get_all_by(context, topic=None, host=None, binary=None)
-
service_update(context, service, values)
-
task_log_begin_task(context, task_name, begin, end, host, task_items=None, message=None)
-
task_log_end_task(context, task_name, begin, end, host, errors, message=None)
-
task_log_get(context, task_name, begin, end, host, state=None)
-
vol_get_usage_by_time(context, start_time)
-
vol_usage_update(context, vol_id, rd_req, rd_bytes, wr_req, wr_bytes, instance, last_refreshed=None, update_totals=False)