The nova.virt.xenapi.pool Module

Management class for Pool-related functions (join, eject, etc).

class ResourcePool(session)

Bases: object

Implements resource pool operations.

add_to_aggregate(context, aggregate, host, **kwargs)

Add a compute host to an aggregate.

remove_from_aggregate(context, aggregate, host, **kwargs)

Remove a compute host from an aggregate.

undo_aggregate_operation(context, op, aggregate_id, host, set_error)

Undo aggregate operation when pool error raised

forward_request(context, request_type, master, aggregate_id, slave_compute, slave_address, slave_uuid)

Casts add/remove requests to the pool master.

swap_xapi_host(url, host_addr)

Replace the XenServer address present in ‘url’ with ‘host_addr’.

Previous topic

The nova.virt.xenapi.network_utils Module

Next topic

The nova.virt.xenapi.pool_states Module

This Page