windowstests.vm_gen

This is very similar to tests.vm_gen, but uses Windows hosts instead of Linux. This MC will create an arbitrary number of Windows7Enterprise VMs. The user can pass in the number as the parameter to the Plugin. The new VMs will be give the name server-X where X is an incrementing integer.

Attribute Depends:
  • graph

Attribute Provides:
  • topology

Model Component Dependencies:

Plugin

class windowstests.vm_gen_plugin.VmGen(graph, log)[source]

Bases: AbstractPlugin

This plugin will create as many Windows7Enterprise VMs as the size specifies. The new VMs will be give the name server-X where X is an integer.

__annotate_func__ = None
__annotations_cache__ = {}
__firstlineno__ = 6
__static_attributes__ = ()
run(size='1')[source]

This plugin will create as many Windows7Enterprise VMs as the size specifies.

Parameters:

size (str) – The number of VMs to create. This must be castable to an int.