The nova.virt.xenapi.pool Module¶
Management class for Pool-related functions (join, eject, etc).
-
class
ResourcePool(session, virtapi)¶ Bases:
objectImplements resource pool operations.
-
add_to_aggregate(context, aggregate, host, slave_info=None)¶ Add a compute host to an aggregate.
-
remove_from_aggregate(context, aggregate, host, slave_info=None)¶ Remove a compute host from an aggregate.
-
undo_aggregate_operation(context, op, aggregate, host, set_error)¶ Undo aggregate operation when pool error raised.
-
-
swap_xapi_host(url, host_addr)¶ Replace the XenServer address present in ‘url’ with ‘host_addr’.