The server implementation.
This class holds all methods exposed over the RPC interface.
|
|
|
|
Inherited from http.server.HttpServer :
OnSignal ,
PreHandleRequest ,
Start ,
Stop ,
handle_accept
Inherited from http.HttpBase :
GetSslCiphers
Inherited from object :
__delattr__ ,
__format__ ,
__getattribute__ ,
__hash__ ,
__new__ ,
__reduce__ ,
__reduce_ex__ ,
__repr__ ,
__setattr__ ,
__sizeof__ ,
__str__ ,
__subclasshook__
Inherited from asyncore.dispatcher :
__getattr__ ,
accept ,
add_channel ,
bind ,
close ,
connect ,
create_socket ,
del_channel ,
handle_close ,
handle_connect ,
handle_connect_event ,
handle_error ,
handle_expt ,
handle_expt_event ,
handle_read ,
handle_read_event ,
handle_write ,
handle_write_event ,
listen ,
log ,
log_info ,
readable ,
recv ,
send ,
set_reuse_addr ,
set_socket ,
writable
|
|
perspective_blockdev_create(params)
Create a block device. |
source code
|
|
|
perspective_blockdev_pause_resume_sync(params)
Pause/resume sync of a block device. |
source code
|
|
|
perspective_blockdev_wipe(params)
Wipe a block device. |
source code
|
|
|
perspective_blockdev_remove(params)
Remove a block device. |
source code
|
|
|
perspective_blockdev_rename(params)
Remove a block device. |
source code
|
|
|
perspective_blockdev_assemble(params)
Assemble a block device. |
source code
|
|
|
perspective_blockdev_shutdown(params)
Shutdown a block device. |
source code
|
|
|
|
|
|
|
perspective_blockdev_getmirrorstatus(params)
Return the mirror status for a list of disks. |
source code
|
|
|
perspective_blockdev_getmirrorstatus_multi(params)
Return the mirror status for a list of disks. |
source code
|
|
|
|
|
|
|
perspective_blockdev_grow(params)
Grow a stack of devices. |
source code
|
|
|
perspective_blockdev_close(params)
Closes the given block devices. |
source code
|
|
|
perspective_blockdev_getsize(params)
Compute the sizes of the given block devices. |
source code
|
|
|
perspective_blockdev_export(params)
Compute the sizes of the given block devices. |
source code
|
|
|
|
|
|
|
|
|
perspective_drbd_helper(params)
Query drbd helper. |
source code
|
|
|
perspective_finalize_export(params)
Expose the finalize export functionality. |
source code
|
|
|
|
|
|
|
perspective_export_remove(params)
Remove an export. |
source code
|
|
|
perspective_bdev_sizes(params)
Query the list of block devices |
source code
|
|
|
perspective_lv_list(params)
Query the list of logical volumes in a given volume group. |
source code
|
|
|
perspective_vg_list(params)
Query the list of volume groups. |
source code
|
|
|
perspective_storage_list(params)
Get list of storage units. |
source code
|
|
|
perspective_storage_modify(params)
Modify a storage unit. |
source code
|
|
|
perspective_storage_execute(params)
Execute an operation on a storage unit. |
source code
|
|
|
perspective_bridges_exist(params)
Check if all bridges given exist on this node. |
source code
|
|
|
perspective_instance_os_add(params)
Install an OS on a given instance. |
source code
|
|
|
perspective_instance_run_rename(params)
Runs the OS rename script for an instance. |
source code
|
|
|
perspective_instance_shutdown(params)
Shutdown an instance. |
source code
|
|
|
perspective_instance_start(params)
Start an instance. |
source code
|
|
|
perspective_migration_info(params)
Gather information about an instance to be migrated. |
source code
|
|
|
perspective_accept_instance(params)
Prepare the node to accept an instance. |
source code
|
|
|
perspective_finalize_migration(params)
Finalize the instance migration. |
source code
|
|
|
perspective_instance_migrate(params)
Migrates an instance. |
source code
|
|
|
perspective_instance_reboot(params)
Reboot an instance. |
source code
|
|
|
perspective_instance_info(params)
Query instance information. |
source code
|
|
|
perspective_instance_migratable(params)
Query whether the specified instance can be migrated. |
source code
|
|
|
perspective_all_instances_info(params)
Query information about all instances. |
source code
|
|
|
perspective_instance_list(params)
Query the list of running instances. |
source code
|
|
|
perspective_node_tcp_ping(params)
Do a TcpPing on the remote node. |
source code
|
|
|
perspective_node_has_ip_address(params)
Checks if a node has the given ip address. |
source code
|
|
|
perspective_node_info(params)
Query node information. |
source code
|
|
|
perspective_etc_hosts_modify(params)
Modify a node entry in /etc/hosts. |
source code
|
|
|
perspective_node_verify(params)
Run a verify sequence on this node. |
source code
|
|
|
perspective_node_start_master(params)
Promote this node to master status. |
source code
|
|
|
perspective_node_stop_master(params)
Demote this node from master status. |
source code
|
|
|
perspective_node_leave_cluster(params)
Cleanup after leaving a cluster. |
source code
|
|
|
perspective_node_volumes(params)
Query the list of all logical volume groups. |
source code
|
|
|
perspective_node_demote_from_mc(params)
Demote a node from the master candidate role. |
source code
|
|
|
perspective_node_powercycle(params)
Tries to powercycle the nod. |
source code
|
|
|
perspective_version(params)
Query version information. |
source code
|
|
|
|
|
perspective_master_info(params)
Query master information. |
source code
|
|
|
perspective_run_oob(params)
Runs oob on node. |
source code
|
|
|
perspective_write_ssconf_files(params)
Write ssconf files. |
source code
|
|
|
perspective_os_diagnose(params)
Query detailed information about existing OSes. |
source code
|
|
|
perspective_os_get(params)
Query information about a given OS. |
source code
|
|
|
perspective_os_validate(params)
Run a given OS' validation routine. |
source code
|
|
|
perspective_hooks_runner(params)
Run hook scripts. |
source code
|
|
|
perspective_iallocator_runner(params)
Run an iallocator script. |
source code
|
|
|
perspective_test_delay(params)
Run test delay. |
source code
|
|
|
perspective_file_storage_dir_create(params)
Create the file storage directory. |
source code
|
|
|
perspective_file_storage_dir_remove(params)
Remove the file storage directory. |
source code
|
|
|
perspective_file_storage_dir_rename(params)
Rename the file storage directory. |
source code
|
|
|
|
|
|
|
|
|
perspective_hypervisor_validate_params(params)
Validate the hypervisor parameters. |
source code
|
|
|
perspective_x509_cert_create(params)
Creates a new X509 certificate for SSL/TLS. |
source code
|
|
|
perspective_x509_cert_remove(params)
Removes a X509 certificate. |
source code
|
|
|
perspective_import_start(params)
Starts an import daemon. |
source code
|
|
|
perspective_export_start(params)
Starts an export daemon. |
source code
|
|
|
perspective_impexp_status(params)
Retrieves the status of an import or export daemon. |
source code
|
|
|
perspective_impexp_abort(params)
Aborts an import or export. |
source code
|
|
|
perspective_impexp_cleanup(params)
Cleans up after an import or export. |
source code
|
|