windowstests.domain

This Model Component contains a simple plugin that creates a Domain Controller and a specified number of hosts, all connected by a single switch The Domain Controller is a WindowsServer2008R2 VM. The hosts are Windows7Enterprise VMs. All VMs in this topology will have IP addresses in the 192.168.150.0/24 space.

Attribute Depends:
  • graph

Attribute Provides:
  • topology

Model Component Dependencies:

Plugin

class windowstests.domain_plugin.WindowsDomain(graph, log)[source]

Bases: AbstractPlugin

Creates a topology with a Domain Controller and a given number of Windows hosts.

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

Create the topology

Parameters:

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