Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
50 lines (33 sloc) 1.05 KB
# Copyright 2007 Google Inc. Released under the GPL v2
This module defines the Hypervisor class
Hypervisor: a virtual machine monitor
__author__ = """ (Martin J. Bligh), (Benjamin Poirier), (Ryan Stutsman)
import installable_object
class Hypervisor(installable_object.InstallableObject):
This class represents a virtual machine monitor.
Implementation details:
This is an abstract class, leaf subclasses must implement the methods
listed here and in parent classes which have no implementation. They
may reimplement methods which already have an implementation. You
must not instantiate this class but should instantiate one of those
leaf subclasses.
host = None
guests = None
def __init__(self, host):
super(Hypervisor, self).__init__() host
def new_guest(self):
def delete_guest(self, guest_hostname):
def reset_guest(self, guest_hostname):