Hyper-V support for Hyper-V 2012 R2
The Nova Hyper-V driver uses the WMI API to execute most OS actions.
Starting from Windows Server 2008 and up to Windows Server 2008 R2 the namespace used for hypervisor management was "root\virtualiz
Features introduced with Windows Server 2012 (e.g. live migration, VHDX, replica) are supported on the V2 namespace only.
The Hyper-V Nova compute driver has been refactored in the Grizzly timeframe in order to avoid any coupling between the operations "ops" classes and the "utils" classes, the latter providing the interaction with the OS.
The object of this blueprint is to add utils classes implementing the V2 namespace without impacting on the ops classes. This will be accomplished by adding an abstract base class for each utils class, providing the current V1 implementations along with a V2 versions. Factory methods will instantiate the proper class at run time based on the OS version (OS <= 2008 R2: V1, OS >= 2012: V2).
Note: "livemigrationu
Blueprint information
- Status:
- Complete
- Approver:
- Russell Bryant
- Priority:
- Low
- Drafter:
- Alessandro Pilotti
- Direction:
- Approved
- Assignee:
- Alessandro Pilotti
- Definition:
- Approved
- Series goal:
- Accepted for havana
- Implementation:
- Implemented
- Milestone target:
- 2013.2
- Started by
- Alessandro Pilotti
- Completed by
- Alessandro Pilotti
Related branches
Related bugs
Sprints
Whiteboard
Am I correct in saying that this blueprint does not cover adding additional functionality provided by the v2 API? Just adding support for using the v2 API for what's there now? --russellb
It provides an alternative V2 implementation for the utils classes and factories to instantiate the correct one based on the platform. Dependent blueprints (e.g. VHDX) cannot be based on the V1 APIs. Furthermore V1 "might" not be supported at all in future Hyper-V releases.
Gerrit topic: https:/
Addressed by: https:/
Adds support for Hyper-V WMI V2 namespace
Addressed by: https:/
Fixes Hyper-V issues on versions prior to 2012
Addressed by: https:/
Adds factory methods to load Hyper-V utils classes
Addressed by: https:/
Hyper-V vmutils refactoring
Gerrit topic: https:/
Addressed by: https:/
Adds additional Hyper-V driver unit tests
Addressed by: https:/
dds additional Hyper-V driver unit tests
Addressed by: https:/
Adds additional Hyper-V driver unit tests
Work Items
Dependency tree
* Blueprints in grey have been implemented.