Package VMBuilder :: Package plugins :: Class Plugin
[frames] | no frames]

Class Plugin

source code

object --+
         |
        Plugin
Known Subclasses:

Instance Methods
 
__init__(self, vm)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code
 
deploy(self)
Perform deployment of the VM.
source code
 
install_from_template(self, path, tmplname, context=None, mode=None) source code
 
post_install(self)
This is called just after the distro is installed, before it gets copied to the fs images.
source code
 
preflight_check(self)
Override this method with checks for anything that might cause the VM creation to fail
source code
 
register_options(self) source code
 
set_defaults(self) source code

Inherited from object: __delattr__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __str__

Properties

Inherited from object: __class__

Method Details

__init__(self, vm)
(Constructor)

source code 

x.__init__(...) initializes x; see x.__class__.__doc__ for signature

Overrides: object.__init__
(inherited documentation)

deploy(self)

source code 

Perform deployment of the VM.

If True is returned, no further deployment will be done.

preflight_check(self)

source code 

Override this method with checks for anything that might cause the VM creation to fail

raise an exception if you can see already that this won't work