tests.vm_gen

This MC will create an arbitrary number of Ubuntu2204Server 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.

Note

The VMs will not be connected in any way.

Attribute Provides:
  • topology

Attribute Depends:
  • graph

Model Component Dependencies:

Plugin

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

Bases: AbstractPlugin

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

__annotations__ = {}
run(size='1')[source]

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

Parameters:

size (str) – The number of VMs to create.