class RpcRunner(_RpcClientBase, _generated_rpc.RpcClientDefault, _generated_rpc.RpcClientBootstrap, _generated_rpc.RpcClientDnsOnly, _generated_rpc.RpcClientConfig):
RPC runner class.
| Method | __init__ |
Initialized the RPC runner. |
| Method | _ |
Undocumented |
| Method | _ |
Wrapper for AnnotateDiskParams. |
| Method | _ |
Encodes import/export I/O information. |
| Method | _ |
Encode dict of node name -> list of (disk, instance) tuples as values. |
| Method | _ |
Convert the given instance to a dict. |
| Method | _ |
Wrapper for _InstDict. |
| Method | _ |
Wrapper for _InstDict. |
| Method | _ |
Wrapper for AnnotateDiskParams. |
| Method | _ |
Convert the given nic to a dict and encapsulate netinfo |
| Method | _ |
Wrapper for AnnotateDiskParams. |
| Instance Variable | _cfg |
Undocumented |
Inherited from _RpcClientBase:
| Static Method | _ |
Encode argument. |
| Method | _ |
Entry point for automatically generated RPC wrappers. |
| Instance Variable | _encoder |
Undocumented |
| Instance Variable | _proc |
Undocumented |
Inherited from RpcClientDefault (via _RpcClientBase):
| Method | call |
Wrapper for RPC call 'accept_instance' |
| Method | call |
Wrapper for RPC call 'all_instances_info' |
| Method | call |
Wrapper for RPC call 'bdev_sizes' |
| Method | call |
Wrapper for RPC call 'blockdev_addchildren' |
| Method | call |
Wrapper for RPC call 'blockdev_assemble' |
| Method | call |
Wrapper for RPC call 'blockdev_close' |
| Method | call |
Wrapper for RPC call 'blockdev_convert' |
| Method | call |
Wrapper for RPC call 'blockdev_create' |
| Method | call |
Wrapper for RPC call 'blockdev_find' |
| Method | call |
Wrapper for RPC call 'blockdev_getdimensions' |
| Method | call |
Wrapper for RPC call 'blockdev_getmirrorstatus' |
| Method | call |
Wrapper for RPC call 'blockdev_getmirrorstatus_multi' |
| Method | call |
Wrapper for RPC call 'blockdev_grow' |
| Method | call |
Wrapper for RPC call 'blockdev_image' |
| Method | call |
Wrapper for RPC call 'blockdev_open' |
| Method | call |
Wrapper for RPC call 'blockdev_pause_resume_sync' |
| Method | call |
Wrapper for RPC call 'blockdev_remove' |
| Method | call |
Wrapper for RPC call 'blockdev_removechildren' |
| Method | call |
Wrapper for RPC call 'blockdev_rename' |
| Method | call |
Wrapper for RPC call 'blockdev_setinfo' |
| Method | call |
Wrapper for RPC call 'blockdev_shutdown' |
| Method | call |
Wrapper for RPC call 'blockdev_snapshot' |
| Method | call |
Wrapper for RPC call 'blockdev_wipe' |
| Method | call |
Wrapper for RPC call 'bridges_exist' |
| Method | call |
Wrapper for RPC call 'drbd_attach_net' |
| Method | call |
Wrapper for RPC call 'drbd_disconnect_net' |
| Method | call |
Wrapper for RPC call 'drbd_helper' |
| Method | call |
Wrapper for RPC call 'drbd_needs_activation' |
| Method | call |
Wrapper for RPC call 'drbd_wait_sync' |
| Method | call |
Wrapper for RPC call 'etc_hosts_modify' |
| Method | call |
Wrapper for RPC call 'export_info' |
| Method | call |
Wrapper for RPC call 'export_list' |
| Method | call |
Wrapper for RPC call 'export_remove' |
| Method | call |
Wrapper for RPC call 'export_start' |
| Method | call |
Wrapper for RPC call 'extstorage_diagnose' |
| Method | call |
Wrapper for RPC call 'file_storage_dir_create' |
| Method | call |
Wrapper for RPC call 'file_storage_dir_remove' |
| Method | call |
Wrapper for RPC call 'file_storage_dir_rename' |
| Method | call |
Wrapper for RPC call 'finalize_export' |
| Method | call |
Wrapper for RPC call 'get_file_info' |
| Method | call |
Wrapper for RPC call 'get_watcher_pause' |
| Method | call |
Wrapper for RPC call 'hooks_runner' |
| Method | call |
Wrapper for RPC call 'hotplug_device' |
| Method | call |
Wrapper for RPC call 'hotplug_supported' |
| Method | call |
Wrapper for RPC call 'hypervisor_validate_params' |
| Method | call |
Wrapper for RPC call 'iallocator_runner' |
| Method | call |
Wrapper for RPC call 'impexp_abort' |
| Method | call |
Wrapper for RPC call 'impexp_cleanup' |
| Method | call |
Wrapper for RPC call 'impexp_status' |
| Method | call |
Wrapper for RPC call 'import_start' |
| Method | call |
Wrapper for RPC call 'instance_balloon_memory' |
| Method | call |
Wrapper for RPC call 'instance_finalize_migration_dst' |
| Method | call |
Wrapper for RPC call 'instance_finalize_migration_src' |
| Method | call |
Wrapper for RPC call 'instance_get_migration_status' |
| Method | call |
Wrapper for RPC call 'instance_info' |
| Method | call |
Wrapper for RPC call 'instance_list' |
| Method | call |
Wrapper for RPC call 'instance_metadata_modify' |
| Method | call |
Wrapper for RPC call 'instance_migratable' |
| Method | call |
Wrapper for RPC call 'instance_migrate' |
| Method | call |
Wrapper for RPC call 'instance_os_add' |
| Method | call |
Wrapper for RPC call 'instance_reboot' |
| Method | call |
Wrapper for RPC call 'instance_run_rename' |
| Method | call |
Wrapper for RPC call 'instance_shutdown' |
| Method | call |
Wrapper for RPC call 'instance_start' |
| Method | call |
Wrapper for RPC call 'lv_list' |
| Method | call |
Wrapper for RPC call 'migration_info' |
| Method | call |
Wrapper for RPC call 'node_configure_ovs' |
| Method | call |
Wrapper for RPC call 'node_crypto_tokens' |
| Method | call |
Wrapper for RPC call 'node_demote_from_mc' |
| Method | call |
Wrapper for RPC call 'node_ensure_daemon' |
| Method | call |
Wrapper for RPC call 'node_has_ip_address' |
| Method | call |
Wrapper for RPC call 'node_info' |
| Method | call |
Wrapper for RPC call 'node_powercycle' |
| Method | call |
Wrapper for RPC call 'node_ssh_key_add' |
| Method | call |
Wrapper for RPC call 'node_ssh_key_remove' |
| Method | call |
Wrapper for RPC call 'node_ssh_keys_renew' |
| Method | call |
Wrapper for RPC call 'node_verify' |
| Method | call |
Wrapper for RPC call 'node_volumes' |
| Method | call |
Wrapper for RPC call 'os_diagnose' |
| Method | call |
Wrapper for RPC call 'os_export' |
| Method | call |
Wrapper for RPC call 'os_validate' |
| Method | call |
Wrapper for RPC call 'restricted_command' |
| Method | call |
Wrapper for RPC call 'run_oob' |
| Method | call |
Wrapper for RPC call 'set_watcher_pause' |
| Method | call |
Wrapper for RPC call 'storage_execute' |
| Method | call |
Wrapper for RPC call 'storage_list' |
| Method | call |
Wrapper for RPC call 'storage_modify' |
| Method | call |
Wrapper for RPC call 'test_delay' |
| Method | call |
Wrapper for RPC call 'vg_list' |
| Method | call |
Wrapper for RPC call 'x509_cert_create' |
| Method | call |
Wrapper for RPC call 'x509_cert_remove' |
| Constant | _CALLS |
Undocumented |
Inherited from RpcClientBootstrap (via _RpcClientBase, RpcClientDefault):
| Method | call |
Wrapper for RPC call 'master_node_name' |
| Method | call |
Wrapper for RPC call 'node_activate_master_ip' |
| Method | call |
Wrapper for RPC call 'node_change_master_netmask' |
| Method | call |
Wrapper for RPC call 'node_deactivate_master_ip' |
| Method | call |
Wrapper for RPC call 'node_leave_cluster' |
| Method | call |
Wrapper for RPC call 'node_start_master_daemons' |
| Method | call |
Wrapper for RPC call 'node_stop_master' |
Inherited from RpcClientDnsOnly (via _RpcClientBase, RpcClientDefault, RpcClientBootstrap):
| Method | call |
Wrapper for RPC call 'node_verify_light' |
| Method | call |
Wrapper for RPC call 'version' |
Inherited from RpcClientConfig (via _RpcClientBase, RpcClientDefault, RpcClientBootstrap, RpcClientDnsOnly):
| Method | call |
Wrapper for RPC call 'upload_file' |
| Method | call |
Wrapper for RPC call 'upload_file_single' |
| Method | call |
Wrapper for RPC call 'write_ssconf_files' |
ganeti.rpc.node._RpcClientBase.__init__Initialized the RPC runner.
| Parameters | |
cfg:config.ConfigWriter | Configuration |
| lock | Lock monitor callback |
| _req | Undocumented |
| _getents | Undocumented |
Convert the given instance to a dict.
This is done via the instance's ToDict() method and additionally we fill the hvparams with the cluster defaults.
| Parameters | |
| node | Undocumented |
instance:objects.Instance | an Instance object |
| hvp:dict or None | a dictionary with overridden hypervisor parameters |
| bep:dict or None | a dictionary with overridden backend parameters |
| osp:dict or None | a dictionary with overridden os parameters |
| Returns | |
| dict | the instance dict, with the hvparams filled with the cluster defaults |