This Page

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

The nova.scheduler.zone_manager Module

ZoneManager oversees all communications with child Zones.

class nova.scheduler.zone_manager.ZoneManager

Bases: object

Keeps the zone states updated.

get_zone_capabilities(context, service=None)

Roll up all the individual host info to generic ‘service’ capabilities. Each capability is aggregated into <cap>_min and <cap>_max values.

get_zone_list()

Return the list of zones we know about.

ping(context=None)

Ping should be called periodically to update zone status.

update_service_capabilities(service_name, host, capabilities)

Update the per-service capabilities based on this notification.

class nova.scheduler.zone_manager.ZoneState

Bases: object

Holds the state of all connected child zones.

log_error(exception)

Something went wrong. Check to see if zone should be marked as offline.

to_dict()
update_credentials(zone)

Update zone credentials from db

update_metadata(zone_metadata)

Update zone metadata after successful communications with child zone.