objects: Adds object model for a launch request spec (partially complete)

Registered by Jay Pipes on 2014-10-10

Specification for adding an object model that encapsulates the request to launch one or more instances in the cloud.

Blueprint information

John Garbutt
Jay Pipes
Sylvain Bauza
Series goal:
Accepted for liberty
Milestone target:
milestone icon 12.0.0
Started by
John Garbutt on 2014-12-17
Completed by
John Garbutt on 2015-09-03

Related branches



Gerrit topic: https://review.openstack.org/#q,topic:bp/request-spec-object,n,z

Addressed by: https://review.openstack.org/173316
    Proposes Implements RequestSpec object

- starting back a new whiteboard for Liberty as all the existing patches have been abandoned (sbauza - 2015/04/21)

Addressed by: https://review.openstack.org/76234
    objects: define the ImageMeta & ImageMetaProps objects

Gerrit topic: https://review.openstack.org/#q,topic:bp/soft-affinity-for-server-group,n,z

Addressed by: https://review.openstack.org/148275
    scheduler:refactor group info in filter_properties

Addressed by: https://review.openstack.org/145528
    WIP: Create RequestSpec object

Addressed by: https://review.openstack.org/181085
    objects: add a FlexibleBoolean field type

Addressed by: https://review.openstack.org/181086
    objects: treat EnumField and ListOfEnumField classes as abstract

Gerrit topic: https://review.openstack.org/#q,topic:virtimageprops-7,n,z

Addressed by: https://review.openstack.org/181368
    objects: convert HVSpec to use named enums

Addressed by: https://review.openstack.org/183139
    objects: convert VirtCPUModel to use named enums

Addressed by: https://review.openstack.org/186474
    Add to_dict() to ImageMeta and ImageMetaProps objects

Addressed by: https://review.openstack.org/187197
    Add RequestSpec methods for primitiving into dicts

Addressed by: https://review.openstack.org/188485
    Remove unnecessary method in FilterScheduler

Addressed by: https://review.openstack.org/188486
    Consider that all scheduler calls are IO Ops

Addressed by: https://review.openstack.org/188487
    Use RequestSpec object in the FilterScheduler

Addressed by: https://review.openstack.org/191250
    WIP: Use the same pci_requests field for all filters and HostManager

Addressed by: https://review.openstack.org/191251
    WIP: Use RequestSpec object in HostManager

Addressed by: https://review.openstack.org/197911
    Add two fields to ImageMetaProps object

Addressed by: https://review.openstack.org/197912
    WIP: Modify filters for using RequestSpec object

Addressed by: https://review.openstack.org/199051
    Use RequestSpec in the ChanceScheduler

Addressed by: https://review.openstack.org/199205
    Modify Scheduler RPC API select_dests()

Addressed by: https://review.openstack.org/202673
    Modify Affinity filter for RequestSpec

Addressed by: https://review.openstack.org/202674
    Modify Aggregate filters for RequestSpec

Addressed by: https://review.openstack.org/202675
    Modify default filters for RequestSpec

Addressed by: https://review.openstack.org/202676
    Modify metric-related filters for RequestSpec

Addressed by: https://review.openstack.org/202677
    Modify NUMA, PCI and num_instances filters for RequestSpec

Addressed by: https://review.openstack.org/202678
    Modify left filters for RequestSpec

Addressed by: https://review.openstack.org/203078
    WIP: Modifies conductor to use RequestSpec object

Addressed by: https://review.openstack.org/203594
    Add VersionRange type of field

Addressed by: https://review.openstack.org/203595
    Add a new CIDR type of field

Addressed by: https://review.openstack.org/203596
    Add ListOfUUIDs type of field

Addressed by: https://review.openstack.org/203597
    Add JSONString type of field

Gerrit topic: https://review.openstack.org/#q,topic:bp/persist-request-spec,n,z

Addressed by: https://review.openstack.org/217798
    Remove reservation_id from the logs when a schedule fails

Addressed by: https://review.openstack.org/219182
    Fix RequestSpec.instance_group hydratation


Work Items

Dependency tree

* Blueprints in grey have been implemented.

This blueprint contains Public information 
Everyone can see this information.