Move Virt Drivers to use Objects (Juno Work) (partial)

Registered by Dan Smith on 2014-03-04

Continuance of the work done in icehouse to move all virt drivers to using objects:

https://blueprints.launchpad.net/nova/+spec/virt-objects

Blueprint information

Status:
Complete
Approver:
John Garbutt
Priority:
High
Drafter:
Dan Smith
Direction:
Approved
Assignee:
Dan Smith
Definition:
Approved
Series goal:
Accepted for juno
Implementation:
Implemented
Milestone target:
milestone icon 2014.2
Started by
John Garbutt on 2014-05-08
Completed by
John Garbutt on 2014-09-01

Related branches

Sprints

Whiteboard

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

Addressed by: https://review.openstack.org/86055
    Propose Virt driver Objects Support

Not sure what milestone you are targeting here? I guess it could take time to get it all finished off? --johnthetubaguy

Addressed by: https://review.openstack.org/91065
    Remove use of service_* conductor calls from xenapi host.py

Addressed by: https://review.openstack.org/91135
    Add create() method to InstanceFault object

Addressed by: https://review.openstack.org/91136
    Remove conductor usage from add_instance_fault_from_exc()

Addressed by: https://review.openstack.org/91137
    Deprecate instance_fault_create() from conductor

Addressed by: https://review.openstack.org/92407
    Make xenapi agent code use Instance object for updates

Addressed by: https://review.openstack.org/92411
    Make vmwareapi/vmops use Instance object for updates

Addressed by: https://review.openstack.org/92417
    Convert xenapi/vmops uses of instance_update to objects

Addressed by: https://review.openstack.org/92424
    Make libvirt driver use instance object for updates

Addressed by: https://review.openstack.org/92425
    Make baremetal driver use Instance object for updates

Addressed by: https://review.openstack.org/92430
    Remove unused instance_update() method from virtapi

Seems to have started, put it in ongoing for now, please choose milestone, but I have approved this. --johnthetubaguy (8th May 2014)

Addressed by: https://review.openstack.org/94477
    Make cells manager use instance object

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

Addressed by: https://review.openstack.org/101960
    Add Agent object

Addressed by: https://review.openstack.org/101961
    Object-ify xenapi driver use of VirtAPI.agent_build_get_by_triple()

There are no more outstanding patches on https://review.openstack.org/#q,topic:bp/virt-objects-juno,n,z so I am marking this as complete, for juno at least.

(?)

Work Items

Work items:
attach_volume: TODO
check_can_live_migrate_destination: TODO
check_can_live_migrate_source: TODO
check_instance_shared_storage_local: TODO
cleanup: TODO
default_device_names_for_instance: TODO
default_root_device_name: TODO
destroy: TODO
detach_volume: TODO
dhcp_options_for_instance: TODO
ensure_filtering_rules_for_instance: TODO
get_diagnostics: TODO
get_info: TODO
get_volume_connector: TODO
inject_file: TODO
inject_network_info: TODO
live_migration: TODO
macs_for_instance: TODO
post_live_migration: TODO
pre_live_migration: TODO
refresh_instance_security_rules: TODO
reset_network: TODO
rollback_live_migration_at_destination: TODO
unfilter_instance: TODO
unplug_vifs: TODO

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.