Change in ovirt-hosted-engine-setup[ovirt-hosted-engine-setup-1.0]: Move VM operations into a mixin for reusability

sbonazzo at redhat.com sbonazzo at redhat.com
Fri Jan 31 07:40:32 UTC 2014


Sandro Bonazzola has submitted this change and it was merged.

Change subject: Move VM operations into a mixin for reusability
......................................................................


Move VM operations into a mixin for reusability

The plugin in runvm.py has lots of useful logic for manipulating the
hosted engine VM.  This logic can be very useful to other plugins (eg.
health.py) that may want to offer the user assistance with managing the
VM.  This patch moves the VM logic into a separate class that can be
mixed in with any other plugin which may want the functionality.

Signed-off-by: Adam Litke <alitke at redhat.com>
Related-To: https://bugzilla.redhat.com/1055497
Change-Id: I811f6712cb5c9324c6a3acca0bfc5bc9195b25ef
---
M src/ovirt_hosted_engine_setup/Makefile.am
A src/ovirt_hosted_engine_setup/mixins.py
M src/plugins/ovirt-hosted-engine-setup/vm/runvm.py
3 files changed, 218 insertions(+), 185 deletions(-)

Approvals:
  Sandro Bonazzola: Looks good to me, approved
  Adam Litke: Verified



-- 
To view, visit http://gerrit.ovirt.org/23926
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I811f6712cb5c9324c6a3acca0bfc5bc9195b25ef
Gerrit-PatchSet: 2
Gerrit-Project: ovirt-hosted-engine-setup
Gerrit-Branch: ovirt-hosted-engine-setup-1.0
Gerrit-Owner: Adam Litke <alitke at redhat.com>
Gerrit-Reviewer: Adam Litke <alitke at redhat.com>
Gerrit-Reviewer: Sandro Bonazzola <sbonazzo at redhat.com>
Gerrit-Reviewer: oVirt Jenkins CI Server



More information about the Engine-commits mailing list