Scheduler Service
Bases: nova.manager.Manager
Chooses a host to run instances on.
Get a list of hosts from the ZoneManager.
Ask the driver how requests should be made of it.
Get the normalized set of capabilites for this zone.
Get a list of zones from the ZoneManager.
Poll child zones periodically to get status.
Select a list of hosts best matching the provided specs.
Shows the physical/usage resource given by hosts.
Parameters: |
|
---|---|
Returns: | example format is below. {‘resource’:D, ‘usage’:{proj_id1:D, proj_id2:D}} D: {‘vcpus’: 3, ‘memory_mb’: 2048, ‘local_gb’: 2048,
|
Process a capability update from a service node.