Undocumented
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 |
Wrapper for RPC call 'accept_instance'
Prepare a node to accept an instance
Parameters | |
node:string | Node name |
instance | Instance object |
info | Result for the call_migration_info call |
target | Target hostname (usually an IP address) |
_def | Undocumented |
Note | |
This is a single-node call with a timeout of 15m 0s |
Wrapper for RPC call 'all_instances_info'
Returns information about all instances on the given nodes
Parameters | |
node | List of node names |
hypervisor | Hypervisors to query for instances |
all | Dictionary mapping hypervisor names to hvparams |
_def | Undocumented |
Note | |
This is a multi-node call with a timeout of 1m 0s |
Wrapper for RPC call 'bdev_sizes'
Gets the sizes of requested block devices present on a node
Parameters | |
node | List of node names |
devices | Undocumented |
_def | Undocumented |
Note | |
This is a multi-node call with a timeout of 1m 0s |
Wrapper for RPC call 'blockdev_addchildren'
Request adding a list of children to a (mirroring) device
Parameters | |
node:string | Node name |
bdev | Undocumented |
ndevs | Undocumented |
_def | Undocumented |
Note | |
This is a single-node call with a timeout of 15m 0s |
Wrapper for RPC call 'blockdev_assemble'
Request assembling of a given block device
Parameters | |
node:string | Node name |
disk | Undocumented |
instance | Undocumented |
on | Undocumented |
idx | Undocumented |
_def | Undocumented |
Note | |
This is a single-node call with a timeout of 15m 0s |
Wrapper for RPC call 'blockdev_close'
Closes the given block devices
Parameters | |
node:string | Node name |
instance | Undocumented |
disks | Undocumented |
_def | Undocumented |
Note | |
This is a single-node call with a timeout of 15m 0s |
Wrapper for RPC call 'blockdev_convert'
Request the copy of the source block device to the destination one
Parameters | |
node:string | Node name |
bdev | Undocumented |
bdev | Undocumented |
_def | Undocumented |
Note | |
This is a single-node call with a timeout of 1h 0m 0s |
Wrapper for RPC call 'blockdev_create'
Request creation of a given block device
Parameters | |
node:string | Node name |
bdev | Undocumented |
size | Undocumented |
owner | Undocumented |
on | Undocumented |
info | Undocumented |
exclusive | Undocumented |
_def | Undocumented |
Note | |
This is a single-node call with a timeout of 15m 0s |
Wrapper for RPC call 'blockdev_find'
Request identification of a given block device
Parameters | |
node:string | Node name |
disk | Undocumented |
_def | Undocumented |
Note | |
This is a single-node call with a timeout of 15m 0s |
Wrapper for RPC call 'blockdev_getdimensions'
Returns size and spindles of the given disks
Parameters | |
node:string | Node name |
disks | Undocumented |
_def | Undocumented |
Note | |
This is a single-node call with a timeout of 15m 0s |
Wrapper for RPC call 'blockdev_getmirrorstatus'
Request status of a (mirroring) device
Parameters | |
node:string | Node name |
disks | Undocumented |
_def | Undocumented |
Note | |
This is a single-node call with a timeout of 15m 0s |
Wrapper for RPC call 'blockdev_getmirrorstatus_multi'
Request status of (mirroring) devices from multiple nodes
Parameters | |
node | List of node names |
node | Undocumented |
_def | Undocumented |
Note | |
This is a multi-node call with a timeout of 15m 0s |
Wrapper for RPC call 'blockdev_grow'
Request growing of the given block device by a given amount
Parameters | |
node:string | Node name |
cf | Undocumented |
amount | Undocumented |
dryrun | Undocumented |
backingstore | Undocumented |
es | Undocumented |
_def | Undocumented |
Note | |
This is a single-node call with a timeout of 15m 0s |
Wrapper for RPC call 'blockdev_image'
Request to dump an image with given size onto a block device
Parameters | |
node:string | Node name |
bdev | Undocumented |
image | Undocumented |
size | Undocumented |
_def | Undocumented |
Note | |
This is a single-node call with a timeout of 1h 0m 0s |
Wrapper for RPC call 'blockdev_open'
Opens the given block devices in required mode
Parameters | |
node:string | Node name |
instance | Undocumented |
disks | Undocumented |
exclusive | Undocumented |
_def | Undocumented |
Note | |
This is a single-node call with a timeout of 15m 0s |
Wrapper for RPC call 'blockdev_pause_resume_sync'
Request a pause/resume of given block device
Parameters | |
node:string | Node name |
disks | Undocumented |
pause | Undocumented |
_def | Undocumented |
Note | |
This is a single-node call with a timeout of 15m 0s |
Wrapper for RPC call 'blockdev_remove'
Request removal of a given block device
Parameters | |
node:string | Node name |
bdev | Undocumented |
_def | Undocumented |
Note | |
This is a single-node call with a timeout of 15m 0s |
Wrapper for RPC call 'blockdev_removechildren'
Request removing a list of children from a (mirroring) device
Parameters | |
node:string | Node name |
bdev | Undocumented |
ndevs | Undocumented |
_def | Undocumented |
Note | |
This is a single-node call with a timeout of 15m 0s |
Wrapper for RPC call 'blockdev_rename'
Request rename of the given block devices
Parameters | |
node:string | Node name |
devlist | Undocumented |
_def | Undocumented |
Note | |
This is a single-node call with a timeout of 15m 0s |
Wrapper for RPC call 'blockdev_setinfo'
Sets metadata information on a given block device
Parameters | |
node:string | Node name |
disk | Undocumented |
info | Undocumented |
_def | Undocumented |
Note | |
This is a single-node call with a timeout of 15m 0s |
Wrapper for RPC call 'blockdev_shutdown'
Request shutdown of a given block device
Parameters | |
node:string | Node name |
disk | Undocumented |
_def | Undocumented |
Note | |
This is a single-node call with a timeout of 15m 0s |
Wrapper for RPC call 'blockdev_snapshot'
Export a given disk to another node
Parameters | |
node:string | Node name |
cf | Undocumented |
snap | Undocumented |
snap | Undocumented |
_def | Undocumented |
Note | |
This is a single-node call with a timeout of 15m 0s |
Wrapper for RPC call 'blockdev_wipe'
Request wipe at given offset with given size of a block device
Parameters | |
node:string | Node name |
bdev | Undocumented |
offset | Undocumented |
size | Undocumented |
_def | Undocumented |
Note | |
This is a single-node call with a timeout of 1h 0m 0s |
Wrapper for RPC call 'bridges_exist'
Checks if a node has all the bridges given
Parameters | |
node:string | Node name |
bridges | Bridges which must be present on remote node |
_def | Undocumented |
Note | |
This is a single-node call with a timeout of 1m 0s |
Wrapper for RPC call 'drbd_attach_net'
Connects the given DRBD devices
Parameters | |
node | List of node names |
disks | Undocumented |
multimaster | Undocumented |
_def | Undocumented |
Note | |
This is a multi-node call with a timeout of 15m 0s |
Wrapper for RPC call 'drbd_disconnect_net'
Disconnects the network of the given drbd devices
Parameters | |
node | List of node names |
disks | Undocumented |
_def | Undocumented |
Note | |
This is a multi-node call with a timeout of 15m 0s |
Wrapper for RPC call 'drbd_helper'
Gets DRBD helper
Parameters | |
node | List of node names |
_def | Undocumented |
Note | |
This is a multi-node call with a timeout of 1m 0s |
Wrapper for RPC call 'drbd_needs_activation'
Returns the drbd disks which need activation
Parameters | |
node:string | Node name |
disks | Undocumented |
_def | Undocumented |
Note | |
This is a single-node call with a timeout of 15m 0s |
Wrapper for RPC call 'drbd_wait_sync'
Waits for the synchronization of drbd devices is complete
Parameters | |
node | List of node names |
disks | Undocumented |
_def | Undocumented |
Note | |
This is a multi-node call with a timeout of 1h 0m 0s |
Wrapper for RPC call 'etc_hosts_modify'
Modify hosts file with name
Parameters | |
node:string | Node name |
mode | Mode to operate; currently constants.ETC_HOSTS_ADD or constants.ETC_HOSTS_REMOVE |
name | Hostname to be modified |
ip | IP address (constants.ETC_HOSTS_ADD only) |
_def | Undocumented |
Note | |
This is a single-node call with a timeout of 15m 0s |
Wrapper for RPC call 'export_info'
Queries the export information in a given path
Parameters | |
node:string | Node name |
path | Undocumented |
_def | Undocumented |
Note | |
This is a single-node call with a timeout of 5m 0s |
Wrapper for RPC call 'export_list'
Gets the stored exports list
Parameters | |
node | List of node names |
_def | Undocumented |
Note | |
This is a multi-node call with a timeout of 5m 0s |
Wrapper for RPC call 'export_remove'
Requests removal of a given export
Parameters | |
node:string | Node name |
export | Undocumented |
_def | Undocumented |
Note | |
This is a single-node call with a timeout of 5m 0s |
Wrapper for RPC call 'export_start'
Starts an export daemon
Parameters | |
node:string | Node name |
opts | Undocumented |
host | Undocumented |
port | Undocumented |
instance | Undocumented |
component | Undocumented |
source | Export source |
_def | Undocumented |
Note | |
This is a single-node call with a timeout of 15m 0s |
Wrapper for RPC call 'extstorage_diagnose'
Request a diagnose of ExtStorage Providers
Parameters | |
node | List of node names |
_def | Undocumented |
Note | |
This is a multi-node call with a timeout of 5m 0s |
Wrapper for RPC call 'file_storage_dir_create'
Create the given file storage directory
Parameters | |
node:string | Node name |
file | File storage directory |
_def | Undocumented |
Note | |
This is a single-node call with a timeout of 5m 0s |
Wrapper for RPC call 'file_storage_dir_remove'
Remove the given file storage directory
Parameters | |
node:string | Node name |
file | File storage directory |
_def | Undocumented |
Note | |
This is a single-node call with a timeout of 5m 0s |
Wrapper for RPC call 'file_storage_dir_rename'
Rename file storage directory
Parameters | |
node:string | Node name |
old | Old name |
new | New name |
_def | Undocumented |
Note | |
This is a single-node call with a timeout of 5m 0s |
Wrapper for RPC call 'finalize_export'
Request the completion of an export operation
Parameters | |
node:string | Node name |
instance | Undocumented |
snap | Undocumented |
_def | Undocumented |
Note | |
This is a single-node call with a timeout of 15m 0s |
Wrapper for RPC call 'get_file_info'
Checks if a file exists and reports on it
Parameters | |
node:string | Node name |
file | Undocumented |
_def | Undocumented |
Note | |
This is a single-node call with a timeout of 5m 0s |
Wrapper for RPC call 'get_watcher_pause'
Get watcher pause end
Parameters | |
node:string | Node name |
_def | Undocumented |
Note | |
This is a single-node call with a timeout of 1m 0s |
Wrapper for RPC call 'hooks_runner'
Call the hooks runner
Parameters | |
node | List of node names |
hpath | Undocumented |
phase | Undocumented |
env | Undocumented |
_def | Undocumented |
Note | |
This is a multi-node call with a timeout of 15m 0s |
Wrapper for RPC call 'hotplug_device'
Hoplug a device to a running instance
Parameters | |
node:string | Node name |
instance | Instance object |
action | Hotplug Action |
dev | Device type |
device | Device dict |
extra | Extra info for device (dev_path for disk) |
seq | Device seq |
_def | Undocumented |
Note | |
This is a single-node call with a timeout of 15m 0s |
Wrapper for RPC call 'hotplug_supported'
Check if hotplug is supported
Parameters | |
node:string | Node name |
instance | Instance object |
_def | Undocumented |
Note | |
This is a single-node call with a timeout of 15m 0s |
Wrapper for RPC call 'hypervisor_validate_params'
Validate hypervisor params
Parameters | |
node | List of node names |
hvname | Hypervisor name |
hvfull | Parameters to be validated |
_def | Undocumented |
Note | |
This is a multi-node call with a timeout of 15m 0s |
Wrapper for RPC call 'iallocator_runner'
Call an iallocator on a remote node
Parameters | |
node:string | Node name |
name | Iallocator name |
idata | JSON-encoded input string |
default | Additional iallocator parameters |
_def | Undocumented |
Note | |
This is a single-node call with a timeout of 15m 0s |
Wrapper for RPC call 'impexp_abort'
Aborts an import or export
Parameters | |
node:string | Node name |
name | Import/export name |
_def | Undocumented |
Note | |
This is a single-node call with a timeout of 15m 0s |
Wrapper for RPC call 'impexp_cleanup'
Cleans up after an import or export
Parameters | |
node:string | Node name |
name | Import/export name |
_def | Undocumented |
Note | |
This is a single-node call with a timeout of 15m 0s |
Wrapper for RPC call 'impexp_status'
Gets the status of an import or export
Parameters | |
node:string | Node name |
names | Import/export names |
_def | Undocumented |
Note | |
This is a single-node call with a timeout of 5m 0s |
Wrapper for RPC call 'import_start'
Starts an import daemon
Parameters | |
node:string | Node name |
opts | Undocumented |
instance | Undocumented |
component | Undocumented |
dest | Import destination |
_def | Undocumented |
Note | |
This is a single-node call with a timeout of 15m 0s |
Wrapper for RPC call 'instance_balloon_memory'
Modify the amount of an instance's runtime memory
Parameters | |
node:string | Node name |
instance | Instance object |
memory | Undocumented |
_def | Undocumented |
Note | |
This is a single-node call with a timeout of 15m 0s |
Wrapper for RPC call 'instance_finalize_migration_dst'
Finalize any target-node migration specific operation
Parameters | |
node:string | Node name |
instance | Instance object |
info | Result for the call_migration_info call |
success | Whether the migration was a success or failure |
_def | Undocumented |
Note | |
This is a single-node call with a timeout of 15m 0s |
Wrapper for RPC call 'instance_finalize_migration_src'
Finalize the instance migration on the source node
Parameters | |
node:string | Node name |
instance | Instance object |
success | Whether the migration succeeded or not |
live | Whether the user requested a live migration or not |
_def | Undocumented |
Note | |
This is a single-node call with a timeout of 1h 0m 0s |
Wrapper for RPC call 'instance_get_migration_status'
Report migration status
Parameters | |
node:string | Node name |
instance | Instance object |
_def | Undocumented |
Note | |
This is a single-node call with a timeout of 1h 0m 0s |
Wrapper for RPC call 'instance_info'
Returns information about a single instance
Parameters | |
node:string | Node name |
instance | Instance name |
hname | Hypervisor type |
hvparams | Hypervisor parameters |
_def | Undocumented |
Note | |
This is a single-node call with a timeout of 1m 0s |
Wrapper for RPC call 'instance_list'
Returns the list of running instances on the given nodes
Parameters | |
node | List of node names |
hypervisor | Hypervisors to query for instances |
hvparams | Hvparams of all hypervisors |
_def | Undocumented |
Note | |
This is a multi-node call with a timeout of 1m 0s |
Wrapper for RPC call 'instance_metadata_modify'
Modify instance metadata
Parameters | |
node:string | Node name |
instance | Instance object |
_def | Undocumented |
Note | |
This is a single-node call with a timeout of 1m 0s |
Wrapper for RPC call 'instance_migratable'
Checks whether the given instance can be migrated
Parameters | |
node:string | Node name |
instance | Instance object |
_def | Undocumented |
Note | |
This is a single-node call with a timeout of 15m 0s |
Wrapper for RPC call 'instance_migrate'
Migrate an instance
Parameters | |
node:string | Node name |
cluster | Cluster name |
instance | Instance object |
target | Target node name |
live | Whether the migration should be done live or not |
_def | Undocumented |
Note | |
This is a single-node call with a timeout of 1h 0m 0s |
Wrapper for RPC call 'instance_os_add'
Installs an operative system onto an instance
Parameters | |
node:string | Node name |
instance | Tuple: (target instance, temporary OS parameters overriding configuration) |
reinstall | Whether the instance is being reinstalled |
debug | Debug level for the OS install script to use |
_def | Undocumented |
Note | |
This is a single-node call with a timeout of 1d 0h 0m 0s |
Wrapper for RPC call 'instance_reboot'
Returns the list of running instances on the given nodes
Parameters | |
node:string | Node name |
inst | Instance object |
reboot | Undocumented |
shutdown | Undocumented |
reason | The reason for the reboot |
_def | Undocumented |
Note | |
This is a single-node call with a timeout of 15m 0s |
Wrapper for RPC call 'instance_run_rename'
Run the OS rename script for an instance
Parameters | |
node:string | Node name |
instance | Instance object |
old | Undocumented |
debug | Undocumented |
_def | Undocumented |
Note | |
This is a single-node call with a timeout of 1h 0m 0s |
Wrapper for RPC call 'instance_shutdown'
Stops an instance
Parameters | |
node:string | Node name |
instance | Instance object |
timeout | Undocumented |
reason | The reason for the shutdown |
_def | Undocumented |
Note | |
This is a single-node call with a timeout of 15m 0s |
Wrapper for RPC call 'instance_start'
Starts an instance
Parameters | |
node:string | Node name |
instance | Undocumented |
startup | Undocumented |
reason | The reason for the startup |
_def | Undocumented |
Note | |
This is a single-node call with a timeout of 15m 0s |
Wrapper for RPC call 'lv_list'
Gets the logical volumes present in a given volume group
Parameters | |
node | List of node names |
vg | Undocumented |
_def | Undocumented |
Note | |
This is a multi-node call with a timeout of 1m 0s |
Wrapper for RPC call 'migration_info'
Gather the information necessary to prepare an instance migration
Parameters | |
node:string | Node name |
instance | Instance object |
_def | Undocumented |
Note | |
This is a single-node call with a timeout of 15m 0s |
Wrapper for RPC call 'node_configure_ovs'
This will create and setup the OpenvSwitch
Parameters | |
node:string | Node name |
ovs | Name of the OpenvSwitch to create |
ovs | Link of the OpenvSwitch to the outside |
_def | Undocumented |
Note | |
This is a single-node call with a timeout of 15m 0s |
Wrapper for RPC call 'node_crypto_tokens'
Handle crypto tokens of the node.
Parameters | |
node:string | Node name |
token | List of tuples of requested crypto token types, actions |
_def | Undocumented |
Note | |
This is a single-node call with a timeout of 1h 0m 0s |
Wrapper for RPC call 'node_demote_from_mc'
Demote a node from the master candidate role
Parameters | |
node:string | Node name |
_def | Undocumented |
Note | |
This is a single-node call with a timeout of 5m 0s |
Wrapper for RPC call 'node_ensure_daemon'
Ensure daemon is running on the node.
Parameters | |
node | List of node names |
daemon | Daemon name |
run | Whether the daemon should be running or stopped |
_def | Undocumented |
Note | |
This is a multi-node call with a timeout of 1m 0s |
Wrapper for RPC call 'node_has_ip_address'
Checks if a node has the given IP address
Parameters | |
node:string | Node name |
address | IP address |
_def | Undocumented |
Note | |
This is a single-node call with a timeout of 5m 0s |
Wrapper for RPC call 'node_info'
Return node information
Parameters | |
node | List of node names |
storage | List of tuples '<storage_type>,<key>,[<param>]' to ask for disk space information; the parameter list varies depending on the storage_type |
hv | List of hypervisor specification (name, hvparams) to ask for node information |
_def | Undocumented |
Note | |
This is a multi-node call with a timeout of 1m 0s |
Wrapper for RPC call 'node_powercycle'
Tries to powercycle a node
Parameters | |
node:string | Node name |
hypervisor | Hypervisor type |
hvparams | Hypervisor parameters |
_def | Undocumented |
Note | |
This is a single-node call with a timeout of 15m 0s |
Wrapper for RPC call 'node_ssh_key_add'
Distribute a new node's public SSH key on the cluster.
Parameters | |
node | List of node names |
node | UUID of the node whose key is distributed |
node | Name of the node whose key is distributed |
potential | Potential master candidates |
to | Whether the node's key should be added to all nodes' 'authorized_keys' file |
to | Whether the node's key should be added to all nodes' public key file |
get | Whether the node should get the other nodes' public keys |
_def | Undocumented |
Note | |
This is a multi-node call with a timeout of 5m 0s |
Wrapper for RPC call 'node_ssh_key_remove'
Remove a node's SSH key from the other nodes' key files.
Parameters | |
node | List of node names |
node | UUID of the node whose key is removed |
node | Name of the node whose key is removed |
master | List of UUIDs of master candidates. |
potential | Potential master candidates |
from | If the key should be removed from the 'authorized_keys' file. |
from | If the key should be removed from the public key file. |
clear | If the 'authorized_keys' file of the node should be cleared. |
clear | If the 'ganeti_pub_keys' file of the node should be cleared. |
readd | Whether this is a readd operation. |
_def | Undocumented |
Note | |
This is a multi-node call with a timeout of 5m 0s |
Wrapper for RPC call 'node_ssh_keys_renew'
Renew all SSH key pairs of all nodes nodes.
Parameters | |
node | List of node names |
node | UUIDs of the nodes whose key is renewed |
node | Names of the nodes whose key is renewed |
master | List of UUIDs of master candidates. |
potential | Potential master candidates |
old | The type of key previously used |
new | The type of key to generate |
new | The length of the key to generate |
_def | Undocumented |
Note | |
This is a multi-node call with a timeout of 4h 0m 0s |
Wrapper for RPC call 'node_verify'
Request verification of given parameters
Parameters | |
node | List of node names |
checkdict | What to verify |
cluster | Cluster name |
all | Dictionary mapping hypervisor names to hvparams |
_def | Undocumented |
Note | |
This is a multi-node call with a timeout of 15m 0s |
Wrapper for RPC call 'node_volumes'
Gets all volumes on node(s)
Parameters | |
node | List of node names |
_def | Undocumented |
Note | |
This is a multi-node call with a timeout of 5m 0s |
Wrapper for RPC call 'os_diagnose'
Request a diagnose of OS definitions
Parameters | |
node | List of node names |
_def | Undocumented |
Note | |
This is a multi-node call with a timeout of 5m 0s |
Wrapper for RPC call 'os_export'
Export an OS for a given instance
Parameters | |
node:string | Node name |
instance | Undocumented |
override | Undocumented |
_def | Undocumented |
Note | |
This is a single-node call with a timeout of 5m 0s |
Wrapper for RPC call 'os_validate'
Run a validation routine for a given OS
Parameters | |
node | List of node names |
required | Undocumented |
name | Undocumented |
checks | Undocumented |
params | Undocumented |
force | Undocumented |
_def | Undocumented |
Note | |
This is a multi-node call with a timeout of 5m 0s |
Wrapper for RPC call 'restricted_command'
Runs restricted command
Parameters | |
node | List of node names |
cmd | Command name |
_def | Undocumented |
Note | |
This is a multi-node call with a timeout of 1h 0m 0s |
Wrapper for RPC call 'run_oob'
Runs out-of-band command
Parameters | |
node:string | Node name |
oob | Undocumented |
command | Undocumented |
remote | Undocumented |
timeout | Undocumented |
_def | Undocumented |
Note | |
This is a single-node call with a timeout of 15m 0s |
Wrapper for RPC call 'set_watcher_pause'
Set watcher pause end
Parameters | |
node | List of node names |
until | Undocumented |
_def | Undocumented |
Note | |
This is a multi-node call with a timeout of 1m 0s |
Wrapper for RPC call 'storage_execute'
Executes an operation on a storage unit
Parameters | |
node:string | Node name |
su | Undocumented |
su | Undocumented |
name | Undocumented |
op | Undocumented |
_def | Undocumented |
Note | |
This is a single-node call with a timeout of 15m 0s |
Wrapper for RPC call 'storage_list'
Get list of storage units
Parameters | |
node | List of node names |
su | Undocumented |
su | Undocumented |
name | Undocumented |
fields | Undocumented |
_def | Undocumented |
Note | |
This is a multi-node call with a timeout of 15m 0s |
Wrapper for RPC call 'storage_modify'
Modify a storage unit
Parameters | |
node:string | Node name |
su | Undocumented |
su | Undocumented |
name | Undocumented |
changes | Undocumented |
_def | Undocumented |
Note | |
This is a single-node call with a timeout of 15m 0s |
Wrapper for RPC call 'test_delay'
Sleep for a fixed time on given node(s)
Parameters | |
node | List of node names |
duration | Undocumented |
_def | Undocumented |
Note | |
This is a multi-node call |
Wrapper for RPC call 'vg_list'
Gets the volume group list
Parameters | |
node | List of node names |
_def | Undocumented |
Note | |
This is a multi-node call with a timeout of 1m 0s |
Wrapper for RPC call 'x509_cert_create'
Creates a new X509 certificate for SSL/TLS
Parameters | |
node:string | Node name |
validity | Validity in seconds |
_def | Undocumented |
Note | |
This is a single-node call with a timeout of 15m 0s |