Click or drag to resize
SchedulerHints Class
Hints passed to the compute scheduler when creating a server.

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.

Inheritance Hierarchy
SystemObject
  OpenStack.Compute.v2_1SchedulerHints

Namespace: OpenStack.Compute.v2_1
Assembly: openstacknet (in openstacknet.dll) Version: 1.7.7+Branch.master.Sha.25d803f397c8693c2c13777ef6675f796f520f2c
Syntax
public class SchedulerHints : IHaveExtraData

The SchedulerHints type exposes the following members.

Constructors
  NameDescription
Public methodSchedulerHints
Initializes a new instance of the SchedulerHints class
Top
Methods
  NameDescription
Public methodAdd
Adds a custom scheduling hint.
Top
Properties
  NameDescription
Public propertyBuildNearHostIP
Schedules the instance based on host IP subnet range. Specifies the CIDR that corresponds to the subnet.

Must also specify BuildNearHostIP.

Public propertyCIDR
Schedules the instance based on host IP subnet range. Specifies the first IP address in the subnet.

Must also specify BuildNearHostIP.

Public propertyData
Specifies additional custom hints to pass to the scheduler.

Use the Add(String, Object) method instead of accessing this property directly.

Public propertyDifferentHost
Schedules the instance on a different host from a set of instances.
Public propertyQuery
Specifies a custom filter by passing a scheduler hint in JSON format.
Public propertySameHost
Schedules the instance on the same host as another instance in a set of instances.
Top
Version Information

.NET Framework

Supported in: 4.5

openstack.net

Supported in: 1.6
See Also