The nova.scheduler.ironic_host_manager Module

Ironic host manager.

This host manager will consume all cpu’s, disk space, and ram from a host / node as it is supporting Baremetal hosts, which can not be subdivided into multiple instances.

class IronicHostManager

Bases: nova.scheduler.host_manager.HostManager

Ironic HostManager class.

host_state_cls(host, node, **kwargs)

Factory function/property to create a new HostState.

class IronicNodeState(host, node, compute=None)

Bases: nova.scheduler.host_manager.HostState

Mutable and immutable information tracked for a host. This is an attempt to remove the ad-hoc data structures previously used and lock down access.

consume_from_instance(instance)

Consume nodes entire resources regardless of instance request.

update_from_compute_node(compute)

Update information about a host from a ComputeNode object.

Previous topic

The nova.scheduler.host_manager Module

Next topic

The nova.scheduler.manager Module

Project Source

This Page