Structured Object Fields

Registered by Dan Smith

The field specification of NovaObjects is not very well-defined and requires us to spread the serialization logic all over the place. Fields should be objects themselves, which encapsulate coercion and serialization routines.

Blueprint information

Status:
Complete
Approver:
Dan Smith
Priority:
Low
Drafter:
None
Direction:
Approved
Assignee:
Dan Smith
Definition:
Approved
Series goal:
Accepted for icehouse
Implementation:
Implemented
Milestone target:
milestone icon 2014.1
Started by
Dan Smith
Completed by
Dan Smith

Related branches

Sprints

Whiteboard

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

Addressed by: https://review.openstack.org/50707
    Avoid caching quota.QUOTAS in Quotas object

Addressed by: https://review.openstack.org/49618
    Migrate InstanceAction and InstanceActionEvent objects to Fields

Addressed by: https://review.openstack.org/49619
    Migrate InstanceGroup object to Fields

Addressed by: https://review.openstack.org/49616
    Migrate Migration object to Fields

Addressed by: https://review.openstack.org/49617
    Migrate SecurityGroup object to Fields

Addressed by: https://review.openstack.org/49797
    Migrate NovaPersistentObject and ObjectListBase to Fields

Addressed by: https://review.openstack.org/49622
    Migrate Service object to Fields

Addressed by: https://review.openstack.org/49623
    Migrate InstanceFault object to Fields

Addressed by: https://review.openstack.org/49620
    Migrate Quotas object to Fields

Addressed by: https://review.openstack.org/49621
    Migrate ComputeNode object to Fields

Addressed by: https://review.openstack.org/49626
    Migrate Instance object to Fields

Addressed by: https://review.openstack.org/49627
    Make the base object infrastructure use Fields

Addressed by: https://review.openstack.org/49624
    Migrate InstanceInfoCache object to Fields

Addressed by: https://review.openstack.org/49625
    Migrate PciDevice object to Fields

Addressed by: https://review.openstack.org/50184
    Fix conductor's object change detection

Addressed by: https://review.openstack.org/49641
    Remove transitional callable field interface

Addressed by: https://review.openstack.org/49640
    Migrate some tests that were using callable fields

Addressed by: https://review.openstack.org/49615
    Migrate KeyPair object to Fields

Addressed by: https://review.openstack.org/49614
    Migrate Aggregate object to Fields

Addressed by: https://review.openstack.org/49613
    Make field object support transitional call-based interface

Addressed by: https://review.openstack.org/49612
    Add Field model and tests

Addressed by: https://review.openstack.org/50774
    Make a note about Object deepcopy helper

Addressed by: https://review.openstack.org/51076
    Fix conductor's object change detection

Gerrit topic: https://review.openstack.org/#q,topic:bp/compute-manager-objects,n,z

Addressed by: https://review.openstack.org/51748
    Make Object FieldType take an object name instead of a class

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.