The nova.virt.baremetal.driver Module

A driver for Bare-metal platform.

class BareMetalDriver(virtapi, read_only=False)

Bases: nova.virt.driver.ComputeDriver

BareMetal hypervisor driver.

attach_volume(connection_info, instance, mountpoint)
capabilities = {'has_imagecache': True}
destroy(instance, network_info, block_device_info=None)
detach_volume(connection_info, instance_name, mountpoint)
ensure_filtering_rules_for_instance(instance_ref, network_info)
get_available_nodes()
get_available_resource(nodename)
get_console_output(instance)
get_host_stats(refresh=False)
get_hypervisor_type()
get_hypervisor_version()
get_info(instance)
get_volume_connector(instance)
init_host(host)
classmethod instance()
legacy_nwinfo()
list_instances()
macs_for_instance(instance)
manage_image_cache(context, all_instances)

Manage the local cache of images.

plug_vifs(instance, network_info)

Plugin VIFs into networks.

power_off(instance, node=None)

Power off the specified instance.

power_on(context, instance, network_info, block_device_info=None, node=None)

Power on the specified instance.

reboot(context, instance, network_info, reboot_type, block_device_info=None, bad_volumes_callback=None)
refresh_instance_security_rules(instance)
refresh_provider_fw_rules()
refresh_security_group_members(security_group_id)
refresh_security_group_rules(security_group_id)
spawn(context, instance, image_meta, injected_files, admin_password, network_info=None, block_device_info=None)
unfilter_instance(instance_ref, network_info)
get_power_manager(**kwargs)

Previous topic

The nova.virt.baremetal.db.sqlalchemy.session Module

Next topic

The nova.virt.baremetal.fake Module

This Page