Scheduler base class that all Schedulers should inherit from
Bases: object
The base class that all Scheduler classes should inherit from.
Return the list of hosts that have VM’s from the group.
Return the list of hosts that have a running service for topic.
Live migration scheduling method.
Parameters: |
|
---|---|
Returns: | The host where instance is running currently. Then scheduler send request that host. |
Must override schedule_prep_resize method for scheduler to work.
Must override schedule_run_instance method for scheduler to work.
Must override select_hosts method for scheduler to work.
Process a capability update from a service node.
Encode locally created instance for return via RPC.
Clear the host and node - set the scheduled_at field of an Instance.
Returns: | An Instance with the updated fields set properly. |
---|