Previous topic

The nova.virt.xenapi.network_utils Module

Next topic

The nova.virt.xenapi.vif Module

This Page

Psst... hey. You're reading the latest content, but it might be out of sync with code. You can read Nova 2011.2 docs or all OpenStack docs too.

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.

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’.