SchedulerHints Class |
These may be used by the scheduler to determine how and where the server instance is created.
Custom hints can be set via the Add(String, Object) method.
Namespace: OpenStack.Compute.v2_1
The SchedulerHints type exposes the following members.
Name | Description | |
---|---|---|
SchedulerHints | Initializes a new instance of the SchedulerHints class |
Name | Description | |
---|---|---|
BuildNearHostIP |
Schedules the instance based on host IP subnet range. Specifies the CIDR that corresponds to the subnet.
Must also specify BuildNearHostIP. | |
CIDR |
Schedules the instance based on host IP subnet range. Specifies the first IP address in the subnet.
Must also specify BuildNearHostIP. | |
Data |
Specifies additional custom hints to pass to the scheduler.
Use the Add(String, Object) method instead of accessing this property directly. | |
DifferentHost |
Schedules the instance on a different host from a set of instances.
| |
Query |
Specifies a custom filter by passing a scheduler hint in JSON format.
| |
SameHost |
Schedules the instance on the same host as another instance in a set of instances.
|