Jump to: navigation, search

HypervisorSupportMatrix/DriverAPI

The features a hypervisor can/must support are defined at HypervisorSupportMatrix and HypervisorSupportMatrix/Requirements. The functions are defined in the /nova/virt/driver.py module. This page shows the mapping of the features to the functions. This is more interesting for developers who wants to establish a new platform.


Launch
spawn()
Reboot
reboot()
Terminate
destroy()
Resize
Is done via live migration. See /nova/compute/manager.py and functions resize_instance and finish_resize. Uses the *_migration functions in the driver module.
Rescue
rescue()
unrescue()
Pause
pause()
Un-pause
unpause()
Suspend
suspend()
Resume
resume()
Inject Networking
inject_network_info()
Inject File
inject_file()
Serial Console Output
get_console_output()
VNC Console
get_vnc_console()
SPICE Console
get_spice_console()
RDP Console
get_rdp_console()
Attach Volume
attach_volume()
Detach Volume
detach_volume()
Live Migration
check_can_live_migrate_destination()
check_can_live_migrate_destination_cleanup()
check_can_live_migrate_source()
pre_live_migration()
live_migration()
post_live_migration()
post_live_migration_at_source()
post_live_migration_at_destination()
confirm_migration()
finish_migration()
rollback_live_migration_at_destination()
finish_revert_migration()
migrate_disk_and_power_off()
Snapshot
snapshot()
post_interrupted_snapshot_cleanup()
iSCSI
 ??? attach_interface()
 ??? detach_interface()
iSCSI CHAP
 ??? attach_interface()
 ??? detach_interface()
Fibre Channel
 ??? attach_interface()
 ??? detach_interface()
Set Admin Pass
set_admin_password()
Get Guest Info
get_info()
Get Host Info
get_host_cpu_stats()
get_host_uptime()
get_host_ip_addr()
Glance Integration
 ??? unsure. searched for "image_meta". Then it would be spawn(), rebuild(), rescue(), finish_migration(), attach_interface()
Service Control
 ???
VLAN Networking
 ???
Flat Networking
 ???
Security Groups
refresh_security_group_rules()
refresh_security_group_members()
refresh_instance_security_rules()
Firewall Rules
refresh_provider_fw_rules()
ensure_filtering_rules_for_instance()
Routing
 ???
nova diagnostics
get_diagnostics()
get_instance_diagnostics()
Config Drive
 ???
Auto configure disk
 ???
Evacuate
host_maintenance_mode()
Volume swap
swap_volume()
Volume rate limiting
 ??? get_all_bw_counters()